Configuring my Matlab compiler as LCC doesn't work. I can't load fs2000k2_dynamic.mexw32 even directly from Matlab.
George, Sebastien, You should first verify that the DLLs createed with use_dll work indeed with Matlab before attemping to debug k_order_perturbation.cpp
Even if it isn't that, the problem is most likely with the calling of Dynamic DLL. This is the only part that is different under Windows and Linux.
Best
Michel
Hi Michel
lcc may not work in part because it may not export Dynamic function of <model>_dynamic.mexw* but that is unlikely to be the cause of the k-ord DLL crash.
I.e. this is why I run a test with my old k_order_perturbation with gcc and the enclosed mexopts.bat (with txt extension to pass email filters) that is special for exporting Dynamic too and that works (and as well with DsgeLikelihood.DLL) but the new korder DLL crashes regardless. so I will look into that.
Unfortunately the earlier used option to export all that I used on XP (and I guess works on Linux) does not work on Windows 7 as some additional files could not be found so I have to explicitly specify export of Dynamic too.
Best regards
George
----- Original Message ----- From: "Michel Juillard" michel.juillard@ens.fr To: "List for Dynare developers" dev@dynare.org Sent: Thursday, December 03, 2009 11:44 AM Subject: [DynareDev] k_order_perturbation under Windows
Configuring my Matlab compiler as LCC doesn't work. I can't load fs2000k2_dynamic.mexw32 even directly from Matlab.
George, Sebastien, You should first verify that the DLLs createed with use_dll work indeed with Matlab before attemping to debug k_order_perturbation.cpp
Even if it isn't that, the problem is most likely with the calling of Dynamic DLL. This is the only part that is different under Windows and Linux.
Best
Michel
Dev mailing list Dev@dynare.org http://www.dynare.org/cgi-bin/mailman/listinfo/dev