#61 Error starting wxhaskell executables

open
nobody
None
5
2013-09-19
2012-10-05
siodine
No

---------------------------
test.exe - Application Error
---------------------------
The application was unable to start correctly (0xc0000142). Click OK to close the application.
---------------------------
OK
---------------------------

This is on Windows 8, wx-0.90.0.1, wxc-0.90.0.4, wxcore-0.90.0.3, wxdirect-0.90.0.1, wxWidgets 2.9.4. wxWidgets C++ samples compiled with mingw do not have this error. Programs compiled with old wxhaskell (latest version to support wxWidgets 2.8) do work.

Discussion

  • Or the MinGW/gcc was too new (the DLLs generated by a recent version of gcc seem to be incompatible with the binaries compiled by the gcc that comes with GHC).