Ive been trying to compile Code Blocks on Ubuntu Dapper 6.06 and i cant seem to get it to compile fully. It bootstraps just fine and will also configure without any errors but when i try to run a make on it i get to the plugins dir where it hits the project wizard and then it dies trying to compile. So far anything ive tried hasnt fixed it and i tried installing off a package that someone on the UbuntuForums had but their package dosnt work very well for me as it crashes a LOT!
wiz.cpp: In member function 'void Wiz::FillComboboxWithCompilers(const wxString&)':
wiz.cpp:545: error: invalid use of undefined type 'struct Compiler'
../../../src/sdk/compilerfactory.h:11: error: forward declaration of 'struct Compiler'
wiz.cpp:547: error: invalid use of undefined type 'struct Compiler'
../../../src/sdk/compilerfactory.h:11: error: forward declaration of 'struct Compiler'
wiz.cpp: In member function 'wxString Wiz::GetCompilerFromCombobox(const wxString&)':
wiz.cpp:568: error: invalid use of undefined type 'struct Compiler'
../../../src/sdk/compilerfactory.h:11: error: forward declaration of 'struct Compiler'
make[4]: *** [wiz.lo] Error 1
make[4]: Leaving directory `/home/xen/Desktop/Devlopment/SVN_SourceBlocks/trunk/src/plugins/projectwizard'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/xen/Desktop/Devlopment/SVN_SourceBlocks/trunk/src/plugins/projectwizard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/xen/Desktop/Devlopment/SVN_SourceBlocks/trunk/src/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/xen/Desktop/Devlopment/SVN_SourceBlocks/trunk/src'
make: *** [all-recursive] Error 1
**Just a note it seems more like its dieing on wiz.cpp atm?
These are the errors im getting so far and havnt been able to fix. If anyone has any ideas i could try i would be very happy =)
For reference im running all this:
Ubuntu Dapper 6.06 Fully Patched (AMD64)
CB source is: Checked out revision 2713.
wxGTK2 : Compiled and installed from source with no problems --- 2.6.3
I did have to make some links to the libs installed by wxGTK2 after it installed to get the make this far, but so far all attempts ive made to get any further have been no good.. Any help would be greatly appreciated.
Thanks!
HB