[Coin-discuss] COIN on a Mac

Harder, Robert, Capt, DPX-AFPOA Robert.Harder at pentagon.af.mil
Mon Jan 6 15:45:29 EST 2003


> For this one, edit Makefile/Makefile.location and comment out the
> references to OSL and any other solvers you don't have.  If you do have
> OSL, then fix the OSL entries in Makefile/Makefile.location to reflect the
> correct location of OSL files.

Thanks. Much better. Now I'm getting these "legitimate" errors when
compiling Osi:

===============================================

Creating dependency OsiClpSolverInterface.d

Compiling OsiClpSolverInterface.cpp
In file included from OsiClpSolverInterface.cpp:12:
/usr/include/sys/resource.h:81: field `ru_utime' has incomplete type
/usr/include/sys/resource.h:82: field `ru_stime' has incomplete type
/usr/include/sys/resource.h:124: 'rlim_t' is used as a type, but is not
defined
   as a type.
/usr/include/sys/resource.h:125: 'rlim_t' is used as a type, but is not
defined
   as a type.
/usr/include/sys/resource.h:130: parse error before `[' token
OsiClpSolverInterface.cpp: In function `double cpuTime()':
OsiClpSolverInterface.cpp:38: `struct rusage' has no member named `ru_utime'
OsiClpSolverInterface.cpp:39: `struct rusage' has no member named `ru_utime'
make[2]: *** [Darwin-g/OsiClpSolverInterface.o] Error 1
make[1]: *** [install] Error 2
make: *** [inst-libOsiClp] Error 2

===============================================

-Rob



More information about the Coin-discuss mailing list