Linker error with CEGUISampleFramework-0.8 (version 0.8.7)

Issue #1124 resolved
Ferdinand Thiessen
created an issue

On openSUSE I get an linker error when trying to compile the code. Its related to the Ogre part, it seems the -lOgreMain is missing. I have attached the full log, here is the error:

[ 663s] /usr/lib/gcc/i586-suse-linux/4.8/../../../../i586-suse-linux/bin/ld: CMakeFiles/CEGUISampleFramework-0.8.dir/src/CEGuiOgreBaseApplication.cpp.o: undefined reference to symbol '_ZN4Ogre20ResourceGroupManager27initialiseAllResourceGroupsEv' [ 663s] /usr/lib/gcc/i586-suse-linux/4.8/../../../../i586-suse-linux/bin/ld: note: '_ZN4Ogre20ResourceGroupManager27initialiseAllResourceGroupsEv' is defined in DSO /usr/lib/ so try adding it to the linker command line [ 663s] /usr/lib/ could not read symbols: Invalid operation [ 663s] collect2: error: ld returned 1 exit status

Comments (4)

  1. Log in to comment