[OS] Problems - Making COIN-OS 2.3.2 on win32

Mike Steglich mike.steglich at berlin.de
Tue Feb 8 15:32:19 EST 2011


Thanks for your reply and the suggestions. I will try it ...

Cheers Mike



Am 08.02.2011 um 20:51 schrieb Kipp Martin <kmartin at chicagobooth.edu>:

> Hi Mike:
> 
> Unfortunately you are using the one platform I do not build on. On Win32 I use cygwin and Microsoft cl.
> 
> I see Stefan has already replied, and made a good suggestion. I will add my 2 cents worth.  You are never really getting to any of the OS project, the problem is with a project dependency.  The OS 2.3.2 uses Cbc 2.6.2. I would try to check out Cbc 2.6.2 separately and do a build and see if this really is a Cbc/Cgl issue. I realize that is added work but it could be revealing.
> 
> Thanks
> 
> 
>> I tried to build COIN-OS 2.3.2 on WIN32 (windows7) using MSYS and MinGW (4.4.0). I want to create your optimization environment (including the GLPK support and GLPK it selfs) using the following configure statement:
>> 
>> ./configure COIN_SKIP_PROJECTS="Ipopt Bonmin Bcp DyLP Couenne HSL SYMPHONY"  --enable-static --disable-shared
>> 
>> The configure script finished w/o errors.
>> 
>> But I have got a couple of errors while making COIN-OS especially CBC:
>> ...
>> 
>> g++ -O3 -pipe -DNDEBUG -pedantic-errors -Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -o cbc.exe CoinSolve.o  ./.libs/libCbcSolver.a ./.libs/libCbc.a /c/Users/mike/DOCUME~1/CM41B2~1/stuff/COIN-OS/Cgl/src/.libs/libCgl.a /c/Users/mike/DOCUME~1/CM41B2~1/stuff/COIN-OS/Clp/src/OsiClp/.libs/libOsiClp.a /c/Users/mike/DOCUME~1/CM41B2~1/stuff/COIN-OS/Clp/src/.libs/libClp.a /c/Users/mike/DOCUME~1/CM41B2~1/stuff/COIN-OS/Osi/src/Osi/.libs/libOsi.a /c/Users/mike/DOCUME~1/CM41B2~1/stuff/COIN-OS/CoinUtils/src/.libs/libCoinUtils.a /mingw/lib/gcc/mingw32/4.4.0/libstdc++.a /c/Users/mike/DOCUME~1/CM41B2~1/stuff/COIN-OS/ThirdParty/Glpk/.libs/libcoinglpk.a -L/mingw/lib/gcc/mingw32/4.4.0 -L/mingw/lib/gcc/mingw32/4.4.0 -L/c/Users/mike/DOCUME~1/CM41B2~1/stuff/COIN-OS/lib
>> ./.libs/libCbcSolver.a(CbcSolver.o):CbcSolver.cpp:(.text+0xc2f1): undefined reference to `CglGomory::CglGomory()'
>> ./.libs/libCbcSolver.a(CbcSolver.o):CbcSolver.cpp:(.text+0xc307): undefined reference to `CglGomory::setLimitAtRoot(int)'
>> ./.libs/libCbcSolver.a(CbcSolver.o):CbcSolver.cpp:(.text+0xc31d): undefined reference to `CglGomory::setLimit(int)'
>> ./.libs/libCbcSolver.a(CbcSolver.o):CbcSolver.cpp:(.text+0xc32b): undefined reference to `CglProbing::CglProbing()'
>> ./.libs/libCbcSolver.a(CbcSolver.o):CbcSolver.cpp:(.text+0xc33b): undefined reference to `CglProbing::setUsingObjective(int)'
>> ./.libs/libCbcSolver.a(CbcSolver.o):CbcSolver.cpp:(.text+0xc34b): undefined reference to `CglProbing::setMaxPass(int)'
>> ./.libs/libCbcSolver.a(CbcSolver.o):CbcSolver.cpp:(.text+0xc35b): undefined reference to `CglProbing::setMaxPassRoot(int)'
>> ./.libs/libCbcSolver.a(CbcSolver.o):CbcSolver.cpp:(.text+0xc36b): undefined reference to `CglProbing::setMaxProbe(int)'
>> ./.libs/libCbcSolver.a(CbcSolver.o):CbcSolver.cpp:(.text+0xc37b): undefined reference to `CglProbing::setMaxProbeRoot(int)'
>> 
>> ....
>> 
>> Please find attached configure.log and Makefile for the entire project:
>> 
>> 
>> 
>> 
>> 
>> and also for CBC
>> 
>> 
>> 
>> 
>> 
>> 
>> I am confused at the moment and hope for help by the COIN-OS community.
>> 
>> Cheers
>> 
>> Mike Steglich
>> 
>> 
>> 
>> _______________________________________________
>> OS mailing list
>> OS at list.coin-or.org
>> http://list.coin-or.org/mailman/listinfo/os
> 
> 
> -- 
> Kipp Martin
> Professor of Operations Research
> and Computing Technology
> Booth School of Business
> University of Chicago
> 5807 South Woodlawn Avenue
> Chicago, IL 60637
> 773-702-7456
> kmartin at chicagobooth.edu
> http://www.chicagobooth.edu/faculty/bio.aspx?person_id=12825325568
> http://projects.coin-or.org/OS




More information about the OS mailing list