Yes, for wx2.9.3 I used appropriate project file.
Now I did checked out clean svn rev 7929 (in a separate dir), and started build against wx2.8.10 with the CodeBlocks.cbp file.
I did get following errors:
I did not modify wx's since this version (2.8.10) was released (I mean - I did not do anything with that dir of wx's )
...
-------------- Build: wxpropgrid in Code::Blocks wx2.8.x ---------------
Target is up to date.
[100.0%] Running target pre-build steps
build_tools/autorevision/autorevision +wx +int +t . include/autorevision.h
-------------- Build: sdk in Code::Blocks wx2.8.x ---------------
Target is up to date.
-------------- Build: src in Code::Blocks wx2.8.x ---------------
[100.0%] mingw32-g++.exe -Lbase\tinyxml -LD:\Soft\SDKs\wxWidgets-2.8.10\lib\gcc_dll -Ldevel -o devel\codeblocks.exe .objs\src\app.o .objs\src\appglobals.o .objs\src\associations.o .objs\src\backtracedlg.o .objs\src\breakpointsdlg.o .objs\src\compilersettingsdlg.o .objs\src\cpuregistersdlg.o .objs\src\crashhandler.o .objs\src\debugger_interface_creator.o .objs\src\debuggermenu.o .objs\src\debuggersettingscommonpanel.o .objs\src\debuggersettingsdlg.o .objs\src\debuggersettingspanel.o .objs\src\disassemblydlg.o .objs\src\dlgabout.o .objs\src\dlgaboutplugin.o .objs\src\environmentsettingsdlg.o .objs\src\examinememorydlg.o .objs\src\infopane.o .objs\src\main.o .objs\src\notebookstyles.o .objs\src\printdlg.o .objs\src\scriptconsole.o .objs\src\scriptingsettingsdlg.o .objs\src\splashscreen.o .objs\src\startherepage.o .objs\src\switcherdlg.o .objs\src\threadsdlg.o .objs\src\watchesdlg.o .objs\src\resources\resources.res -Wl,--enable-auto-import -Wl,--no-undefined -lcodeblocks -lwxpropgrid -lshfolder -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lcomctl32 -lodbc32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lwxmsw28u -mwindows
.objs\src\app.o: In function `wxMemoryFSHandler':
D:/Soft/SDKs/wxWidgets-2.8.10/include/wx/fs_mem.h:67: undefined reference to `_imp___ZTV17wxMemoryFSHandler'
.objs\src\app.o: In function `~wxMemoryFSHandler':
D:/Soft/SDKs/wxWidgets-2.8.10/include/wx/fs_mem.h:67: undefined reference to `_imp___ZTV17wxMemoryFSHandler'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 9 seconds)
2 errors, 0 warnings (0 minutes, 9 seconds)
It seems to me totally strange.
With MinGW 3.4.5 wx's compiles in about 1 minute without any problems,
but with the MinGW 4.6.1 and 4.6.2 wx's compiles about 20 minutes and on linkage stage it aborted with a message, that memory is exhausted.
But the problem then with MinGW 3.4.5 the CB does not compiles, it throws an error:
[ 12.5%] mingw32-g++.exe -Wall -g -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE -DWXMAKINGDLL_PROPGRID -DwxPG_USE_WXMODULE=0 -DwxPG_SUPPORT_TOOLTIPS -I.objs\include -I- -I.objs\include -I. -ID:\Soft\SDKs\wxWidgets-2.8.10\include -ID:\Soft\SDKs\wxWidgets-2.8.10\\contrib\include -ID:\Soft\SDKs\wxWidgets-2.8.10\lib\gcc_dll\mswu -Isdk\wxscintilla\include -Isdk\wxpropgrid\include -Iinclude\tinyxml -Isdk\wxpropgrid\include -Iinclude -ID:\Soft\SDKs\CodeBlocksSVN\src\sdk\wxpropgrid\src -ID:\Soft\SDKs\CodeBlocksSVN\src -c D:\Soft\SDKs\CodeBlocksSVN\src\sdk\wxpropgrid\src\editors.cpp -o .objs\sdk\wxpropgrid\src\editors.o
cc1plus.exe: note: obsolete option -I- used, please use -iquote instead
In file included from D:\Soft\SDKs\CodeBlocksSVN\src\sdk\wxpropgrid\src\editors.cpp:63:0:
sdk\wxpropgrid\include/wx/propgrid/props.h:19:21: fatal error: editors.h: No such file or directory
compilation terminated.
What I am doing wrong?
During the compilation of the wx's there is only MinGW/bin directory in a path, in both cases.
Thanks, Alpha, it does work, and I was able to build the wx's.
But CB still does not builds because of the include files, that are missing
Actually the files are on the place, but this header was included from other .c file in other dir, but this header includes the editors.h file in the same dir as the header, but not the .c file, which includes the first header. Thus the quotas must be substitute with the triangle braces with some path. And this is not the only one place in CB Project.
That is why I do not understand, why other users are able to compile the CB, and I - not.
[ 11.1%] mingw32-g++.exe -Wall -g -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE -DWXMAKINGDLL_PROPGRID -DwxPG_USE_WXMODULE=0 -DwxPG_SUPPORT_TOOLTIPS -I.objs\include -I- -I.objs\include -I. -ID:\Soft\SDKs\wxWidgets-2.8.10\include -ID:\Soft\SDKs\wxWidgets-2.8.10\\contrib\include -ID:\Soft\SDKs\wxWidgets-2.8.10\lib\gcc_dll\mswu -Isdk\wxscintilla\include -Isdk\wxpropgrid\include -Iinclude\tinyxml -Isdk\wxpropgrid\include -Iinclude -ID:\Soft\SDKs\CodeBlocksSVN\src\sdk\wxpropgrid\src -ID:\Soft\SDKs\CodeBlocksSVN\src -c D:\Soft\SDKs\CodeBlocksSVN\src\sdk\wxpropgrid\src\editors.cpp -o .objs\sdk\wxpropgrid\src\editors.o
cc1plus.exe: note: obsolete option -I- used, please use -iquote instead
In file included from D:\Soft\SDKs\CodeBlocksSVN\src\sdk\wxpropgrid\src\editors.cpp:63:0:
sdk\wxpropgrid\include/wx/propgrid/props.h:19:21: fatal error: editors.h: No such file or directory
compilation terminated.
Tomorrow I'll try to fix this include issues, and will report here, if I was successful with the build.