Yup, I finally managed to build CVS version of C::B (hoooray!
under Windows.
First of all,
big thanks for
this Wiki article - it was extremely helpful resource I would surely perish without. :mrgreen:
Then, still I encountered 2 little problems, that are not mentioned in the Wiki. Maybe this can somehow help other people.
1) WX_VER problem. It is described in this very thread, but still seems to exist in CVS version. I don't know where WX_VER variable is set (I haven't found it under Build options->Custom variables), but it seems that $(WX_VER) produces 2.4.2 (2.6.1 respectively) instead of 242 (261), so I got:
Linking dynamic library: devel\codeblocks.dll
E:\progs\dev\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lwxmsw2.4.2
collect2: ld returned 1 exit status
wxWidgets 2.4.2 compilation (if followed as described in Wiki) produces: libwxmsw
242.a
2) Hmmm. Somehow I was aware to run update.bat in order to create zipped resource files and put them into right places, but it would be nice to mention this, too.
However, it was not the problem that I encountered.
You might find this funny, but... it took me quite a moment to set up zip command that is compatible with update script! (that uses -j switch). Maybe it was just my almighty luck (tm) that I used bunch of wrong command-line zip tools (even gzip shipped with
extra.zip package didn't make it), but in case someone also have trouble with this - one of
these tools should help.
This one worked fine for me - just unpack somewhere, and point to its zip.exe in C::B update.bat script (i.e
set ZIPCMD=c:\zip\zip.exe).
Again, thanks for great IDE.
Btw. I found out that compiler option "Stop compiling after first error" always seem to produce error (I use MinGW)
cc1plus.exe: error: unrecognized command line option "-Wfatal-errors"