Code: Select all
CMakeFiles/openmw.dir/mwinput/inputmanagerimp.cpp.o: In function `MWInput::InputManager::getActionKeyBindingName[abi:cxx11](int)':
inputmanagerimp.cpp:(.text+0x8eac): undefined reference to `MyGUI::UString::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >() const'
CMakeFiles/openmw.dir/mwgui/textinput.cpp.o: In function `MWGui::TextInputDialog::getTextInput[abi:cxx11]() const':
textinput.cpp:(.text+0x9fc): undefined reference to `MyGUI::UString::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >() const'
CMakeFiles/openmw.dir/mwgui/class.cpp.o: In function `MWGui::GenerateClassResultDialog::getClassId[abi:cxx11]() const':
class.cpp:(.text+0x7a2): undefined reference to `MyGUI::UString::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >() const'
CMakeFiles/openmw.dir/mwgui/class.cpp.o: In function `MWGui::InfoBoxDialog::getText[abi:cxx11]() const':
class.cpp:(.text+0x26b6): undefined reference to `MyGUI::UString::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >() const'
CMakeFiles/openmw.dir/mwgui/class.cpp.o: In function `MWGui::CreateClassDialog::getName[abi:cxx11]() const':
class.cpp:(.text+0x4af8): undefined reference to `MyGUI::UString::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >() const'
CMakeFiles/openmw.dir/mwgui/class.cpp.o:class.cpp:(.text._ZNK5MWGui17DescriptionDialog12getTextInputB5cxx11Ev[_ZNK5MWGui17DescriptionDialog12getTextInputB5cxx11Ev]+0x54): more undefined references to `MyGUI::UString::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >() const' follow
collect2: error: ld returned 1 exit status
apps/openmw/CMakeFiles/openmw.dir/build.make:6510: recipe for target 'openmw' failed
make[2]: *** [openmw] Error 1
CMakeFiles/Makefile2:501: recipe for target 'apps/openmw/CMakeFiles/openmw.dir/all' failed
make[1]: *** [apps/openmw/CMakeFiles/openmw.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Try for yourself:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-7 g++-7
cmake -DCMAKE_C_COMPILER=/usr/bin/gcc-7 -DCMAKE_CXX_COMPILER=/usr/bin/g++-7 ../openmw
make -j4
It seems that only openmw is effected.