Compiling tutorials

shadiest

17-05-2007 14:52:14

Hello,

I use OgreSource, Visual C++ 2005, NxOgre 0.4 RC3 and PhysX SDK 2.6.2.

I have successfully compile nxOgre with this patch http://get.nxogre.org/0.4.RC3/NxOgrePat ... VS8SP1.zip

I can't compile tutorials, I have these errors :

1>c:\ogresource\nxogre\tutorials\nxtutorials\common\tutorialapplicationdagon.h(679) : error C2248: 'nxOgre::rayCaster::rayCaster' : cannot access protected member declared in class 'nxOgre::rayCaster'
1> c:\ogresource\nxogre\include\nxogre_raycaster.h(55) : see declaration of 'nxOgre::rayCaster::rayCaster'
1> c:\ogresource\nxogre\include\nxogre_raycaster.h(30) : see declaration of 'nxOgre::rayCaster'
1>c:\ogresource\nxogre\tutorials\nxtutorials\common\tutorialapplicationdagon.h(688) : error C2248: 'nxOgre::rayCaster::~rayCaster' : cannot access protected member declared in class 'nxOgre::rayCaster'
1> c:\ogresource\nxogre\include\nxogre_raycaster.h(72) : compiler has generated 'nxOgre::rayCaster::~rayCaster' here
1> c:\ogresource\nxogre\include\nxogre_raycaster.h(30) : see declaration of 'nxOgre::rayCaster'
1>c:\ogresource\nxogre\tutorials\nxtutorials\101.cpp(157) : error C2653: 'BetaGUI' : is not a class or namespace name


Nobody know how to resolve this problem ?

Thanks :D

P.S : Sorry for my english, I'm french...

Xed

17-05-2007 16:58:09

Do you set NXOGRE_DIR?

few days ago i've got this error but how i take it out i don't remember (((

shadiest

17-05-2007 17:36:19

I have :

NXOGRE_DIR => C:\OgreSource\NxOgre (my NxOgre folder)
OGRE_HOME => C:\OgreSource\OgreMain
PHYSX_DIR => C:\OgreSource\PhysX

like it's explain on nxogre.org



I don't think that it can be that, I have not include errors... :(

betajaen

17-05-2007 17:42:30

It's not a environmental variable problem.

I notice Dagon is in there, are you using Ogre 1.2.x?

shadiest

17-05-2007 20:09:53

yes, I'm using Ogre 1.2.0, it's ok ?

betajaen

17-05-2007 20:14:39

Not really, and you applied a patch for Eihort which I'm surprised actually compiled since you're using Dagon.

shadiest

17-05-2007 20:16:20

thank, I will try with 1.4.1 :) (I have maybe compiled with SDK which is intalled on another folder)

shadiest

17-05-2007 22:38:46

Yeah ! It working !

I had error about SET_TERM_HANDLER easly resolved on this topic :
http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=3508

(I have already had this error on classic ogre projects)

Thanks for everything !!!

:D :D :D