[MOAB-dev] MOAB on MacOS X

Jason Kraftcheck kraftche at cae.wisc.edu
Tue Jun 10 09:51:48 CDT 2008


Thompson, David C wrote:
> Hi,
> 
>     I decided to try MOAB on my MacOS X machine and it
> almost builds... except for the fact that errmem.h (both
> copies of it -- in parallel and tools/mbcoupler) includes
> malloc.h which isn't present on Darwin. What's the "MOAB
> way" to detect header files and select which ones get
> included? 

GNU autoconf (http://www.gnu.org/software/autoconf/)

> It looks like errmem.h will be included by any
> client that needs MBParallelComm.hpp, so it seems like
> this should be something that's saved so client programs
> using MOAB don't have to look for the header file and
> define (or not) MOAB-specific stuff themselves.
> 

This problem has been fixed.  errmem.h did not require malloc.h and no
longer includes it.

- jason





More information about the moab-dev mailing list