Error - NxOgre.0.4.RC3

Predat0R

26-03-2007 07:11:02

I use Ogre – Dagon and PhysX 2.6.2

101Sample:

101.cpp(157): error C2061: syntax error : identifier 'Button'
101.cpp(157): error C2653: 'BetaGUI' : is not a class or namespace name
tutorialApplicationDagon.h(679): error C2248: 'nxOgre::rayCaster::rayCaster' : cannot access protected member declared in class 'nxOgre::rayCaster'
tutorialApplicationDagon.h(689): error C2248: 'nxOgre::rayCaster::rayCaster' : cannot access protected member declared in class 'nxOgre::rayCaster'

???

betajaen

26-03-2007 12:11:53

I believe there is a fix around here if you search for it. But why not upgrade? Everyone else is using Eihort.

Predat0R

30-03-2007 09:14:50

( Ogre Eihort 1.4.0 - PhysX 2.6.2 )
NxTutorials - nxTutorial101.vcproj

101.cpp(164): error C2065: 'SET_TERM_HANDLER' : undeclared identifier
tutorialApplicationEihort.h(640): error C2039: 'relX' : is not a member of 'OIS::MouseState'
tutorialApplicationEihort.h(648): error C2039: 'relY' : is not a member of 'OIS::MouseState'
tutorialApplicationEihort.h(656): error C2039: 'relZ' : is not a member of 'OIS::MouseState'

???

clutch43

30-03-2007 10:31:14

http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=3508

Predat0R

30-03-2007 16:58:23

I change ms.relX to return ms.X.rel; (and for Y, Z).
TUTORIAL_VOIDMAIN - //TUTORIAL_VOIDMAIN

And add next code to 101.cpp:

int main(int argc, char *argv[]) {
try {
NxTutorial* d = new NxTutorial();
d->Run();
d->Shutdown();
delete d;
} catch( Ogre::Exception& e ) {
std::cout << "An exception has occured: " << e.getFullDescription().c_str() << std::endl;
}
std::cout << "--Done." << std::endl;
return 0;
}

But now I have next error, when I run 101.cpp(Compiling... – ok Linking... – ok)
ogre.graphics.log:
18:54:30: Loading library RenderSystem_Direct3D9

Line with error(tutorialapplicationeihoth.h)
mRoot->loadPlugin("RenderSystem_Direct3D9"); - Line 401

RenderSystem_Direct3D9.dll and RenderSystem_Direct3D9_d.dll – Eihort’s.

???