coin-or / COIN-OR-OptimizationSuite

A harness for building the bundled suite of interoperable optimization tools available in the COIN-OR repository.
120 stars 41 forks source link

Seg fault in OSI unit test when using msys2 + msvc #29

Open abhcs opened 4 months ago

abhcs commented 4 months ago

OS: Windows 11 Enterprise compiler: Microsoft Visual Studio 14.0/VC/BIN/x86_amd64/cl (Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24215.1 for x86) fetch and build source: followed instructions here commands:

./coinbrew [interactively fetch the latest release of COIN-OR-OptimizationSuite]
./coinbrew build Coin-OR-OptimizationSuite --prefix=build --enable-msvc --build=x86_64-w64-mingw32

error:

##################################################

Reconfiguring Osi 0.107.10

##################################################

##################################################

Building Osi 0.107.10

##################################################

##################################################

Running Osi unit test

##################################################

make[1]: [Makefile:692: test] Segmentation fault make: [Makefile:914: test] Error 2

I am not sure how to debug this since I am new to the msys2 + msvc toolchain.

tkralphs commented 4 months ago

For now, try adding --tests none to your coinbrew arguments. In all likelihood, the build will go through and everything will work fine. If you have problems after that, then feel free to open another issue.