Ogre1.10 - First BasicTutorial works but not the second one ...

Problems building or running the engine, queries about how to use features etc.
Post Reply
gael
Gnoblar
Posts: 1
Joined: Fri Jan 12, 2018 5:02 pm

Ogre1.10 - First BasicTutorial works but not the second one ...

Post by gael »

Hello everyone,

After compiling the Bootstrap.cpp and the BasicTutorial1.cpp successfully, I tried to compile the BasicTutorial2.cpp but I get this error :
mber function ‘virtual void TutorialApplication::setup()’:
.../BasicTutorial2.cpp:90:45: error: ‘Ogre::Node::TransformSpace’ is not a class or namespace
camNode->lookAt(Vector3(0, 0, 0), Node::TransformSpace::TS_WORLD);

.../BasicTutorial2.cpp:147:32: error: ‘ShadowTechnique’ is not a class or namespace
scnMgr->setShadowTechnique(ShadowTechnique::SHADOWTYPE_STENCIL_MODULATIVE);

Could it be because of a bad installation ?
I am on Linux, using cmake 2.8, with Ogre1.10.11, which I built myself with cmake and make...

Thank you in advance !

Gaël
paroj
OGRE Team Member
OGRE Team Member
Posts: 1995
Joined: Sun Mar 30, 2014 2:51 pm
x 1075
Contact:

Re: Ogre1.10 - First BasicTutorial works but not the second one ...

Post by paroj »

can not reproduce. works here.
Post Reply