[Cbc] compiler error with gcc4 in cygwin 1.7.9

Anyster foranyster at gmail.com
Tue Oct 25 16:29:51 EDT 2011


Hi,

I use windows XP, and I've already used the revised-3.8.1-version make.exe
in cygwin. When compiling cbc 2.7 stable version (obtained by svn) in cygwin
1.7.9 with gcc4, I got the following error message:

In file included from ../../../CoinUtils/src/CoinParam.cpp:11:0:
../../../CoinUtils/src/CoinParam.hpp:452:20: error: variable or field
'setInputSrc' declared void
../../../CoinUtils/src/CoinParam.hpp:452:20: error: 'FILE' was not declared
in this scope
../../../CoinUtils/src/CoinParam.hpp:452:26: error: 'src' was not declared
in this scope
make[3]: *** [CoinParam.lo] Error 1
make[3]: Leaving directory `/cygdrive/c/Brooks/coin-Cbc/build/CoinUtils/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/cygdrive/c/Brooks/coin-Cbc/build/CoinUtils/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/Brooks/coin-Cbc/build/CoinUtils'
make: *** [all-recursive] Error 1

First of all, I don't know why "declared void" would be an error, and then
after I commented that line and compile again, I got some other errors later
in the process. I've been bothered by this problem for two days, and google
doesn't help. Can anyone give me some help here? Thank you very much for
your help!

Best regards,
Anyster
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20111025/724ad069/attachment.html>


More information about the Cbc mailing list