Menu

#1 Canot compile / link samples

v1.0 (example)
open
cdron77
4
2009-01-07
2008-11-19
No

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?

Discussion

  • cdron77

    cdron77 - 2008-12-09

    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

     
  • cdron77

    cdron77 - 2008-12-09
    • status: open --> pending
     
  • SourceForge Robot

    • status: pending --> closed
     
  • SourceForge Robot

    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).

     
  • Nobody/Anonymous

    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".

     
  • Morten MacFly

    Morten MacFly - 2009-01-07
    • milestone: --> v1.0 (example)
    • status: closed --> open
     
  • cdron77

    cdron77 - 2009-01-07

    I'm sorry for that. Supporting MinGW is an important feature. I'll add it to the todo for the next release.

    cdron77

     
  • cdron77

    cdron77 - 2009-01-07
    • priority: 5 --> 4
    • assigned_to: nobody --> cdron77
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.