[ADMB Users] ADMB on mac os 10.7.3
Johnoel Ancheta
johnoel at hawaii.edu
Mon May 21 09:23:18 PDT 2012
You need to install XCode for the MacOS which is free.
On Mon, May 21, 2012 at 12:55 AM, Arni Magnusson <arnima at hafro.is> wrote:
> Hi Curry,
>
> The error message
>
> g++: command not found
>
> sounds like the g++ command is not in your path. This means that your C++
> compiler is not properly (if at all) set up.
>
> There is one test before compiling simple.tpl, and that is to compile
> hello.cpp.
>
> Arni
>
>
>
>
> On Sun, 20 May 2012, Curry Cunningham wrote:
>
> Hello ADMB users,
>>
>> I recently updated my mac os to 10.7.3 (lion) and now I cannot compile my
>> .tpl files without getting the following message:
>>
>> *** Parsing: tpl2cpp simple
>>
>> *** Compiling: CXXFLAGS="-m64" adcomp simple
>> g++ -c -O3 -Wno-deprecated -DOPT_LIB -D__GNUDOS__ -Dlinux -DUSE_LAPLACE
>> -fpermissive -I. -I/usr/local/admb/include -m64 simple.cpp
>> /usr/local/admb/bin/adcomp: line 38: g++: command not found
>>
>> Error: Failed to build executable.
>>
>> However when I type in the 'admb' command I get:
>>
>> Usage: admb [-d] [-g] [-r] [-s] model
>>
>> Build AD Model Builder executable from TPL.
>>
>> -d Create DLL
>> -g Insert debugging symbols
>> -r Create ADMB-RE
>> -s Enforce safe bounds
>> model Filename prefix, e.g. simple
>>
>> Has anyone been able to successfully compile and build ADMB projects with
>> OS 10.7.3 through Xcode 3.2.5?
>>
>> Any suggestions would be greatly appreciated,
>>
>> Curry J. Cunningham
>> School of Aquatic and Fishery Sciences,
>> University of Washington
>> (907) 360.4217
>>
>>
>> ______________________________**_________________
>> Users mailing list
>> Users at admb-project.org
>> http://lists.admb-project.org/**mailman/listinfo/users<http://lists.admb-project.org/mailman/listinfo/users>
>>
>> ______________________________**_________________
> Users mailing list
> Users at admb-project.org
> http://lists.admb-project.org/**mailman/listinfo/users<http://lists.admb-project.org/mailman/listinfo/users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20120521/70d326d8/attachment.html>
More information about the Users
mailing list