[ADMB Users] Mac OS 10.9.2 error compiling simple.tpl

John Brandon jbrandon at gmail.com
Tue Jun 10 14:34:28 PDT 2014


Hi Johnoel et al.

This is a query about installing / running ADMB 11.1 on Mac OS 10.9.2 (with Xcode 5.1.1). I’ve followed the instructions posted here:
http://www.admb-project.org/buildbot/documentation/QuickStartUnix.html

My first question has to do with step #2. After getting the most recent code through the ‘$ svn checkout ...’ command provided, I have tried running the command, '$ unzip admb.zip', but I get the message:
unzip:  cannot find or open admb.zip, admb.zip.zip or admb.zip.ZIP

Nevertheless, I went ahead and ran the '$ make’ and ‘$ make debug’ commands, and I didn’t see any errors reported (there were some warnings about unused variables as things were compiling). 

I have an older version of ADMB installed under /usr/local/admb. I remembered as part of that installation (on an earlier version of Mac OS) that the ADMB_HOME path had been set. So, I reset ADMB_HOME to point to the new installation files by running ‘$ export ADMB_HOME=/Users/johnbrandon/admb/build/dist’, to point to the sub-directory where the most recent files were installed (thinking the ‘dist’ directory would help point to the *.h files for *.tpl compiling). 

When I try to compile the ‘simple.tpl’ file, I get the following error (screenshot attached):
simple.cpp:37:3: error: use of undeclared identifier ‘admaster_slave_variable_interface’
 admaster_slave_variable_interface(*this);
^
1 error generated.

Does any of this suggest where I might correct things? 
If I can provide more information, let me know. 
Thanks,
John Brandon



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20140610/0d2b4580/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-1.png
Type: image/png
Size: 29311 bytes
Desc: not available
URL: <http://lists.admb-project.org/pipermail/users/attachments/20140610/0d2b4580/attachment-0001.png>


More information about the Users mailing list