Menu

Error compile CodeBlocks project

Help
2010-06-01
2013-04-08
  • 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.

    Thanks.

     
  • 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

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

     
  • Anonymous

    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.

     
  • Michal Bližňák

    If you use wxWidgets 2.9.x or higher then you must download a special branch for this wx version from SVN repository. The URL is: https://wxsf.svn.sourceforge.net/svnroot/wxsf/branches/wx2.9/trunk.

     

Log in to post a comment.