[ADMB Users] user-contributed libraries
cminte at iattc.org
Tue Oct 14 14:25:44 PDT 2014
Hello Steve, thank you for your response. It worked! I copied the the .cpp and .h codes that I needed from the webpage (e.g. http://admb-project.org/documentation/api/qfc__sim_8cpp_source.html ) to the c:\admb\include directory and cleaned the line numbers in the code. Then my code compiles ok and includes what I need!
From: Steve Martell [mailto:SteveM at iphc.int]
Sent: Tuesday, October 14, 2014 2:06 PM
To: Mark Maunder
Cc: users at admb-project.org; Carolina Minte-Vera
Subject: Re: [ADMB Users] user-contributed libraries
Quick and dirty, put a copy of qfc_est.cpp in your tpl directory. Then in the GLOBALS_SECTION use #include "qfc_est.cpp". When you compile the code, the ADMB command should automatically compile the code.
However, if there is a header file for qfc_est.cpp, you'll have to include the header file, then compile with admb <myprog> qfc_est.cpp
On Oct 14, 2014, at 2:01 PM, Mark Maunder <mmaunder at iattc.org<mailto:mmaunder at iattc.org>> wrote:
From: Carolina Minte-Vera
Sent: Tuesday, October 14, 2014 11:40 AM
To: 'users at admb-project.org<mailto:users at admb-project.org>'
Cc: Arni Magnusson (arnima at hafro.is<mailto:arnima at hafro.is>)
Subject: user-contributed libraries
Dear Group and Dear Arni,
I just installed the binary distribution admb-ide-101-win64.zip
from ADMB at Google Code<http://code.google.com/p/admb-project/downloads/>. I want to use some user-contributed libraries in my code such as qfc_est.cpp from http://admb-project.org/documentation/api/group__CONTRIB.html
I could not find them in the admb-ide 10.1 I just installed.
I would appreciate any hint on how to make them available for the ADMB version I am using. Just manually copy them?
Users mailing list
Users at admb-project.org<mailto:Users at admb-project.org>
This internet e-mail message, and any files transmitted with it, contains confidential, privileged information that is intended only for the addressee. If you have received this e-mail message in error, please call us at (206) 634-1838 collect if necessary) and ask to speak to the message sender. Nothing in this e-mail or the act of transmitting it, is to be construed as a waiver of any rights or privileges enjoyed by the sender or the International Pacific Halibut Commission pursuant to the International Organizations Immunities Act, 22 U.S.C. Sec. 288 et seq.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users