Open engineer-HA opened 5 years ago
Thanks for taking interest in this project.
Currently there is no windows support for this project. I am testing with the following compilers: AppleClang on macOs, gcc on Ubuntu, and arm-linux-gnueabihf-gcc on Ubuntu.
I would like to add windows support. Perhaps you could assist me? It looks like you are using msys2 on Windows with mingw, is that correct?
Hi guys, tried to install your plugin in my already working openmha but got stuck on this command please note that this is just the half of the errors I am getting.
$ cmake --build . --target chapro-openmha-plugin [ 38%] Built target project_openMHA [ 52%] Built target hearing-aid [ 90%] Built target project_chapro [ 95%] Linking CXX shared library chapro.so C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles/chapro-openmha-plugin.dir/chapro-openmha-plugin.cpp.obj:chapro-openmha-plugin.cpp:(.text+0x35f): undefined reference to
__cxa_begin_catch' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles/chapro-openmha-plugin.dir/chapro-openmha-plugin.cpp.obj:chapro-openmha-plugin.cpp:(.text+0x388): undefined reference to
cxa_end_catch' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles/chapro-openmha-plugin.dir/chapro-openmha-plugin.cpp.obj:chapro-openmha-plugin.cpp:(.text+0x397): undefined reference to `cxa_end_catch' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles/chapro-openmha-plugin.dir/chapro-openmha-plugin.cpp.obj:chapro-openmha-plugin.cpp:(.text+0x3d8): undefined reference to__cxa_allocate_exception' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles/chapro-openmha-plugin.dir/chapro-openmha-plugin.cpp.obj:chapro-openmha-plugin.cpp:(.text+0x40d): undefined reference to
cxa_throw' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles/chapro-openmha-plugin.dir/chapro-openmha-plugin.cpp.obj:chapro-openmha-plugin.cpp:(.text+0x418): undefined reference to__cxa_free_exception' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles/chapro-openmha-plugin.dir/chapro-openmha-plugin.cpp.obj:chapro-openmha-plugin.cpp:(.text+0x4f7): undefined reference to
cxa_begin_catch' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles/chapro-openmha-plugin.dir/chapro-openmha-plugin.cpp.obj:chapro-openmha-plugin.cpp:(.text+0x516): undefined reference to `cxa_rethrow' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles/chapro-openmha-plugin.dir/chapro-openmha-plugin.cpp.obj:chapro-openmha-plugin.cpp:(.text+0x521): undefined reference to `cxa_end_catch' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles/chapro-openmha-plugin.dir/chapro-openmha-plugin.cpp.obj:chapro-openmha-plugin.cpp:(.text+0x52f): undefined reference to__cxa_begin_catch' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles/chapro-openmha-plugin.dir/chapro-openmha-plugin.cpp.obj:chapro-openmha-plugin.cpp:(.text+0x53d): undefined reference to
cxa_end_catch' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles/chapro-openmha-plugin.dir/chapro-openmha-plugin.cpp.obj:chapro-openmha-plugin.cpp:(.text+0x54c): undefined reference to `cxa_end_catch' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles/chapro-openmha-plugin.dir/chapro-openmha-plugin.cpp.obj:chapro-openmha-plugin.cpp:(.text+0x5cf): undefined reference tooperator delete(void*, unsigned long long)' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles/chapro-openmha-plugin.dir/chapro-openmha-plugin.cpp.obj:chapro-openmha-plugin.cpp:(.text+0x5dc): undefined reference to
operator delete(void, unsigned long long)' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles/chapro-openmha-plugin.dir/chapro-openmha-plugin.cpp.obj:chapro-openmha-plugin.cpp:(.text+0x622): undefined reference to__cxa_begin_catch' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles/chapro-openmha-plugin.dir/chapro-openmha-plugin.cpp.obj:chapro-openmha-plugin.cpp:(.text+0x630): undefined reference to
cxa_end_catch' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles/chapro-openmha-plugin.dir/chapro-openmha-plugin.cpp.obj:chapro-openmha-plugin.cpp:(.text+0x642): undefined reference to `cxa_end_catch' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles/chapro-openmha-plugin.dir/chapro-openmha-plugin.cpp.obj:chapro-openmha-plugin.cpp:(.text+0x6af): undefined reference tostd::terminate()' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles/chapro-openmha-plugin.dir/chapro-openmha-plugin.cpp.obj:chapro-openmha-plugin.cpp:(.text+0x6bd): undefined reference to
cxa_begin_catch' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles/chapro-openmha-plugin.dir/chapro-openmha-plugin.cpp.obj:chapro-openmha-plugin.cpp:(.text+0x6cb): undefined reference to `cxa_end_catch' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles/chapro-openmha-plugin.dir/chapro-openmha-plugin.cpp.obj:chapro-openmha-plugin.cpp:(.text+0x6da): undefined reference to__cxa_end_catch' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles/chapro-openmha-plugin.dir/chapro-openmha-plugin.cpp.obj:chapro-openmha-plugin.cpp:(.text+0x7b4): undefined reference to
std::__throw_logic_error(char const)' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles/chapro-openmha-plugin.dir/chapro-openmha-plugin.cpp.obj:chapro-openmha-plugin.cpp:(.text+0x813): undefined reference tooperator new(unsigned long long)' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles/chapro-openmha-plugin.dir/chapro-openmha-plugin.cpp.obj:chapro-openmha-plugin.cpp:(.text+0x839): undefined reference to
operator delete(void*)'