Compiling with CodeBlocks + mingw

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Sun Feb 26, 2006 18:04

Ok, I have committed the Code::Blocks projects that used to be attached to this thread into v0-4 CVS branch.

I have not had a chance to test this fully as yet, so there are likely still some issues; you'll need to consult the README_CB_MINGW.txt file that's still in there in order to see what you need to do in order to fix any issues you get.

I'll try and perform a full test, and fix any issues, sometime in the near future. In the mean time, patches to the usual place ;)

CE.

Quentinpolala
Just popping in
Just popping in
Posts: 3
Joined: Mon Oct 09, 2006 16:52

Postby Quentinpolala » Wed Oct 11, 2006 11:50

Hi ! I'm also loking for a working version of CEGUI with c::b & MinGW, i've read this post and it look like there used to be the solution attatch to this thread, but I can't find it ...

Ok, I have committed the Code::Blocks projects that used to be attached to this thread into v0-4 CVS branch.


Could use a litle bit of help to the "v0-4 CVS branch" plz :wink:

User avatar
steven
Not too shy to talk
Not too shy to talk
Posts: 26
Joined: Mon Jul 04, 2005 18:38

Postby steven » Wed Oct 11, 2006 16:44

Heuu...

CrazyEddie wrote:Ok, I have committed the Code::Blocks projects that used to be attached to this thread into v0-4 CVS branch.

If I am not mistaken the files are in cvs.

Quentinpolala
Just popping in
Just popping in
Posts: 3
Joined: Mon Oct 09, 2006 16:52

Postby Quentinpolala » Thu Oct 12, 2006 21:34

Ok probleme solved, i'm sorry i'm fairly new and didn't knew what cvs was ... :oops:

So I download the source and tryed building it but I now have an error I can't figure out ... :hammer:

Code: Select all

..\..\..\..\src\elements\CEGUISpinner.cpp:226: error: `getEditbox' was not declared in this scope
..\..\..\..\src\elements\CEGUISpinner.cpp:336: error: `editbox' was not declared in this scope


as you can see it occurs while building CEGUISpinner.cpp
Thx in advance for any help you could provied.

User avatar
steven
Not too shy to talk
Not too shy to talk
Posts: 26
Joined: Mon Jul 04, 2005 18:38

Postby steven » Fri Oct 13, 2006 13:17

Quentinpolala wrote:

Code: Select all

..\..\..\..\src\elements\CEGUISpinner.cpp:226: error: `getEditbox' was not declared in this scope
..\..\..\..\src\elements\CEGUISpinner.cpp:336: error: `editbox' was not declared in this scope


When I look at the 0.4 branch there are bugs:

IMO CEGUISpinner.cpp:336 should be:
(d_editbox->getText().empty() || d_editbox->getText() == "-")))
not
(editbox->getText().empty() || editbox->getText() == "-")))

For line 226 I am less sure perhaps replace 'getEditbox' by 'd_editbox'.

So it is normal that the code doesn't compile.

However... why do you want to use 0.4 ?
I strongly advice you to use 0.5.0 Release Candidate 2.

bye

Quentinpolala
Just popping in
Just popping in
Posts: 3
Joined: Mon Oct 09, 2006 16:52

Postby Quentinpolala » Fri Oct 13, 2006 13:54

Thx for your help, probleme solved, only to discovert an other on :hammer:

Code: Select all

-------------- Build: Release in CEGUIBase ---------------
Linking dynamic library: ..\..\..\..\bin\CEGUIBase.dll
C:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -lfreetype.dll
collect2: ld returned 1 exit status


I still have no idea how to fix this :(

However... why do you want to use 0.4 ?
I strongly advice you to use 0.5.0 Release Candidate 2.


Well, by the look of this post 0.4 is supposed to be the only working version with c::b & MinGW ...

User avatar
steven
Not too shy to talk
Not too shy to talk
Posts: 26
Joined: Mon Jul 04, 2005 18:38

Postby steven » Sat Oct 14, 2006 09:38

Quentinpolala wrote:

Code: Select all

-------------- Build: Release in CEGUIBase ---------------
Linking dynamic library: ..\..\..\..\bin\CEGUIBase.dll
C:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -lfreetype.dll
collect2: ld returned 1 exit status


I still have no idea how to fix this :(

This means you need freetype.dll :)

Either you find somewhere the compiled lib or you compile freetype yourself. www.freetype.org

Well, by the look of this post 0.4 is supposed to be the only working version with c::b & MinGW ...

Well... Mingw is actually partially supported (AFAIK only for the opengl version of cegui).

The cegui team decided to use 'premake' to generate the build scripts you need. Like automake, autotools, cmake, etc etc it is one of those automagical tool that is supposed to solve all compile problems and to be easy to understand... :?

Perhaps this one is good... I just have the feeling each year there is a new one. But in my experience if the compile fails with one of those tool and you don't know it in-depth you are quickly stuck.

Sorry for the rant.

User avatar
tgraupmann
Quite a regular
Quite a regular
Posts: 78
Joined: Thu Aug 18, 2005 00:47
Contact:

Postby tgraupmann » Mon Jul 09, 2007 15:03

Where can I find the dependency downloads for CEGUI 0.5.0 and Code::Blocks with Mingw for Windows?


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 6 guests