[ADMB Users] Problem with ADMB-IDE

Arni Magnusson arnima at hafro.is
Thu Sep 16 11:42:56 PDT 2010


Hi Gary,

My first guess is that the problem is related to environment variables. 
Can you send the exact output from these Dos commands:

   echo %ADMB_HOME%
   echo %PATH%

Also, tests 1 and 2 in the FAQ entry 
http://admb-project.org/documentation/faq#ADMB-IDE-installation can help 
identifying whether the (1) GCC compiler and (2) ADMB are properly set up. 
We'll expand the FAQ entry, after finding out what was the problem.

Arni



On Thu, 16 Sep 2010, Nelson, Gary (FWE) wrote:

> I installed ADMB-IDE on my Windows XP computer today using the Windows 
> Installer.  When I compiled the 'simple' example in the manual, I get 
> some errors (see below) that I don't understand.  I checked all of the 
> PATH variables and everything seems to be ok. Any suggestions?
>
> Thanks,
>
> Gary Nelson.
>
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
> -*- mode: compilation; default-directory: "c:/simple/" -*-
> Compilation started at Thu Sep 16 13:56:35
>
> admb  simple
>
> *** tpl2cpp   simple
> xxglobal.tmp
> xxhtop.tmp
> header.tmp
> xxalloc.tmp
> xxtopm.tmp
>        1 file(s) copied.
>
> *** adcomp     simple
> g++ -c -O3 -Wno-deprecated -D__GNUDOS__  -Dlinux -DOPT_LIB -DUSE_LAPLACE -fpermissive -I. -Ic:/admb/gcc440/include simple.cpp
>
> *** adlink     simple
> g++ -s -static  -Lc:/admb/gcc440/lib simple.o -ldf1b2stub -ladmod -ladt -lado -ldf1b2stub -ladmod -ladt -lado -o simple
> c:/admb/gcc440/lib\libadmod.a(admodel.obj):admodel.cpp:(.text$_ZN17named_dvar_vectorD2Ev[named_dvar_vector::~named_dvar_vector()]+0x34): undefined reference to `_Unwind_Resume'
> c:/admb/gcc440/lib\libadmod.a(admodel.obj):admodel.cpp:(.text$_ZN15named_dvariableD2Ev[named_dvariable::~named_dvariable()]+0x34): undefined reference to `_Unwind_Resume'
> c:/admb/gcc440/lib\libadmod.a(admodel.obj):admodel.cpp:(.text$_ZN17named_dvar_matrixD2Ev[named_dvar_matrix::~named_dvar_matrix()]+0x34): undefined reference to `_Unwind_Resume'
> c:/admb/gcc440/lib\libadmod.a(admodel.obj):admodel.cpp:(.text$_ZN17named_dvar3_arrayD2Ev[named_dvar3_array::~named_dvar3_array()]+0x34): undefined reference to `_Unwind_Resume'
> c:/admb/gcc440/lib\libadmod.a(admodel.obj):admodel.cpp:(.text$_ZN18dll_named_adstringC1Ev[dll_named_adstring::dll_named_adstring()]+0x3c): undefined reference to `_Unwind_Resume'
> c:/admb/gcc440/lib\libadmod.a(admodel.obj):admodel.cpp:(.text$_ZN14named_d7_arrayC1Ev[named_d7_array::named_d7_array()]+0x35): more undefined references to `_Unwind_Resume' follow
> c:/admb/gcc440/lib\libadmod.a(admodel.obj):admodel.cpp:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
> c:/admb/gcc440/lib\libadmod.a(model7.obj):model7.cpp:(.text+0x2ba): undefined reference to `_Unwind_Resume'
> .
> .
> .
> .
>



More information about the Users mailing list