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

Michael Hennebry hennebry at web.cs.ndsu.nodak.edu
Tue Mar 1 18:29:46 EST 2005


On Tue, 1 Mar 2005, Skylab Gupta wrote:

>                  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

Somewhere you need to put a -DHAS_RANDOM .

-- 
Mike   hennebry at web.cs.ndsu.NoDak.edu
"Our gods are dead.  Ancient Klingon warriors slew them
... they were more trouble than they were worth."          --  Worf




More information about the Coin-discuss mailing list