[MOAB-dev] MOAB error: Undefined symbols for architecture x86_64

Grindeanu, Iulian R. iulian at mcs.anl.gov
Mon Jul 6 08:51:53 CDT 2015


makefile.in is in the source folder;
where is your build folder, that one has a makefile generated from this one; which you can use to build any example
________________________________
From: Wu, Xu
Sent: Monday, July 06, 2015 8:48 AM
To: Grindeanu, Iulian R.; moab-dev at mcs.anl.gov
Subject: Re: MOAB error: Undefined symbols for architecture x86_64

Thanks Iulian,

I tried that before, but the headers files can not be found.
And I do have MOAB_DIR as my environment variable.
I attached the makefile.in in the examples folder.
Thanks,

-Xu


[xuwu][~/software/sharp_deps/moab-4.8.0/share/examples]> make HelloMOAB

mpicxx     HelloMOAB.cpp   -o HelloMOAB

HelloMOAB.cpp:10:25: fatal error: moab/Core.hpp: No such file or directory

 #include "moab/Core.hpp"

                         ^

compilation terminated.

make: *** [HelloMOAB] Error 1

[xuwu][~/software/sharp_deps/moab-4.8.0/share/examples]> make HelloMOAB MOAB_DIR=/Users/xuwu/software/sharp_deps/moab-4.8.0

mpicxx     HelloMOAB.cpp   -o HelloMOAB

HelloMOAB.cpp:10:25: fatal error: moab/Core.hpp: No such file or directory

 #include "moab/Core.hpp"

                         ^

compilation terminated.

make: *** [HelloMOAB] Error 1

[xuwu][~/software/sharp_deps/moab-4.8.0/share/examples]> echo $MOAB_DIR

/Users/xuwu/software/sharp_deps/moab-4.8.0


From: "Grindeanu, Iulian R." <iulian at mcs.anl.gov<mailto:iulian at mcs.anl.gov>>
Date: Monday, July 6, 2015 at 8:36 AM
To: Xu Wu <xuwu at anl.gov<mailto:xuwu at anl.gov>>, "moab-dev at mcs.anl.gov<mailto:moab-dev at mcs.anl.gov>" <moab-dev at mcs.anl.gov<mailto:moab-dev at mcs.anl.gov>>
Subject: RE: MOAB error: Undefined symbols for architecture x86_64

make HelloMOAB MOAB_DIR=/Users/xuwu/software/sharp_deps/moab-4.8.0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20150706/667c7a2c/attachment-0001.html>


More information about the moab-dev mailing list