[MOAB-dev] MOAB error: Undefined symbols for architecture x86_64
Wu, Xu
xuwu at anl.gov
Mon Jul 6 08:11:52 CDT 2015
Hi,
I tried a few MOAB examples, and got compile errors like below.
I am using OS X Yosemite 10.10.3.
Can anybody suggest a solution?
Thanks.
[xuwu][~/software/sharp_deps/moab-4.8.0/share/examples]> make HelloMOAB MOAB_DIR=/Users/xuwu/software/sharp_deps/moab-4.8.0 CPPFLAGS=-I/Users/xuwu/software/sharp_deps/moab-4.8.0/include/
mpicxx -I/Users/xuwu/software/sharp_deps/moab-4.8.0/include/ HelloMOAB.cpp -o HelloMOAB
Undefined symbols for architecture x86_64:
"moab::Core::Core()", referenced from:
_main in ccfOALBp.o
"moab::Range::clear()", referenced from:
moab::Range::~Range() in ccfOALBp.o
"moab::MBError(int, char const*, char const*, char const*, moab::ErrorCode, char const*, moab::ErrorType)", referenced from:
_main in ccfOALBp.o
"moab::Range::size() const", referenced from:
_main in ccfOALBp.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make: *** [HelloMOAB] Error 1
-Xu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20150706/ef6fc9f9/attachment.html>
More information about the moab-dev
mailing list