Closed aiaimimi0920 closed 10 months ago
If you are using gcc/g++ or clang on WSL Ubuntu, you will not meet the compile issue, i have tested the build with gcc on WSL Ubuntu.
If you are using mingw32, and meet the issue of missing DLLs, which seems the issue of compiling with Windows toolchain, so far, the project can not pass build with Windows toolchain, including the VS and possibly mingw32, which has been tracked by other issue that has been raised before, it is not resolved yet.
So, in summary, you could just use gcc/g++ or clang on WSL Ubuntu, for the build failure with mingw32, it is more related with Windows toolchain build, tracked by another issue and I will closed this one.
It is true that there is no compilation problem with using gcc, but I hope that the file is dll is not so file, because I want to call this dynamic library on windows.
Hope this problem will be solved soon
Thank you for your prompt reply
I attempted to compile using Ubuntu on WSL, I was able to generate .so files. However, I require DLL and LIB files for the Windows platform. If I modify CMAKE_CXX_COMPILER to x86_64-w64-mingw32-g++, it triggers compilation errors. What should I do? Any suggestions? @huakunyang
this is CMakeLists.txt