src/sdk/scripting/sqplus -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -MT sc_io.lo -MD -MP -MF .deps/sc_io.Tpo -c sc_io.cpp -fPIC -DPIC -o .libs/sc_io.o
sc_io.cpp: In function 'wxString ScriptBindings::IOLib::ChooseFile(const wxString&, const wxString&, const wxString&)':
sc_io.cpp:69: error: 'wxHIDE_READONLY' was not declared in this scope
make[5]: *** [sc_io.lo] Error 1
make[5]: Leaving directory `/home/alex/svnhome/codeblocks/trunk/src/sdk/scripting/bindings'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/alex/svnhome/codeblocks/trunk/src/sdk/scripting'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/alex/svnhome/codeblocks/trunk/src/sdk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/alex/svnhome/codeblocks/trunk/src/sdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/alex/svnhome/codeblocks/trunk/src'
make: *** [all-recursive] Error 1
I did a quick google search and it seems that it is related to wxWidgets 2.4 compatibility. Should I really be using that to compile codeBlocks?
On a side note, i'm trying to compile with wxX11, not GTK under SUSE 10.1. I hope there is nothing wrong with that.
My wxWidgets was compiled with unicode, non-monolithic, X11, and the rest default.
I recompiled wxWidgets with 2.4 compatibility, and it gets further, now this is the error.
-I./src/scintilla/include -I./src/scintilla/src -DSCI_LEXER -DLINK_LEXERS -DGTK -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -MT ScintillaWX.lo -MD -MP -MF .deps/ScintillaWX.Tpo -c src/ScintillaWX.cpp -fPIC -DPIC -o .libs/ScintillaWX.o
src/ScintillaWX.cpp: In member function 'void ScintillaWX::DoPaint(wxDC*, wxRect)':
src/ScintillaWX.cpp:687: warning: 'BeginDrawing' is deprecated (declared at /usr/local/include/wx-2.7/wx/dc.h:392)
src/ScintillaWX.cpp:698: warning: 'EndDrawing' is deprecated (declared at /usr/local/include/wx-2.7/wx/dc.h:393)
src/ScintillaWX.cpp: In member function 'int ScintillaWX::DoKeyDown(const wxKeyEvent&, bool*)':
src/ScintillaWX.cpp:890: error: duplicate case value
src/ScintillaWX.cpp:888: error: previously used here
src/ScintillaWX.cpp:891: error: duplicate case value
src/ScintillaWX.cpp:889: error: previously used here
src/ScintillaWX.cpp:894: error: duplicate case value
src/ScintillaWX.cpp:892: error: previously used here
src/ScintillaWX.cpp:895: error: duplicate case value
src/ScintillaWX.cpp:893: error: previously used here
make[4]: *** [ScintillaWX.lo] Error 1
make[4]: Leaving directory `/home/alex/svnhome/codeblocks/trunk/src/sdk/wxscintilla'
hmm, I now get these errors, this is using wxX11 2.6
Is it anything to do with the fact I'm using wxX11 over wxGTK?
I would really prefer to try out X11 native over GTK if at all possible.
./src/propgrid/custctrl.cpp:312:26: error: commctrl.h: No such file or directory
./src/propgrid/custctrl.cpp: In function 'void wxRendererNative_DrawButton(wxWindow*, wxDC&, const wxRect&, int)':
./src/propgrid/custctrl.cpp:357: error: 'wxUxThemeHandle' was not declared in this scope
./src/propgrid/custctrl.cpp:357: error: expected `;' before 'themeHandle'
./src/propgrid/custctrl.cpp:361: error: 'HTHEME' was not declared in this scope
./src/propgrid/custctrl.cpp:361: error: expected `;' before 'hTheme'
./src/propgrid/custctrl.cpp:367: error: 'hTheme' was not declared in this scope
./src/propgrid/custctrl.cpp:375: error: 'tagRECT' was not declared in this scope
./src/propgrid/custctrl.cpp:375: error: expected `;' before 'trect'
./src/propgrid/custctrl.cpp:376: error: 'trect' was not declared in this scope
./src/propgrid/custctrl.cpp:438: error: 'wxUxThemeEngine' has not been declared
./src/propgrid/custctrl.cpp:438: error: expected initializer before '->' token
make[4]: *** [custctrl.lo] Error 1
make[4]: Leaving directory `/home/alex/svnhome/codeblocks/trunk/src/sdk/propgrid'