Compiler errors under Linux Core 4

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
stodge
Just popping in
Just popping in
Posts: 9
Joined: Wed Jan 12, 2005 12:06

Compiler errors under Linux Core 4

Postby stodge » Sun Jul 03, 2005 01:45

Just tried to compile the newest version under Fedora Core 4 and I get some errors:

Code: Select all

CEGuiSample.cpp: In destructor 'virtual CEGuiSample::~CEGuiSample()':
CEGuiSample.cpp:74: error: invalid use of undefined type 'struct CEGuiBaseApplication'
../../../Samples/common/include/CEGuiSample.h:39: error: forward declaration of 'struct CEGuiBaseApplication'
CEGuiSample.cpp:75: warning: possible problem detected in invocation of delete operator:
CEGuiSample.cpp:75: warning: invalid use of undefined type 'struct CEGuiBaseApplication'
../../../Samples/common/include/CEGuiSample.h:39: warning: forward declaration of 'struct CEGuiBaseApplication'
CEGuiSample.cpp:75: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
CEGuiSample.cpp: In member function 'virtual bool CEGuiSample::initialise()':
CEGuiSample.cpp:170: error: invalid use of undefined type 'struct CEGuiBaseApplication'
../../../Samples/common/include/CEGuiSample.h:39: error: forward declaration of 'struct CEGuiBaseApplication'
CEGuiSample.cpp:177: warning: possible problem detected in invocation of delete operator:
CEGuiSample.cpp:177: warning: invalid use of undefined type 'struct CEGuiBaseApplication'
../../../Samples/common/include/CEGuiSample.h:39: warning: forward declaration of 'struct CEGuiBaseApplication'
CEGuiSample.cpp:177: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
CEGuiSample.cpp: In member function 'virtual void CEGuiSample::cleanup()':
CEGuiSample.cpp:197: error: invalid use of undefined type 'struct CEGuiBaseApplication'
../../../Samples/common/include/CEGuiSample.h:39: error: forward declaration of 'struct CEGuiBaseApplication'
CEGuiSample.cpp:198: warning: possible problem detected in invocation of delete operator:
CEGuiSample.cpp:198: warning: invalid use of undefined type 'struct CEGuiBaseApplication'
../../../Samples/common/include/CEGuiSample.h:39: warning: forward declaration of 'struct CEGuiBaseApplication'
CEGuiSample.cpp:198: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
make[3]: *** [CEGuiSample.lo] Error 1
make[3]: Leaving directory `/home/mike/Desktop/Downloads/cegui_mk2-0.3.0/Samples/common/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mike/Desktop/Downloads/cegui_mk2-0.3.0/Samples/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mike/Desktop/Downloads/cegui_mk2-0.3.0/Samples'
m


Anyone else get these?

Thanks

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

Re: Compiler errors under Linux Core 4

Postby CrazyEddie » Sun Jul 03, 2005 09:51

There's a minor fault in ./configure at the moment with regards to what happens with the samples framework.

Basically, the error is caused by none of the available renderers being available for the samples. There are two work-aounds for the moment:

1) Install the OpenGL and glut development package to ensure that the GL renderer is built, and that glut is available for the samples.

2) Add 'CEGuiBaseApplication.h" as an include at the top of the file CEGuiSample.cpp

Hope this helps, and sorry for the inconvenience :)

User avatar
stodge
Just popping in
Just popping in
Posts: 9
Joined: Wed Jan 12, 2005 12:06

Re: Compiler errors under Linux Core 4

Postby stodge » Sun Jul 03, 2005 18:21

Don't be sorry! Thanks for your help.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 9 guests