WxMaxima + MSYS2 + Win 10 -- CMAKE CANNOT FIND WXWIDGETS
Hi Developers,
********************* MOST URGENT ***********************
wxMaxima fails to build. Cmake fails to link with mutliple errors.CMAKE FAILS TO FINDS WXWIDGETS
Issue first reported at github issues. Developers of wxMaxima advised this is CMake error https://github.com/wxMaxima-developers/wxmaxima/issues/1570
dump below ================== eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee Hi ,
After adding below to link.txt (after - -o wxmaxima)
-L/d/ons_cb_try_msys/ons_wxWidgets315_21-7-21_2nd/wxWidgets/build-debug/lib -Wl,--subsystem,windows -mwindows -lwx_mswu-3.1
the new errors are
Seems like wxmaxima , when compiling is unable to resolve standard data types and functions.
warm regards, manu
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
||=== Build: all in wxmaxima (compiler: GNU GCC Compiler) ===|
CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj||in function AutoComplete::AddSymbols(wxString)':| D:\ons_cb_try_msys\ons_wxmaxima-Version21051_21-7-21_2nd\wxmaxima\src\Autocomplete.cpp|70|undefined reference to operator new(unsigned long long)'|
..\wxmaxima\src\Autocomplete.cpp|70|undefined reference to operator delete(void*, unsigned long long)'| CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj||in function AutoComplete::WaitForBackgroundThread_Symbols()':|
D:\ons_cb_try_msys\ons_wxmaxima-Version21051_21-7-21_2nd\wxmaxima\src\Autocomplete.cpp|137|undefined reference to std::thread::join()'| CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj||in function AutoComplete::WaitForBackgroundThread_Files()':|
D:\ons_cb_try_msys\ons_wxmaxima-Version21051_21-7-21_2nd\wxmaxima\src\Autocomplete.cpp|148|undefined reference to std::thread::join()'| CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj||in function AutoComplete::LoadSymbols()':|
D:\ons_cb_try_msys\ons_wxmaxima-Version21051_21-7-21_2nd\wxmaxima\src\Autocomplete.cpp|181|undefined reference to operator new(unsigned long long)'| ..\wxmaxima\src\Autocomplete.cpp|184|undefined reference to operator new(unsigned long long)'|
..\wxmaxima\src\Autocomplete.cpp|181|undefined reference to operator delete(void*, unsigned long long)'| ..\wxmaxima\src\Autocomplete.cpp|184|undefined reference to operator delete(void*, unsigned long long)'|
......\D:\ons_msys64\mingw64\include\c++\10.3.0\iostream|74|undefined reference to std::ios_base::Init::~Init()'| ......\D:\ons_msys64\mingw64\include\c++\10.3.0\iostream|74|undefined reference to std::ios_base::Init::Init()'|
CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj:Autocomplete.cpp:(.xdata_ZN14wxFormatStringC1ERK8wxString+0xc)||undefined reference to __gxx_personality_seh0'| CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj:Autocomplete.cpp:(.xdata
_ZN20wxArgNormalizerWcharIPKcEC2ES1_PK14wxFormatStringj+0xc)||undefined reference to __gxx_personality_seh0'|
CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj:Autocomplete.cpp:(.xdata$_ZN8wxString7ImplStrEPKcRK8wxMBConv+0xc)||undefined reference to __gxx_personality_seh0'| CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj||in function wxString::~wxString()':|
D:\ons_msys64\mingw64\include\wx-3.1\wx\string.h|301|undefined reference to std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::~basic_string()'| CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj||in function wxString::wxString()':|
D:\ons_msys64\mingw64\include\wx-3.1\wx\string.h|1154|undefined reference to std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string()'| CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj||in function wxString::wxString(wxString const&)':|
D:\ons_msys64\mingw64\include\wx-3.1\wx\string.h|1157|undefined reference to std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)'| CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj||in function wxString::wxString(wxUniChar, unsigned long long)':|
D:\ons_msys64\mingw64\include\wx-3.1\wx\string.h|1161|undefined reference to std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string()'| ......\ons_msys64\mingw64\include\wx-3.1\wx\string.h|1161|undefined reference to std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::~basic_string()'|
CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj:Autocomplete.cpp:(.xdata$_ZN8wxStringC1E9wxUniChary+0xc)||undefined reference to __gxx_personality_seh0'| CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj||in function wxString::wxString(char const*)':|
D:\ons_msys64\mingw64\include\wx-3.1\wx\string.h|1180|undefined reference to std::allocator<wchar_t>::allocator()'| ......\ons_msys64\mingw64\include\wx-3.1\wx\string.h|1180|undefined reference to std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string(wchar_t const*, std::allocator<wchar_t> const&)'|
......\ons_msys64\mingw64\include\wx-3.1\wx\string.h|1180|undefined reference to std::allocator<wchar_t>::~allocator()'| ......\ons_msys64\mingw64\include\wx-3.1\wx\string.h|1180|undefined reference to std::allocator<wchar_t>::~allocator()'|
CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj:Autocomplete.cpp:(.xdata$_ZN8wxStringC1EPKc+0xc)||undefined reference to __gxx_personality_seh0'| CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj||in function wxString::wxString(wchar_t const*)':|
D:\ons_msys64\mingw64\include\wx-3.1\wx\string.h|1213|undefined reference to std::allocator<wchar_t>::allocator()'| ......\ons_msys64\mingw64\include\wx-3.1\wx\string.h|1213|undefined reference to std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string(wchar_t const*, std::allocator<wchar_t> const&)'|
......\ons_msys64\mingw64\include\wx-3.1\wx\string.h|1213|undefined reference to std::allocator<wchar_t>::~allocator()'| ......\ons_msys64\mingw64\include\wx-3.1\wx\string.h|1213|undefined reference to std::allocator<wchar_t>::~allocator()'|
CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj:Autocomplete.cpp:(.xdata$_ZN8wxStringC1EPKw+0xc)||undefined reference to __gxx_personality_seh0'| CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj||in function wxString::begin()':|
D:\ons_msys64\mingw64\include\wx-3.1\wx\string.h|1354|undefined reference to std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::begin()'| CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj||in function wxString::length() const':|
D:\ons_msys64\mingw64\include\wx-3.1\wx\string.h|1405|undefined reference to std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::length() const'| CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj||in function wxString::empty() const':|
D:\ons_msys64\mingw64\include\wx-3.1\wx\string.h|1411|undefined reference to std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::empty() const'| CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj||in function wxString::wx_str() const':|
D:\ons_msys64\mingw64\include\wx-3.1\wx\string.h|1609|undefined reference to std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::c_str() const'| CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj:Autocomplete.cpp:(.xdata$_ZNK8wxString8utf8_strEv+0xc)||undefined reference to __gxx_personality_seh0'|
CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj||in function wxString::operator=(wxString const&)':| D:\ons_msys64\mingw64\include\wx-3.1\wx\string.h|1892|undefined reference to std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::operator=(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)'|
CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj||in function wxString::operator=(wchar_t const*)':| D:\ons_msys64\mingw64\include\wx-3.1\wx\string.h|1943|undefined reference to std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::operator=(wchar_t const*)'|
CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj||in function wxString::assign(unsigned long long, wxUniChar)':| D:\ons_msys64\mingw64\include\wx-3.1\wx\string.h|2702|undefined reference to std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::assign(unsigned long long, wchar_t)'|
......\ons_msys64\mingw64\include\wx-3.1\wx\string.h|2704|undefined reference to std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::assign(wchar_t const*)'| CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj:Autocomplete.cpp:(.xdata$_ZN8wxString6assignEy9wxUniChar+0xc)||undefined reference to __gxx_personality_seh0'|
CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj||in function wxString::clear()':| D:\ons_msys64\mingw64\include\wx-3.1\wx\string.h|2907|undefined reference to std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::clear()'|
CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj||in function wxString::find(wchar_t const*, unsigned long long, unsigned long long) const':| D:\ons_msys64\mingw64\include\wx-3.1\wx\string.h|3137|undefined reference to std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t const*, unsigned long long, unsigned long long) const'|
CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj||in function wxString::operator+=(char const*)':| D:\ons_msys64\mingw64\include\wx-3.1\wx\string.h|3504|undefined reference to std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::operator+=(wchar_t const*)'|
CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj:Autocomplete.cpp:(.xdata_ZN8wxStringpLEPKc+0xc)||undefined reference to __gxx_personality_seh0'| CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj:Autocomplete.cpp:(.xdata
_ZN8wxObjectD2Ev+0xc)||undefined reference to __gxx_personality_seh0'|
CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj||in function std::thread::~thread()':| D:\ons_msys64\mingw64\include\c++\10.3.0\thread|157|undefined reference to std::terminate()'|
CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj:Autocomplete.cpp:(.xdata_ZNK12wxStringHashclERK8wxString+0xc)||undefined reference to __gxx_personality_seh0'| CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj:Autocomplete.cpp:(.xdata
_ZNK13wxStringEqualclERK8wxStringS2_+0xc)||undefined reference to __gxx_personality_seh0'|
CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj||in function wxStringToStringHashMap_wxImplementation_HashTable::DeleteNode(_wxHashTable_NodeBase*)':| D:\ons_msys64\mingw64\include\wx-3.1\wx\hashmap.h|725|undefined reference to operator delete(void*, unsigned long long)'|
CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj:Autocomplete.cpp:(.xdata$_ZN50wxStringToStringHashMap_wxImplementation_HashTableD2Ev+0xc)||undefined reference to __gxx_personality_seh0'| CMakeFiles\wxmaxima.dir\Autocomplete.cpp.obj||in function wxStringToNumHashMap_wxImplementation_HashTable::DeleteNode(_wxHashTable_NodeBase*)':|
D:\ons_msys64\mingw64\include\wx-3.1\wx\hashmap.h|728|undefined reference to `operator delete(void*, unsigned long long)'|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build failed: 50 error(s), 0 warning(s) (1 minute(s), 26 second(s)) ===|