Closed iosto closed 1 year ago
@iosto indeed I don't think it's possible to mix C++ binaries compiled with MSVC and MinGW.
Aside from recompiling all of pagmo's dependencies with MinGW, what could possibly work is to compile pagmo with MSVC and then write a small wrapper in pure C for interfacing with the pagmo library. As long as you stay within C (rather than C++), it should be possible to mix MinGW and MSVC.
Hello, I am trying to run a test script (the same as found here ) to test my pagmo installation from conda. For the build process I use CMake with MinGW/Unix Makefiles as a generator, and everything seems to be going fine until it tries to link. Then I get the following error message (full output below):
I think the problem is that I am compiling using MinGW and through conda the binaries have been compiled with Visual Studio, but I cannot use Visual Studio because of some other dependencies. Is this the reason for the errors, and if so, how could I fix this without changing compiler?
Environment: