Quantcast

compiling player-3.0.2 on Ubuntu 12.04 LTS (64 bit)

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

compiling player-3.0.2 on Ubuntu 12.04 LTS (64 bit)

Dr. Kevin Nickels
Hi folks,
 I'm trying to compile and install player on Ubuntu 12.04 (64 bit) and am hitting the errors below.  I think that it might be a 32-bit vs 64-bit issue, since I have done this on the former several times with success.  I do have python-dev installed, I've seen that several places.

Any pointers appreciated.
--kn

> dpkg -l python-dev
ii  python-dev                    2.7.3-0ubuntu2.2              header files and a static library for Python (default)

The compile errors:
[ 18%] Building C object client_libs/libplayerc/bindings/python/CMakeFiles/_playerc.dir/playercPYTHON_wrap.o
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function ‘SWIG_Python_AddErrorMsg’:
/usr/local/src/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]
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function ‘intArray___getitem__’:
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c:3105:70: error: ‘$self’ undeclared (first use in this function)
/usr/local/src/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
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function ‘intArray___setitem__’:
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c:3106:74: error: ‘$self’ undeclared (first use in this function)
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function ‘doubleArray___getitem__’:
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c:3107:79: error: ‘$self’ undeclared (first use in this function)
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function ‘doubleArray___setitem__’:
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c:3108:83: error: ‘$self’ undeclared (first use in this function)
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function ‘floatArray___getitem__’:
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c:3109:76: error: ‘$self’ undeclared (first use in this function)
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function ‘floatArray___setitem__’:
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c:3110:80: error: ‘$self’ undeclared (first use in this function)
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function ‘_wrap_playerc_graphics2d_setcolor’:
/usr/local/src/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]
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function ‘_wrap_playerc_graphics2d_draw_polygon’:
/usr/local/src/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]
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function ‘_wrap_playerc_graphics3d_setcolor’:
/usr/local/src/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]
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function ‘floatArray___getitem__’:
/usr/local/src/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]
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function ‘doubleArray___getitem__’:
/usr/local/src/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]
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function ‘intArray___getitem__’:
/usr/local/src/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

--
Kevin Nickels <[hidden email]>
http://www.trinity.edu/knickels 210-999-7543
Associate Professor, Engineering Science, Trinity University
139 Oakmont Ct (Engineering House), Rm 203, San Antonio TX 78212-7200

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Playerstage-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: compiling player-3.0.2 on Ubuntu 12.04 LTS (64 bit)

Dr. Kevin Nickels
Following up on my own post, in case anyone else sees this error:
* turns out that cmake was finding the swig-1.3.29 that came with ros-groovy and not the swig-2.0 that I wanted it to use.
* I just cleared out the CMakeCache.txt and re-ran cmake, and it somehow found the new swig.  Compiles ok now!
--kn


On Mon, Oct 21, 2013 at 12:21 PM, Dr. Kevin Nickels <[hidden email]> wrote:
Hi folks,
 I'm trying to compile and install player on Ubuntu 12.04 (64 bit) and am hitting the errors below.  I think that it might be a 32-bit vs 64-bit issue, since I have done this on the former several times with success.  I do have python-dev installed, I've seen that several places.

Any pointers appreciated.
--kn

> dpkg -l python-dev
ii  python-dev                    2.7.3-0ubuntu2.2              header files and a static library for Python (default)

The compile errors:
[ 18%] Building C object client_libs/libplayerc/bindings/python/CMakeFiles/_playerc.dir/playercPYTHON_wrap.o
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function ‘SWIG_Python_AddErrorMsg’:
/usr/local/src/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]
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function ‘intArray___getitem__’:
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c:3105:70: error: ‘$self’ undeclared (first use in this function)
/usr/local/src/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
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function ‘intArray___setitem__’:
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c:3106:74: error: ‘$self’ undeclared (first use in this function)
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function ‘doubleArray___getitem__’:
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c:3107:79: error: ‘$self’ undeclared (first use in this function)
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function ‘doubleArray___setitem__’:
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c:3108:83: error: ‘$self’ undeclared (first use in this function)
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function ‘floatArray___getitem__’:
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c:3109:76: error: ‘$self’ undeclared (first use in this function)
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function ‘floatArray___setitem__’:
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c:3110:80: error: ‘$self’ undeclared (first use in this function)
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function ‘_wrap_playerc_graphics2d_setcolor’:
/usr/local/src/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]
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function ‘_wrap_playerc_graphics2d_draw_polygon’:
/usr/local/src/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]
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function ‘_wrap_playerc_graphics3d_setcolor’:
/usr/local/src/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]
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function ‘floatArray___getitem__’:
/usr/local/src/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]
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function ‘doubleArray___getitem__’:
/usr/local/src/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]
/usr/local/src/player-3.0.2/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function ‘intArray___getitem__’:
/usr/local/src/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

--
Kevin Nickels <[hidden email]>
http://www.trinity.edu/knickels 210-999-7543
Associate Professor, Engineering Science, Trinity University
139 Oakmont Ct (Engineering House), Rm 203, San Antonio TX 78212-7200



--
Kevin Nickels <[hidden email]>
http://www.trinity.edu/knickels 210-999-7543
Associate Professor, Engineering Science, Trinity University
139 Oakmont Ct (Engineering House), Rm 203, San Antonio TX 78212-7200

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Playerstage-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: compiling player-3.0.2 on Ubuntu 12.04 LTS (64 bit)

Rich Mattes-2
On 11/03/2013 09:36 PM, Dr. Kevin Nickels wrote:
> Following up on my own post, in case anyone else sees this error:
> * turns out that cmake was finding the swig-1.3.29 that came with
> ros-groovy and not the swig-2.0 that I wanted it to use.
> * I just cleared out the CMakeCache.txt and re-ran cmake, and it
> somehow found the new swig.  Compiles ok now!
> --kn
>

Great, glad you got it figured out.   Thanks for sharing your solution.

Rich

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Playerstage-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: compiling player-3.0.2 on Ubuntu 12.04 LTS (64 bit)

Abhishek Annamraju
In reply to this post by Dr. Kevin Nickels
Hi Everyone,
you can visit the following link to install player/stage,it works for 64-bit 12.04 ubuntu systems

link:http://abhishekannamraju.blogspot.in/ 
Loading...