CEGUI::StaticImage undefined

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

Tekmoto
Just popping in
Just popping in
Posts: 7
Joined: Fri Apr 14, 2006 06:08

CEGUI::StaticImage undefined

Postby Tekmoto » Fri Apr 14, 2006 06:30

I'm getting this error when I try compiling in Visual Studio:

SampleApp error C2027: use of undefined type 'CEGUI::StaticImage'

I was able to compile with some basic buttons, but right now I'm try to load a static image in, and it doesn't quite seem to be working because of this.

For the record, I'm using Ogre3D too.

I'm a noob at this, so please bear with me.

Thanks!!

-Tek

User avatar
Van
Just can't stay away
Just can't stay away
Posts: 225
Joined: Fri Jan 21, 2005 20:29
Contact:

Postby Van » Fri Apr 14, 2006 07:26

Did you include the "cegui.h" ?

Tekmoto
Just popping in
Just popping in
Posts: 7
Joined: Fri Apr 14, 2006 06:08

It worked

Postby Tekmoto » Fri Apr 14, 2006 14:57

Gee, I feel pretty dumb!

Thanks, it worked. I was using the tutorial from the Ogre3D wiki, which didn't have Cegui.h included.

User avatar
Van
Just can't stay away
Just can't stay away
Posts: 225
Joined: Fri Jan 21, 2005 20:29
Contact:

Re: It worked

Postby Van » Sat Apr 15, 2006 12:26

Tekmoto wrote:Gee, I feel pretty dumb!

Thanks, it worked. I was using the tutorial from the Ogre3D wiki, which didn't have Cegui.h included.


In that case, when using OGRE, you should include CEGUI_Fix.h instead of just CEGUI.H,

Review this Ogre Wiki Post: http://www.ogre3d.org/wiki/index.php/CEGUI_fix


Return to “Help”

Who is online

Users browsing this forum: No registered users and 14 guests