From: Nate K. <nat...@gm...> - 2012-03-13 11:55:56
|
You can try putting the "pkg-config --libs" after the main.o Instead of: g++ `pkg-config --libs playerc++` `pkg-config --libs gtk+-2.0` main.o Robot.o -o robot Do: g++ main.o Robot.o `pkg-config --libs playerc++` `pkg-config --libs gtk+-2.0` -o robot I've found that the version of gcc/ld in Ubuntu 11.10 discards libraries which are not used. In the first version of the g++ call, the linker drops the libplayerc++ and libgtk libraries because no symbols exist for either of these two. -nate On Sun, Mar 11, 2012 at 1:38 PM, Jim Duda <ji...@du...> wrote: > On 03/11/2012 03:03 PM, Richard Vaughan wrote: >> >> Did you remove CMakeCache.txt before re-running cmake on the build? >> >> - rtv >> > > Yes, I removed the entire build directory. > > Thanks, > > Jim > > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Playerstage-users mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-users |