Hello.
I have compiled wxGTK-2.4.2.tgz
Everything goes fine.
Next, i have downloaded release from CVS [sources from download page didn't run, I've got errors in ./bootstrap].
Bootstrap for CVS version goes OK, so as ./configure.
But after calling "make" i have the following error:
In file included from bindings/sc_wxarraystring.cpp:4:
bindings/sc_wxarraystring.h:20:23: wx/arrstr.h: No such file or directory
bindings/sc_wxarraystring.cpp: In function `wxString& StringAt(unsigned int,
scWxArrayString&)':
bindings/sc_wxarraystring.cpp:48: error: `size' undeclared (first use this
function)
bindings/sc_wxarraystring.cpp:48: error: (Each undeclared identifier is
reported only once for each function it appears in.)
What's wrong and how to fix it?
I am phuckin' with this since two days and still don't have C::B running on my Aurox 9.1 box ;(
OK Um, first of all, the CVS version of codeblocks requires wxWidgets 2.6.1.
NOW you tell me? :|
OK, i have downloaded wxWidgets-2.6.2, compilled and installed OK according to Tutorial on Wiki.
When I "make" the C::B sources next, the compilation goes a while longer, and I get a nice stuff of errors in my face. There is so many errors, so I paste only a few first of that:
bindings/scriptbindings.cpp:15: error: `cbProject' was not declared in this scope
bindings/scriptbindings.cpp:15: error: `p' was not declared in this scope
bindings/scriptbindings.cpp:15: error: variable or field `DummyAddRef' declared void
bindings/scriptbindings.cpp:15: error: syntax error before `{' token
bindings/scriptbindings.cpp:16: error: `cbProject' was not declared in this scope
bindings/scriptbindings.cpp:16: error: `p' was not declared in this scope
bindings/scriptbindings.cpp:16: error: variable or field `DummyRelease' declared void
bindings/scriptbindings.cpp:16: error: syntax error before `{' token
bindings/scriptbindings.cpp: In function `void gDebugLog(const wxString&)':
bindings/scriptbindings.cpp:36: error: `DBGLOG' undeclared (first use this function)
bindings/scriptbindings.cpp:36: error: (Each undeclared identifier is reported only once for each function it appears in.)
bindings/scriptbindings.cpp: In function `wxString gReplaceMacros(const wxString&, bool)':
bindings/scriptbindings.cpp:39: error: `Manager' undeclared (first use this function)
bindings/scriptbindings.cpp:39: error: syntax error before `::' token
bindings/scriptbindings.cpp: In function `void Register_ConfigManager(asIScriptEngine*)':
bindings/scriptbindings.cpp:88: error: `wxConfigBase' undeclared (first use this function)
bindings/scriptbindings.cpp:88: error: syntax error before `::' token
bindings/scriptbindings.cpp:88: error: `::Convert' undeclared (first use here)
bindings/scriptbindings.cpp:88: error: syntax error before `::' token
bindings/scriptbindings.cpp:88: error: syntax error before `&' token
bindings/scriptbindings.cpp:89: error: syntax error before `::' token
etc.
Why it's so HARD to compile?? I have tried so many ways and still i got errors.
Why don't you write exactly what libs and stuff are needed, how to compile it troublelessly and have fun?
Second, i think some of the files are in DOS format, you need to run dos2unix on them. There was some info on the forums, but I don't remember where... sorry
Not in CVS-version AFAIK..