<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Those line numbers refer to lines of df13tester.cpp<br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><span class="Apple-style-span" style="font-size: 12px; "><div><span class="Apple-style-span" style="font-size: medium;"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></span></div></span></div></span></div><div><div>On 15 May 2011, at 4:54 PM, Mollie Brooks wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">These steps (below, for Unix with g++) seem to have worked perfectly for the compile on my mac. The problem was that I got distracted during the verify and forgot step 6. Sorry for wasting your time.<div>There was no need to edit ./.bashrc and no need to restart the terminal before using it.</div></div></blockquote><div><br></div>After commenting out lines 309, 314, and 943 to 1050, I was able to compile the the code and attempted to run the model . However, it appears that the function isn't defined for my variable type</div><div><div><br></div><div>*** Parsing: tpl2cpp firdbhfec</div><div><br></div><div>*** Compiling: CXXFLAGS="-m64" adcomp firdbhfec</div><div>g++ -c -O3 -Wno-deprecated  -DOPT_LIB -D__GNUDOS__ -Dlinux -DUSE_LAPLACE -fpermissive -I. -I/usr/local/admb/include -m64 firdbhfec.cpp</div><div>firdbhfec.cpp: In member function ‘virtual void model_parameters::userfunction()’:</div><div>firdbhfec.cpp:35: error: cannot convert ‘prevariable’ to ‘double’ for argument ‘2’ to ‘double log_density_negbinomial(double, double, double)’</div><div><br></div><div>Error: Failed to build executable.</div></div><div><br><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>thanks,</div><div>Mollie</div><div><br></div><div><br><div>
<div><span class="Apple-style-span" style="font-size: 12px; "><div><span class="Apple-style-span" style="font-size: medium; ">Begin forwarded message:</span></div></span></div></div><div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>From: </b></span><span style="font-family:'Helvetica'; font-size:medium;">Steve Martell <<a href="mailto:martell.steve@gmail.com">martell.steve@gmail.com</a>><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>Date: </b></span><span style="font-family:'Helvetica'; font-size:medium;">15 May, 2011 2:47:32 PM EDT<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>To: </b></span><span style="font-family:'Helvetica'; font-size:medium;">Mollie Brooks <<a href="mailto:mbrooks@ufl.edu">mbrooks@ufl.edu</a>><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>Subject: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><b>Re: [ADMB Users] lgam in 10.0</b><br></span></div><br><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Mollie,<div>I compile and install the source code all the time using the following steps.  Sounds to me like your missing step 6.  I don't edit the .bashrc file.  Mine has nothing in it.</div><div><br></div><div>S.</div><div><br></div><div><div>Installation from Source Code</div><div>=============================</div><div>Below are procedures for installing ADMB from source code.</div><div><br></div><div>Unix and GNU g++</div><div>----------------</div><div>1. Extract source distribution</div><div>   </div><div>   $ unzip admb-10.0.zip</div><div><br></div><div>2. Change to distribution directory</div><div><br></div><div>   $ cd admb-10.0</div><div><br></div><div>3. Configure the build files for 32-bit</div><div><br></div><div>   $ ./configure</div><div><br></div><div>   or configure the build files for 64-bit.</div><div><br></div><div>   $ ./configure BUILD_64BIT=yes</div><div><br></div><div>4. Build libraries </div><div>  </div><div>   $ make</div><div><br></div><div>5. [Optional] Test build by running examples</div><div><br></div><div>   $ make verify</div><div><br></div><div>6. Install libraries to default location /usr/local.</div><div><br></div><div>   $ make install</div><div><br></div></div></div></blockquote></div></div></div></div></blockquote></div><br></div>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@admb-project.org">Users@admb-project.org</a><br>http://lists.admb-project.org/mailman/listinfo/users<br></blockquote></div><br></body></html>