From: Lambert, M. <Jas...@cn...> - 2013-01-22 20:51:21
|
Hello, I'm trying to install Player 3.0.2 in Ubuntu 12.04 and I get the following error while building: [ 14%] Building C object client_libs/libplayerc/bindings/python/CMakeFiles/_playerc.dir/playercPYTHON_wrap.o /home/jml/Soft/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function 'SWIG_Python_AddErrorMsg': /home/jml/Soft/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c:847:5: warning: format not a string literal and no format arguments [-Wformat-security] /home/jml/Soft/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function 'intArray___getitem__': /home/jml/Soft/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c:3105:70: error: '$self' undeclared (first use in this function) /home/jml/Soft/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c:3105:70: note: each undeclared identifier is reported only once for each function it appears in /home/jml/Soft/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function 'intArray___setitem__': /home/jml/Soft/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c:3106:74: error: '$self' undeclared (first use in this function) /home/jml/Soft/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function 'doubleArray___getitem__': /home/jml/Soft/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c:3107:79: error: '$self' undeclared (first use in this function) /home/jml/Soft/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function 'doubleArray___setitem__': /home/jml/Soft/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c:3108:83: error: '$self' undeclared (first use in this function) /home/jml/Soft/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function 'floatArray___getitem__': /home/jml/Soft/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c:3109:76: error: '$self' undeclared (first use in this function) /home/jml/Soft/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function 'floatArray___setitem__': /home/jml/Soft/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c:3110:80: error: '$self' undeclared (first use in this function) /home/jml/Soft/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function '_wrap_playerc_graphics2d_setcolor': /home/jml/Soft/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c:60688:18: warning: variable 'temp2' set but not used [-Wunused-but-set-variable] /home/jml/Soft/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function '_wrap_playerc_graphics2d_draw_polygon': /home/jml/Soft/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c:60877:18: warning: variable 'temp5' set but not used [-Wunused-but-set-variable] /home/jml/Soft/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function '_wrap_playerc_graphics3d_setcolor': /home/jml/Soft/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c:61233:18: warning: variable 'temp2' set but not used [-Wunused-but-set-variable] /home/jml/Soft/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function 'floatArray___getitem__': /home/jml/Soft/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c:3109:1: warning: control reaches end of non-void function [-Wreturn-type] /home/jml/Soft/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function 'doubleArray___getitem__': /home/jml/Soft/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c:3107:1: warning: control reaches end of non-void function [-Wreturn-type] /home/jml/Soft/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function 'intArray___getitem__': /home/jml/Soft/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c:3105:1: warning: control reaches end of non-void function [-Wreturn-type] make[2]: *** [client_libs/libplayerc/bindings/python/CMakeFiles/_playerc.dir/playercPYTHON_wrap.o] Error 1 make[1]: *** [client_libs/libplayerc/bindings/python/CMakeFiles/_playerc.dir/all] Error 2 make: *** [all] Error 2 I had something similar some time ago which was related to python-dev not being installed but now I'm pretty sure I have everything python-wise (v2.7.3) Cheers, JML Jason Michel Lambert Agent de Recherche/Research Officer Centre de Technologies de Fabrication Aérospatiale/ Aerospace Manufacturing Technology Center Conseil National de Recherche du Canada/ National Research Council Canada 5145 Avenue Decelles Campus de l'Université de Montréal Montréal, Quebec, H3T-2B2 Tel: 514-283-9175 Fax: 514-283-9604 <mailto:mic...@nr...> |