Error compile CodeBlocks project

  • Marlon Garrizano

    When I compile the project created, wxSFDemo.cbp, I get this error:

    /opt/wxSF_src_1.9.1/samples/wxSFDemo/FrameCanvas.cpp||In member function ‘virtual void FrameCanvas::OnLeftDown(wxMouseEvent&)’:|
    /opt/wxSF_src_1.9.1/samples/wxSFDemo/FrameCanvas.cpp|91|error: ‘wxOPEN’ was not declared in this scope|
    ||=== Build finished: 1 errors, 0 warnings ===|

    Can anyone help me.


  • Michal Bližňák

    Hi, what wxWidgets version do you use? The problem is caused by missing wxOPEN standard symbol. Hopefully I fixed it in SVN 291. Thank you for the feedback.

  • Anonymous - 2010-06-01

    I'm using 2.9.1, the package I downloades was "wxWidgets-2010-04-26" and I compile it with this command "MinGW32-make -f makefile.gcc BUILD=release SHARED=0 MONOLITHIC=1 UNICODE=0 RUNTIME_LIBS=static". I'm using Windows XP SP2.

  • Anonymous - 2010-06-01

    I really do not have a lot of experience in this.
    I believe that I need that you guide me stepwise on how compiling it in my environment.
    Little by little I will be gaining more experience.
    I will be grateful very much for your help.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks