<html><head></head><body 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></body></html>