[ADMB Users] TR: ADMB Win 64 & DLL
nassar.naji at orange.fr
Mon Mar 5 14:10:29 PST 2012
Hi Mark Thanks for your reply
Im launching a hundred of bat file which look like ..
latseg5 -nox -est -ams 20000000 -cbs 20000000 -gbs 20000000
and Im reading back all those simulations (several thousand of those files)
It would be great to be able to build DLL so one can interact with other
software.. Matlab/Gauss and other software has the multithreading, and ADMB
is the fastest optimizing tool I had ever experienced.
Taking advantage of the strength ADMB with the ease to handle data with
other software as researcher I would be able to my simulation up to 10 times
Ld be glad to get this issue resolved and share the solution with others..
De : Mark Maunder [mailto:mmaunder at iattc.org]
Envoyé : lundi 5 mars 2012 17:50
À : Naji Nassar; users at admb-project.org
Objet : RE: [ADMB Users] TR: ADMB Win 64 & DLL
I assume you are double clicking on the exe file. Try this: open the dos
(command) prompt (under the accessories folder in all programs), go to the
directory where the file is located (using cd directory path), type the name
of the exe.
From: users-bounces at admb-project.org [mailto:users-bounces at admb-project.org]
On Behalf Of Naji Nassar
Sent: Monday, March 05, 2012 3:58 AM
To: users at admb-project.org
Subject: [ADMB Users] TR: ADMB Win 64 & DLL
Using ADMB for simulation issues, Im running ADMB executables. But as those
executables DOS windows appear and disappear, I cant use my desktop
The compiler Im using is MSVC (SDK 7.1, Win7/64). I know that DLL are
causing problems within ADMB as Dave Fournier note (May 2009)
I hadd DLL's that worked with compiler A but not with compiler B. then other
ones with with B but not A.
I think it has something to do with global variables and reentry problems
Using MSVC as compiler for DLL. I tried using Arnis suggestions
tpl2cpp -gaussdll %1
cl /c /EHsc /O2 -D__MSVC32__ -DOPT_LIB -I. -I%ADMB64_HOME%/include %1.cpp
cl %1.obj admod32.lib adt32.lib ado32.lib /link /libpath:%ADMB64_HOME%/lib
/dll /export:%1 /out:%1.dll
LINK : fatal erroer LNK1104 : cant open file uuid.lib
I added the SDK lib directory
cl %1.obj admod32.lib adt32.lib ado32.lib /link /libpath:%ADMB64_HOME%\lib
/libpath:%MSSDK%\lib /dll /export:%1 /out:%1.dll
but still encountering problems
LINK : fatal erroer LNK1181 : cant open file files\Microsoft.obj
I would appreciate some help for this issue.. Ive tried several thing since
January with no success
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users