2014-10-05 53 views
0

我想在kubuntu上安装myGui 3.2.1。然而当链接的文件会出现下列问题:链接boost&mygui 3.2.1未定义符号

/usr/bin/ld: CMakeFiles/Demo_Colour.dir/DemoKeeper.cpp.o: undefined reference to enter code here/usr/bin/ld: CMakeFiles/Demo_Gui.dir/DemoKeeper.cpp.o: undefined reference to symbol '_ZN5boost6system15system_categoryEv' 
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libboost_system.so: error adding symbols: DSO missing from command line 
collect2: error: ld returned 1 exit status 
symbol '_ZN5boost6system15system_categoryEv' 
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libboost_system.so: error adding symbols: DSO missing from command/usr line 
collect2: error: ld returned 1 exit status 
/usr/bin/ld: CMakeFiles/Demo_Controllers.dir/DemoKeeper.cpp.o: undefined reference to symbol '_ZN5boost6system15system_categoryEv' 
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libboost_system.so: error adding symbols: DSO missing from command line 
collect2: error: ld returned 1 exit status 
/bin/ld: CMakeFiles/Demo_Console.dir/DemoKeeper.cpp.o: undefined reference to symbol '_ZN5boost6system15system_categoryEv' 
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libboost_system.so: error adding symbols: DSO missing from command line 

我想有一个与升压连接问题,我找到了一些方法来解决这个问题,但这些解决方案是只为ArchLinux的和我没有工作。无论如何,我已经通过myGui的CMAKE文件,并找不到任何关于提升...

我希望每种形式的帮助!

回答

0

我已经通过myGui的CMake的文件看了看,找不到任何关于升压什么...

你显然需要有恰当的增压库链接。 This answer可能会有所帮助。

+0

谢谢!我已经尝试过,但是CMAKE正在产生问题:无法为目标 “/usr/lib/x86_64-linux-gnu/libboost_filesystem.so”指定链接库,该链接库不是由该项目构建的。 – guppy 2014-10-07 13:29:17

1

此问题已在git存储库中修复。 Boost未在MyGUI中使用,但是当您使用OgrePlatform构建MyGUI时,OGRE需要对其标头进行增强。

相关问题