<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1" style="word-wrap:break-word; color:rgb(0,0,0); font-size:14px; font-family:Calibri,sans-serif">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">makefile.in is in the source folder;<br>
where is your build folder, that one has a makefile generated from this one; which you can use to build any example<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF650117"><font size="2" color="#000000" face="Tahoma"><b>From:</b> Wu, Xu<br>
<b>Sent:</b> Monday, July 06, 2015 8:48 AM<br>
<b>To:</b> Grindeanu, Iulian R.; moab-dev@mcs.anl.gov<br>
<b>Subject:</b> Re: MOAB error: Undefined symbols for architecture x86_64<br>
</font><br>
</div>
<div></div>
<div>
<div>Thanks Iulian,</div>
<div><br>
</div>
<div>I tried that before, but the headers files can not be found.</div>
<div>And I do have MOAB_DIR as my environment variable.</div>
<div>I attached the makefile.in in the examples folder.</div>
<div>Thanks,</div>
<div><br>
</div>
<div>-Xu</div>
<div><br>
</div>
<div>
<p style="margin:0px; font-size:11px; font-family:'Andale Mono'; color:rgb(61,240,45); background-color:rgb(79,8,45)">
<span style="color:#55cbff">[xuwu]</span>[~/software/sharp_deps/moab-4.8.0/share/examples]<span style="color:#fcfdff">> make HelloMOAB</span></p>
<p style="margin:0px; font-size:11px; font-family:'Andale Mono'; color:rgb(252,253,255); background-color:rgb(79,8,45)">
mpicxx HelloMOAB.cpp -o HelloMOAB</p>
<p style="margin:0px; font-size:11px; font-family:'Andale Mono'; color:rgb(252,253,255); background-color:rgb(79,8,45)">
HelloMOAB.cpp:10:25: fatal error: moab/Core.hpp: No such file or directory</p>
<p style="margin:0px; font-size:11px; font-family:'Andale Mono'; color:rgb(252,253,255); background-color:rgb(79,8,45)">
#include "moab/Core.hpp"</p>
<p style="margin:0px; font-size:11px; font-family:'Andale Mono'; color:rgb(252,253,255); background-color:rgb(79,8,45)">
^</p>
<p style="margin:0px; font-size:11px; font-family:'Andale Mono'; color:rgb(252,253,255); background-color:rgb(79,8,45)">
compilation terminated.</p>
<p style="margin:0px; font-size:11px; font-family:'Andale Mono'; color:rgb(252,253,255); background-color:rgb(79,8,45)">
make: *** [HelloMOAB] Error 1</p>
<p style="margin:0px; font-size:11px; font-family:'Andale Mono'; color:rgb(252,253,255); background-color:rgb(79,8,45)">
<span style="color:#55cbff">[xuwu]</span><span style="color:#3df02d">[~/software/sharp_deps/moab-4.8.0/share/examples]</span>> make HelloMOAB MOAB_DIR=/Users/xuwu/software/sharp_deps/moab-4.8.0</p>
<p style="margin:0px; font-size:11px; font-family:'Andale Mono'; color:rgb(252,253,255); background-color:rgb(79,8,45)">
mpicxx HelloMOAB.cpp -o HelloMOAB</p>
<p style="margin:0px; font-size:11px; font-family:'Andale Mono'; color:rgb(252,253,255); background-color:rgb(79,8,45)">
HelloMOAB.cpp:10:25: fatal error: moab/Core.hpp: No such file or directory</p>
<p style="margin:0px; font-size:11px; font-family:'Andale Mono'; color:rgb(252,253,255); background-color:rgb(79,8,45)">
#include "moab/Core.hpp"</p>
<p style="margin:0px; font-size:11px; font-family:'Andale Mono'; color:rgb(252,253,255); background-color:rgb(79,8,45)">
^</p>
<p style="margin:0px; font-size:11px; font-family:'Andale Mono'; color:rgb(252,253,255); background-color:rgb(79,8,45)">
compilation terminated.</p>
<p style="margin:0px; font-size:11px; font-family:'Andale Mono'; color:rgb(252,253,255); background-color:rgb(79,8,45)">
make: *** [HelloMOAB] Error 1</p>
<p style="margin:0px; font-size:11px; font-family:'Andale Mono'; color:rgb(61,240,45); background-color:rgb(79,8,45)">
<span style="color:#55cbff">[xuwu]</span>[~/software/sharp_deps/moab-4.8.0/share/examples]<span style="color:#fcfdff">> echo $MOAB_DIR </span></p>
<p style="margin:0px; font-size:11px; font-family:'Andale Mono'; color:rgb(252,253,255); background-color:rgb(79,8,45)">
/Users/xuwu/software/sharp_deps/moab-4.8.0</p>
</div>
<div><br>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; border-bottom:medium none; border-left:medium none; padding-bottom:0in; padding-left:0in; padding-right:0in; border-top:#b5c4df 1pt solid; border-right:medium none; padding-top:3pt">
<span style="font-weight:bold">From: </span>"Grindeanu, Iulian R." <<a href="mailto:iulian@mcs.anl.gov" target="_blank">iulian@mcs.anl.gov</a>><br>
<span style="font-weight:bold">Date: </span>Monday, July 6, 2015 at 8:36 AM<br>
<span style="font-weight:bold">To: </span>Xu Wu <<a href="mailto:xuwu@anl.gov" target="_blank">xuwu@anl.gov</a>>, "<a href="mailto:moab-dev@mcs.anl.gov" target="_blank">moab-dev@mcs.anl.gov</a>" <<a href="mailto:moab-dev@mcs.anl.gov" target="_blank">moab-dev@mcs.anl.gov</a>><br>
<span style="font-weight:bold">Subject: </span>RE: MOAB error: Undefined symbols for architecture x86_64<br>
</div>
<div><br>
</div>
<span style="color:rgb(252,253,255); font-family:'Andale Mono'; font-size:11px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px; background-color:rgb(79,8,45); float:none; display:inline!important">make
HelloMOAB MOAB_DIR=/Users/xuwu/software/sharp_deps/moab-4.8.0</span></span> </div>
</div>
</div>
</body>
</html>