Thursday, June 18, 2009

Coin-or CBC install

I hoped that this would work without problem on a freshly installed, vanilla Cygwin environment:

$ svn checkout Coin-Pkg
$ cd Coin-Pkg/
$ ./configure
$ make
$ make install

The last messages I see are:

Making install in Clp
make[1]: Entering directory `/usr/local/src/coinor/Coin-Pkg/Clp'
Making install in src
make[2]: Entering directory `/usr/local/src/coinor/Coin-Pkg/Clp/src'
.deps/CbcOrClpParam.Po:1: *** multiple target patterns.  Stop.
make[2]: Leaving directory `/usr/local/src/coinor/Coin-Pkg/Clp/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/coinor/Coin-Pkg/Clp'
make: *** [install-recursive] Error 1

This is in the ‘make install’ step. I don’t know what a .Po file is, nor why it is in a hidden directory .deps.


  1. Hi Erwin,

    You need to get a fixed cygwin make or downgrade:

    I hope this helps.


  2. Thanks very much! Yes, that explains a lot.

  3. I am happy to say that after installing a fixed make as suggested in the link provided by Jeff, the build procedure worked flawlessly.

  4. You need not be limited to Cygwin. There are other ways of getting a POSIX-like environment onto a Windows machine

    1. MingGW
    2. Wubi (I believe comes standard on Ubuntu CD/iso image)
    3. Virtualbox + Linux distro install
    4. Remote desktop to Linux machine

  5. After the ./configure alter the Makefile

    CXX := g++


    CXX := g++ -mno-cygwin

    to get executables that use the native Windows runtime libraries and also run outside Cygwin.