Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Malachy1681 on November 27, 2005, 08:24:55 am

Title: Problems Building Code::Blocks with Code::Blocks
Post by: Malachy1681 on November 27, 2005, 08:24:55 am
I'm trying to use the latest downloaded C::B binaries to compile CVS head, but I get the following errors during the build of wxDockIt:

Code
src\wxDockit\src\generic\barholder.cpp:23: error: definition of static data member 'wxBarHolder::sm_eventTable' of dllimport'd class.
src\wxDockit\src\generic\barholder.cpp:23: error: definition of static data member 'wxBarHolder::sm_eventHashTable' of dllimport'd class.
src\wxDockit\src\generic\barholder.cpp:23: error: definition of static data member 'wxBarHolder::sm_eventTableEntries' of dllimport'd class.
src\wxDockit\src\generic\barholder.cpp:31: error: definition of static data member 'wxBarHolder::ms_classInfo' of dllimport'd class.

I'm using the project 'CodeBlocks-NewBuild.cbp'.  Any help would be greatly appreciated.
Title: Re: Problems Building Code::Blocks with Code::Blocks
Post by: rickg22 on November 27, 2005, 02:49:35 pm
Um you can't trying to compile CVS with RC2... the project file has been changed and has new requirements. You need to compile a previous CVS version (forgot which one) to compile the latest. Try downloading Ceniza's SVN build instead.
Title: Re: Problems Building Code::Blocks with Code::Blocks
Post by: mandrav on November 27, 2005, 03:32:59 pm
Um you can't trying to compile CVS with RC2... the project file has been changed and has new requirements. You need to compile a previous CVS version (forgot which one) to compile the latest. Try downloading Ceniza's SVN build instead.

CodeBlocks.cbp has been updated, although for unicode build...
Title: Re: Problems Building Code::Blocks with Code::Blocks
Post by: Malachy1681 on November 27, 2005, 08:31:33 pm
I'm not sure I understand why you can't compile the latest CVS using RC2.  I'm using the project files that came in CVS.
Title: Re: Problems Building Code::Blocks with Code::Blocks
Post by: sethjackson on November 27, 2005, 08:37:03 pm
Some of the project files in CVS won't work with RC2.
Title: Re: Problems Building Code::Blocks with Code::Blocks
Post by: Malachy1681 on November 27, 2005, 08:54:41 pm
Well, if I can't use RC2 to compile C::B CVS, then I have to use a makefile, but there don't seem to be any makefiles for MinGW.
Title: Re: Problems Building Code::Blocks with Code::Blocks
Post by: sethjackson on November 27, 2005, 10:17:15 pm
Download one of Ceniza's SVN binaries then compile C::B

http://gda.utp.edu.co/~ceniza/CodeBlocks/
Title: Re: Problems Building Code::Blocks with Code::Blocks
Post by: Malachy1681 on November 28, 2005, 05:50:04 am
Thanks alot everyone.  I downloaded one of Ceniza's SVN binaries and got it all compiled and working.  :D