Code: Select all
[100%] Building CXX object apps/openmw/CMakeFiles/openmw.dir/engine.cpp.o
Linking CXX executable ../../openmw
`.text._ZN5boost16exception_detail19error_info_injectorINS_10lock_errorEED2Ev' referenced in section `.text._ZN5boost16exception_detail19error_info_injectorINS_10lock_errorEED1Ev[_ZN5boost16exception_detail19error_info_injectorINS_10lock_errorEED1Ev]' of /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libMyGUI.OgrePlatform.a(MyGUI_OgreDataManager.cpp.o): defined in discarded section `.text._ZN5boost16exception_detail19error_info_injectorINS_10lock_errorEED2Ev[_ZN5boost16exception_detail19error_info_injectorINS_10lock_errorEED5Ev]' of /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libMyGUI.OgrePlatform.a(MyGUI_OgreDataManager.cpp.o)
`.text._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_10lock_errorEEEED2Ev' referenced in section `.text._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_10lock_errorEEEED1Ev[_ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_10lock_errorEEEED1Ev]' of /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libMyGUI.OgrePlatform.a(MyGUI_OgreDataManager.cpp.o): defined in discarded section `.text._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_10lock_errorEEEED2Ev[_ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_10lock_errorEEEED5Ev]' of /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libMyGUI.OgrePlatform.a(MyGUI_OgreDataManager.cpp.o)
`.text._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_10lock_errorEEEED2Ev' referenced in section `.text._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_10lock_errorEEEED1Ev[_ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_10lock_errorEEEED1Ev]' of /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libMyGUI.OgrePlatform.a(MyGUI_OgreDataManager.cpp.o): defined in discarded section `.text._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_10lock_errorEEEED2Ev[_ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_10lock_errorEEEED5Ev]' of /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libMyGUI.OgrePlatform.a(MyGUI_OgreDataManager.cpp.o)
collect2: error: ld returned 1 exit status
make[2]: *** [openmw] Błąd 1
make[1]: *** [apps/openmw/CMakeFiles/openmw.dir/all] Błąd 2
make: *** [all] Błąd 2
Code: Select all
sed -i 's:check_cxx_compiler_flag(-fvisibility:#check_cxx_compiler_flag(-fvisibility:' CMakeLists.txt
Code: Select all
# change CMake config so demos install to /opt
sed -i 's:"bin:"../opt/MYGUI:' CMake/Utils/MyGUIConfigTargets.cmake
sed -i -e 's:../share:/usr/share:' \
-e 's:"bin":"../opt/MYGUI":' \
CMake/InstallResources.cmake
sed -i 's:check_cxx_compiler_flag(-fvisibility:#check_cxx_compiler_flag(-fvisibility:' CMakeLists.txt