Complie wrong according to the wiki tutorials
Posted: Mon Jun 24, 2013 4:50 am
I complied sources in Archlinux, and boost's version is 1.53.0-2.
wiki tutorial link:
http://www.ogre3d.org/tikiwiki/tiki-ind ... ls+-+Linux
Bash output error message:
/usr/bin/ld: OgreApp-BaseApplication.o: undefined reference to symbol '_ZN5boost6system15system_categoryEv'
/usr/bin/ld: note: '_ZN5boost6system15system_categoryEv' is defined in DSO /usr/lib/libboost_system.so.1.53.0 so try adding it to the linker command line
/usr/lib/libboost_system.so.1.53.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[1]: *** [OgreApp] Error 1
make[1]: Leaving directory `/home/sheng/shengEngine'
make: *** [all] Error 2
How to fix it?
wiki tutorial link:
http://www.ogre3d.org/tikiwiki/tiki-ind ... ls+-+Linux
Bash output error message:
/usr/bin/ld: OgreApp-BaseApplication.o: undefined reference to symbol '_ZN5boost6system15system_categoryEv'
/usr/bin/ld: note: '_ZN5boost6system15system_categoryEv' is defined in DSO /usr/lib/libboost_system.so.1.53.0 so try adding it to the linker command line
/usr/lib/libboost_system.so.1.53.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[1]: *** [OgreApp] Error 1
make[1]: Leaving directory `/home/sheng/shengEngine'
make: *** [all] Error 2
How to fix it?