Hi Pedro,

Perhaps the libglib-2.0.0.dll that is getting loaded is not the one you want.  You should be able to use a tool like process explorer [1] to see which specific dlls are getting loaded when you run.

Ryan

[1] http://technet.microsoft.com/en-us/sysinternals/bb896653

2011/3/15 José Pedro Magalhães <jpm@cs.uu.nl>
Hi all,

I'd just like to add that I succeeded in building gtk2hs in Windows XP 64bit with GHC 7.0.2, using the 2.16 bundle from [1] and following the instructions in [2].

However, running the test program of [2] still fails at runtime with "The procedure entry point g_assertion_message_expr could not be located in the dynamic link library libglib-2.0.0.dll". Any idea what could cause this? Do I need to add -l something when compiling the program?


Thanks,
Pedro

[1] http://www.gtk.org/download-windows.html