Dear Michel
Thanks for pointing that missing definition: -D_WIN32 is indeed needed for successful compilation of dynamic_dll.cpp under windows so it should be defined by the Makefile
However, adding that definition and recompiling dynamic_dll for new instance of k_order_perturbation did not help on my machine under Matlab.
Best regards
George
----- Original Message ----- From: "Michel Juillard" michel.juillard@ens.fr To: "List for Dynare developers" dev@dynare.org Sent: Saturday, December 05, 2009 3:32 PM Subject: [DynareDev] k_order_perturbation under Windows
k_order_perturbation DLL works under Windows XP and Octave when compiled under Cygwin (with gcc-4), but it is necessary to add -D_WIN32 when compiling, in order to avoid the dlopen/dlclose functions. If these functions are present, Octave refuses to load the DLL.
I'm going to check with Matlab now
Best
Michel
Dev mailing list Dev@dynare.org http://www.dynare.org/cgi-bin/mailman/listinfo/dev