Dear Sebastien,

 

When trying to use the use_dll-option with Dynare 4.3.0 or .2 (Windows 7 64 with Visual Studio 2010), I get the following error message:

 

LINK : error LNK2001: unresolved external symbol Dynamic

C:\Users\Johannes\AppData\Local\Temp\mex_yBgjEV\templib.x : fatal error LNK1120: 1 unresolved externals

 

  C:\PROGRA~1\MATLAB\R2011A\BIN\MEX.PL: Error: Link of 'example1_static.mexw64' failed.

 

??? Error using ==> mex at 208

Unable to complete successfully.

 

Error in ==> example1 at 66

    eval('mex -O LINKFLAGS="$LINKFLAGS /export:Dynamic" example1_static.c example1_static_mex.c')

 

Error in ==> dynare at 120

evalin('base',fname) ;

 

4.2.5 runs on the same machine with use_dll. Any idea what is going on? This is a replication of the problem described here: http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=4351

 

The generated C-files are attached.

 

Best,

 

Johannes

 

 

--

Johannes Pfeifer

Haußerstr. 29

72076 Tübingen

Tel.: +49-(0)7071-6396184

Mobil.: +49-(0)170-6936820

Germany