[ADMB Users] Matrix functions for ADMB-RE

Stirrup, Oliver oliver.stirrup.13 at ucl.ac.uk
Fri Jun 27 14:14:35 PDT 2014


Thanks for getting back to me again, Dave. I have made the amendment to the TPL file that you suggest, but still haven't quite got this working. Compilation seems to progress to a later stage than previously, but I am ending up with the following error message:
<<<

*** adcomp -r orange
g++ -c -O3 -Wno-deprecated -D__GNUDOS__ -Dlinux -DOPT_LIB -DUSE_LAPLACE -fpermissive -I. -I"c:/ADMB/admb101-gcc452-win64\include" -o orange.obj orange.cpp

*** adlink -r orange
g++ -s -static -L"c:/ADMB/admb101-gcc452-win64\lib" orange.obj -ldf1b2o -ladmod -ladt -lado -ldf1b2o -ladmod -ladt -lado -o orange
orange.obj:orange.cpp:(.text+0xeb3): undefined reference to `solve(df1b2matrix const&, df1b2vector const&, df1b2variable const&, double&)'
orange.obj:orange.cpp:(.text+0x3fe5): undefined reference to `solve(df1b2matrix const&, df1b2vector const&, df1b2variable const&, double&)'
collect2: ld returned 1 exit status

Error: could not create orange.exe

>>>

Oliver
________________________________________
From: dave fournier <davef at otter-rsch.com>
Sent: 27 June 2014 17:46
To: users at admb-project.org; Stirrup, Oliver
Subject: Re: [ADMB Users] Matrix functions for ADMB-RE

Line 75 in your tpl file should be



     dvar_vector tmp=solve(Vi,res,ld,sgn);


Sorry this is so finicky.  Maybe eventually  we will get past pretty
printing documentation
and just fix stuff.

      Dave


More information about the Users mailing list