[Clp] Compile error on VC9

Paul De La Musica paul.delamusica at gmail.com
Fri Jul 29 23:16:22 EDT 2011


Hi,

  I got an error while compiling 1.14.0 on VC9

    C:\clp-1.14.0\clp\src\clphelperfunctions.hpp(16) : fatal error
C1189: #error :  "don't have header file for math"

  I defined HAVE_CMATH in the preprocessor definition menu (and
confirmed on the command line) but that seems to have no effect at
all: still the same error message.

  I then added #define HAVE_CMATH directly in  ClpHelperFunctions.hpp.
I got another bunch of error messages:

   C:\clp-1.14.0\clp\src\clpcholeskywssmp.cpp(67) : error C2065:
'wsetmaxthrds' : undeclared identifier
   C:\clp-1.14.0\clp\src\clpcholeskywssmp.cpp(67) : error C2065:
'WSETMAXTHRDS' : undeclared identifier

   etc.

   I wonder what is happening.

  The VC 10 version doesn't have this problem.

  I wouls appreciate some pointer on this issue.

  Thanks,

Paul




More information about the Clp mailing list