Page 1 of 1

[SOLVED]Problems compiling against Ogre 1.7.1

Posted: Sun Jun 27, 2010 00:23
by Dar13
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

Re: Problems compiling against Ogre 1.7.1

Posted: Sun Jun 27, 2010 17:20
by scriptkid
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 :)

Re: Problems compiling against Ogre 1.7.1

Posted: Thu Jul 01, 2010 08:55
by CrazyEddie
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.

Re: Problems compiling against Ogre 1.7.1

Posted: Sat Jul 03, 2010 05:23
by jacmoe
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

Re: Problems compiling against Ogre 1.7.1

Posted: Fri Jul 09, 2010 17:25
by Dar13
I finally got it to compile against Ogre 1.7.1(had to rebuild Ogre from source). Thanks for helping a newcomer out! :)