User forums > Help
SVN trunk bild
MasterAlexei:
Hello all,
I am trying to build CB from trunk, did try to build revs 7929 7927 7917, against wx2.8.10
They are not building.
How the people can build them? What needs to be set to make build?
One of error is that the file #include "editors.h" cannot be found in props.h
Ok. I did added the include path with triangle braces in more than 5 such places.
Also I did added include pathes into cbp file for the boost, because of tr1/memory include
Then I get a linker errors, that i cannot find something, listed here http://forums.codeblocks.org/index.php/topic,16178.msg109270.html#msg109270
How can I build it?
I did update my MinGW to the latest available, also - didn't help
Also I tried to build win wx2.9.3 the same result, but the errors are a little bit different.
Thanks in advance,
Alexei
Jenna:
Works flawlessly here, on windows and linux.
If you use wx2.9, use the appropriate project-file.
Buildiing of the most contrib plugins will not work with wx2.9.
Make sure the old pch-files (src/iclude/*.gch) are removed.
Since several revisisions they will be build inside th .objs-folder (if you build C::B with the cbp-files), but (MinGW-)gcc will pick-up the files from src/include if they still exist.
MasterAlexei:
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 )
--- Code: ---...
-------------- 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)
--- End code ---
MasterAlexei:
Can it be, that if I did build another build type of wx's (shared, debug, ansi) as last one the build process of wxWidgets stores the (wrong for CB) setup and the CB build process try to use it?
PS. I have several builds types of wxWidgets on my PC.
stahta01:
@MasterAlexei:
I got the same error as you got on "wxMemoryFSHandler" but, I assumed it was a Compiler mismatch issue.
(I guessed it was using SJLJ and DW2 GCC build issue.)
Are you sure you used the same version/build MinGW GCC to build the wxWidget's Library and Code::Blocks.
I never was able to confirm the cause; but, It work for me with 2.8 branch using TDM SJLJ 4.6.1 GCC.
Tim S.
Navigation
[0] Message Index
[#] Next page
Go to full version