[SOLVED]Problems compiling against Ogre 1.7.1

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

Dar13
Just popping in
Just popping in
Posts: 4
Joined: Sun Jun 27, 2010 00:05

[SOLVED]Problems compiling against Ogre 1.7.1

Postby Dar13 » Sun Jun 27, 2010 00:23

Hello, I'm a new user of Ogre and CEGUI but I've got a basic framework up and running so far. I wanted to start using CEGUI in my project, but when I go to compile CEGUI 0.7.1 against Ogre 1.71(compiled from source) I get an error when the CEGUIOgreRenderer is compiling similar to this:

Code: Select all

8>f:\ogresdk\include\ogre\threading\ogrethreadheadersboost.h(29) : fatal error C1083: Cannot open include file: 'boost/thread/tss.hpp': No such file or directory
even though i can't find an include that requires that file be included at all. :?

Any help would be appreciated. :)

Dar13
Last edited by Dar13 on Fri Jul 09, 2010 17:25, edited 1 time in total.

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Re: Problems compiling against Ogre 1.7.1

Postby scriptkid » Sun Jun 27, 2010 17:20

Hi and welcome,

It looks like you are compiling Ogre with threading support. If this is intended (i guess it's a #define), it looks like you need to download the boost library as well. Cegui doesn't use it.

HTH :)
Check out my released snake game using Cegui!

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

Re: Problems compiling against Ogre 1.7.1

Postby CrazyEddie » Thu Jul 01, 2010 08:55

Also, make sure you added the 'extra paths' dependency in the config.lua file when you generate the CEGUI solutions:

For example:

Code: Select all

CEGUI_EXTRA_PATHS = {
    { "../OgreSDK/boost_1_42", "", "lib", "CEGUIOgreRenderer" },
    { "../OgreSDK/boost_1_42", "", "lib", "CEGUISampleHelper" }
}


Obviously the path needs to be the location of your own Ogre sdk dir.

CE.

User avatar
jacmoe
Just can't stay away
Just can't stay away
Posts: 136
Joined: Sun Apr 03, 2005 14:18
Location: Holbaek, Denmark
Contact:

Re: Problems compiling against Ogre 1.7.1

Postby jacmoe » Sat Jul 03, 2010 05:23

This is a small guide to using CEGUI with OGRE:
http://www.ogre3d.org/tikiwiki/Basic+Tu ... =Tutorials

It links to this page, which details the process of setting it all up and compile CEGUI for OGRE:
http://www.ogre3d.org/tikiwiki/Building+CEGUI

Dar13
Just popping in
Just popping in
Posts: 4
Joined: Sun Jun 27, 2010 00:05

Re: Problems compiling against Ogre 1.7.1

Postby Dar13 » Fri Jul 09, 2010 17:25

I finally got it to compile against Ogre 1.7.1(had to rebuild Ogre from source). Thanks for helping a newcomer out! :)


Return to “Help”

Who is online

Users browsing this forum: No registered users and 32 guests