[CoinMP-tickets] [CoinMP Library] #5: CoinMP fails to compile on OS X
CoinMP Library
coin-trac at coin-or.org
Tue Sep 16 16:33:26 EDT 2008
#5: CoinMP fails to compile on OS X
------------------------+---------------------------------------------------
Reporter: phines | Owner: somebody
Type: defect | Status: new
Priority: highest | Milestone:
Component: component1 | Version:
Severity: blocker | Keywords:
------------------------+---------------------------------------------------
On my OS X (10.5, Intel) CoinMP fails to compile because "malloc.h" is in
the sys directory on the Mac. The problem can be fixed (on a mac) by
changing line 18 of CoinMP-1.2.0/CoinMP/src/CoinMP.cpp to
#include "sys/malloc.h" // on mac...
from
#include "malloc.h"
Obviously this would probably break on another platform. I assume that
something needs to be adjusted in the configure script to get a platform-
independent solution.
Thanks,
-Paul
--
Ticket URL: <https://projects.coin-or.org/CoinMP/ticket/5>
CoinMP Library <http://projects.coin-or.org/CoinMP>
A lightweight API for some COIN-OR tools
More information about the CoinMP-tickets
mailing list