[Cbc] Error building Cbc with mingw32 on Windows

Stefan Vigerske stefan at math.hu-berlin.de
Thu Oct 30 10:10:16 EDT 2014


Hi,

configure seem to have found some Intel MKL libraries on your system. 
Maybe your configure run took an Intel Fortran compiler when looking for 
Blas?
It also seem to have picked up Mumps libraries from 
C:/MinGW32-xy/msys/1.0/local/lib. May this be a leftover from some 
previous builds? If that was build with Intel Fortran, it could bring in 
the MKL dependency.
So you could try with passing --without-mumps to configure.

Stefan


On 10/30/2014 01:34 PM, Joshua Arnott wrote:
> I'm trying to build Cbc using msys/mingw32 on Windows.
>
> Configured with:
>
> ./configure --prefix=/usr/local --enable-dependency-linking
> --disable-static --enable-shared --without-blas --without-lapack
>
> The output below is for 2.8.5, but I get the same error with trunk. It
> seems to be missing some intel libraries, but I don't understand why these
> are required. It builds fine for me on Linux without these.
>
> g++ -O3 -pipe -DNDEBUG -pedantic-errors -Wparentheses -Wreturn-type
> -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion
> -Wno-unknown-pragmas -Wno-long-long -DCLP_BUILD -o clp.exe ClpMain.o
> CbcOrClpParam.o MyEventHandler.o MyMessageHandler.o unitTest.o
> mkl_intel_c.lib mkl_sequential.lib mkl_core.lib  ./.libs/libClp.a
> -L/projetos/gcc/bld/452/build/mingw32/libstdc++-v3/src
> -L/projetos/gcc/bld/452/build/mingw32/libstdc++-v3/src/.libs
> -L/projetos/gcc/bld/452/build/mingw32/winsup/mingw
> -L/projetos/gcc/bld/452/build/mingw32/winsup/w32api/lib
> -LC:/MinGW32-xy/msys/1.0/local/lib
> C:/MinGW32-xy/msys/1.0/local/lib/libcoinmumps.lib
> C:/MinGW32-xy/msys/1.0/local/lib/libcoinmetis.lib
> /c/Users/arno6545/Downloads/Cbc-2.8.5/CoinUtils/src/.libs/libCoinUtils.a
> c:/mingw32-xy/bin/../lib/gcc/mingw32/4.5.2/libstdc++.dll.a -lz
> C:/MinGW32-xy/msys/1.0/local/lib/libcoinglpk.lib
> -Lc:/mingw32-xy/bin/../lib/gcc/mingw32/4.5.2
> -Lc:/mingw32-xy/bin/../lib/gcc/mingw32/4.5.2
> g++.exe: mkl_intel_c.lib: No such file or directory
> g++.exe: mkl_sequential.lib: No such file or directory
> g++.exe: mkl_core.lib: No such file or directory
> make[4]: *** [clp.exe] Error 1
> make[4]: Leaving directory `/c/Users/arno6545/Downloads/Cbc-2.8.5/Clp/src'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/c/Users/arno6545/Downloads/Cbc-2.8.5/Clp/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/c/Users/arno6545/Downloads/Cbc-2.8.5/Clp/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/c/Users/arno6545/Downloads/Cbc-2.8.5/Clp'
> make: *** [all-recursive] Error 1
>
> Is there somewhere I can download these libraries? Or build without them?
>
> Josh
>
>
>
> _______________________________________________
> Cbc mailing list
> Cbc at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/cbc
>



More information about the Cbc mailing list