You need to install XCode for the MacOS which is free.<br><br><div class="gmail_quote">On Mon, May 21, 2012 at 12:55 AM, Arni Magnusson <span dir="ltr"><<a href="mailto:arnima@hafro.is" target="_blank">arnima@hafro.is</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Curry,<br>
<br>
The error message<br>
<br>
g++: command not found<br>
<br>
sounds like the g++ command is not in your path. This means that your C++ compiler is not properly (if at all) set up.<br>
<br>
There is one test before compiling simple.tpl, and that is to compile hello.cpp.<span class="HOEnZb"><font color="#888888"><br>
<br>
Arni</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
On Sun, 20 May 2012, Curry Cunningham wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello ADMB users,<br>
<br>
I recently updated my mac os to 10.7.3 (lion) and now I cannot compile my .tpl files without getting the following message:<br>
<br>
*** Parsing: tpl2cpp simple<br>
<br>
*** Compiling: CXXFLAGS="-m64" adcomp simple<br>
g++ -c -O3 -Wno-deprecated -DOPT_LIB -D__GNUDOS__ -Dlinux -DUSE_LAPLACE -fpermissive -I. -I/usr/local/admb/include -m64 simple.cpp<br>
/usr/local/admb/bin/adcomp: line 38: g++: command not found<br>
<br>
Error: Failed to build executable.<br>
<br>
However when I type in the 'admb' command I get:<br>
<br>
Usage: admb [-d] [-g] [-r] [-s] model<br>
<br>
Build AD Model Builder executable from TPL.<br>
<br>
-d Create DLL<br>
-g Insert debugging symbols<br>
-r Create ADMB-RE<br>
-s Enforce safe bounds<br>
model Filename prefix, e.g. simple<br>
<br>
Has anyone been able to successfully compile and build ADMB projects with OS 10.7.3 through Xcode 3.2.5?<br>
<br>
Any suggestions would be greatly appreciated,<br>
<br>
Curry J. Cunningham<br>
School of Aquatic and Fishery Sciences,<br>
University of Washington<br>
<a href="tel:%28907%29%20360.4217" value="+19073604217" target="_blank">(907) 360.4217</a><br>
<br>
<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@admb-project.org" target="_blank">Users@admb-project.org</a><br>
<a href="http://lists.admb-project.org/mailman/listinfo/users" target="_blank">http://lists.admb-project.org/<u></u>mailman/listinfo/users</a><br>
<br>
</blockquote>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@admb-project.org" target="_blank">Users@admb-project.org</a><br>
<a href="http://lists.admb-project.org/mailman/listinfo/users" target="_blank">http://lists.admb-project.org/<u></u>mailman/listinfo/users</a><br>
</div></div></blockquote></div><br>