I am able to build the wxMathPlot library using the MinGW compiler suite under Windows (XP). I can also compile and link all samples. But when I try to run any of the sdamples I get the following error:
---------------------------
sample1.exe - Error
---------------------------
The application could not be initialised (0xc0000005). Click "OK" to terminate the application.
---------------------------
OK
---------------------------
I am using wxWidgets 2.8.9 (unicode).
Any hints?
And (btw): Where are the Makefiles you refer to in the README document?
Did you tried the 0.1.0 version? Previous versions were beta releases and a lot of this didn't work. Please try the latest version and let me know.
Unfortunately I never tried MinGW, but the code should work anyway.
About the makefiles, they has been removed in the latest version, because they are now automatically generated by CMake. Use Cmake to create Makefiles for MinGW. Unfortunately, README is outdated. I'll fix it as soon as possible.
cdron77
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
I didn't realise until today that there was really an answer (sorry for that).
So: I tried hard with CMake (several versiosn, including 0.1.0) but I am unable to tell CMake that I have correctly installed and compiled wxWidgets. I tried a million things (setting environment variables as proposed, modifying the wxWidgets detection script) none of them worked. So in fact: On Windows I still don't get it compiled correctly using MinGW/GCC. That's really a pity. All I would need is the correct Makefiles for that compiler and/or the correct compiler/linker settings.
Notice that I am not a wxWidgets newbie. I have several project I am developing that use wxWidgets and work. It's just CMake that I don't get to work. Probably you should consider taking another build environment... probably as a "backup".
I'm sorry for that. Supporting MinGW is an important feature. I'll add it to the todo for the next release.
cdron77