我想在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文件,並找不到任何關於提升...
我希望每種形式的幫助!
謝謝!我已經嘗試過,但是CMAKE正在產生問題:無法爲目標 「/usr/lib/x86_64-linux-gnu/libboost_filesystem.so」指定鏈接庫,該鏈接庫不是由該項目構建的。 – guppy 2014-10-07 13:29:17