|[ADMB Users] ADMB 64 MS visual 10 -- Building DLL issues||Nassar||1/16/12 3:48 PM|
I have installed ADMB 10 (64bit) and compiling it with Microsoft Visual Studio 10.0 (SDK 7.1 with .NET 4.0)
Thanks to Allan Hicks, compiling the programs and building executables is perfectly running.
But I do have troubles building DLL, somebody overcame this issue?
Tpl2cpp –gaussdll simple
Adcomp64 –d simple
Those commands wen ok
Adlink64 –d simple
I had to interrupt this command avec several min without any answer
Advices & help are highly welcome
|Re: [ADMB Users] ADMB 64 MS visual 10 -- Building DLL issues||Arni Magnusson||1/16/12 4:32 PM|
I believe the DLL compilation is broken on most platforms - but probably
Many years ago, Dave Fournier implemented fully working DLL compilation on
When I wrote the adcomp/adlink/admb scripts in 2009, I decided to provide
The development team has only allocated limited efforts to examine the
This should probably be an ADMB FAQ entry, and the DLL chapter in the
DLL compilation could definitely streamline the process of interfacing
|Re: [ADMB Users] ADMB 64 MS visual 10 -- Building DLL issues||Ian Taylor||1/17/12 10:17 AM|
I just copied Arni's email (pretty much verbatim) into a new FAQ item: http://admb-project.org/documentation/faq#dll
If anyone has a suggestion for a revision to that, or if it ceases to be the current state of ADMB, please let me know.
|Re: [ADMB Users] ADMB 64 MS visual 10 -- Building DLL issues||Weihai Liu||1/17/12 10:36 AM|
I use one of the old example from the admb manual, the admb -d works fine on mingw gnu compiler for windows for the latest revision. Not sure for other compiler though.
|Re: [ADMB Users] ADMB 64 MS visual 10 -- Building DLL issues||Brandon||1/17/12 10:37 AM|
I know that Bob Lessard with Columbia River Inter-Tribal Fish Commission has built a number of VB applications that use ADMB DLLs. I have built several myself but it was with a much older version of ADMB and compiled using Visual Studio 6.0. Quite frankly Bob held my hand most of the way in terms of getting the linking correct. You may want to contact him directly as I don't believe he is part of the ADMB list serve. He could probably help develop some instructions for Windows users.
University of California Santa Barbara, Bren School
|Re: [ADMB Users] ADMB 64 MS visual 10 -- Building DLL issues||Nassar||1/17/12 3:13 PM|
Thanks to all, your replies help me to focus on the main issue for adlink.bat line:
cl simple.obj df1b2o.lib admod32.lib ado32.lib adt32.lib /link /libpath:"C:\Program Files (x86)\ADMB"\lib /libpath:"C:\Program Files\Microsoft SDKs\Windows\v7.1"\lib\x64
What do I have to change in order to get a DLL rather than a EXE file?