[MOAB-dev] MOAB on MacOS X

Thompson, David C dcthomp at sandia.gov
Mon Jun 9 23:59:41 CDT 2008


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? 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.

    Thanks,
    David




More information about the moab-dev mailing list