[Coin-discuss] problems building in Cygwin on Windows XP

Skylab Gupta guptasr at auburn.edu
Tue Mar 1 16:30:28 EST 2005


Hi,

I downloaded the COIN_2005Feb28 package recently. I am working in the
Windows XP environment (with cygwin), and my gcc version is 3.3.1. I am
also using the LP solver CLP.

With these settings, I successfully managed to build the following
components (using the 'make' command): Clp, Cgl, Coin and Osi.
But now, when I try to 'make unitTest' (in the Osi folder), I get the
following errors:

-------------------------------------
...
Creating dependency OsiClpSolverInterfaceTest.d
make[2]: Leaving directory `/cygdrive/c/COIN_2005Feb28/COIN/Osi/Test'
make[2]: Entering directory `/cygdrive/c/COIN_2005Feb28/COIN/Osi/Test'

Compiling OsiClpSolverInterfaceTest.cpp

Compiling OsiSymSolverInterfaceTest.cpp
In file included from
/cygdrive/c/COIN_2005Feb28/COIN/SYMPHONY/include/symphony_api.h:20,
                 from
/cygdrive/c/COIN_2005Feb28/COIN/include/SymWarmStart.hpp:25,
                 from
/cygdrive/c/COIN_2005Feb28/COIN/include/OsiSymSolverInterface.hpp:24,
                 from OsiSymSolverInterfaceTest.cpp:28:
/cygdrive/c/COIN_2005Feb28/COIN/SYMPHONY/include/proto.h:36: error:
new
   declaration `long int random()'
/usr/include/stdlib.h:183: error: ambiguates old declaration `int
random()'
make[2]: *** [CYGWIN-g/OsiSymSolverInterfaceTest.o] Error 1
make[2]: Leaving directory `/cygdrive/c/COIN_2005Feb28/COIN/Osi/Test'
make[1]: *** [unitTest] Error 2
make[1]: Leaving directory `/cygdrive/c/COIN_2005Feb28/COIN/Osi/Test'
make: *** [unitTest] Error 2

guptasr at ie39 /cygdrive/c/COIN_2005Feb28/COIN/Osi
-------------------------------------

I am a beginner to COIN software, so any help is appreciated.

Thanks,
Skylab Gupta.



More information about the Coin-discuss mailing list