[Solved] NxOgre with Ogre3d

ArcanumGame

10-09-2010 22:43:26

Hello all. :wink:

Because I posted that thread in the Ogre forum wrong,
I do it again here, so I hope, that you could help me.

Now my problem:

I've tried to use NxOgre in my Scene, but the compiler
gives me an error after i've tried to compile NxOgre.

2>------ Erstellen gestartet: Projekt: GLUTRenderSystem, Konfiguration: Release Win32 ------
3>------ Erstellen gestartet: Projekt: OGRE3DRenderSystem, Konfiguration: Release Win32 ------
3>OGRE3DRenderSystem : warning PRJ0009 : In das Buildprotokoll konnte nicht geschrieben werden. Stellen Sie sicher, dass die Datei nicht durch einen anderen Prozess geöffnet und nicht schreibgeschützt ist.
2>Kompilieren...
3>Kompilieren...
2>cl : Befehlszeile warning D9035 : Die Option "Wp64" ist veraltet und wird in einer der nächsten Versionen entfernt.
2>GLUTBody.cpp
3>cl : Befehlszeile warning D9035 : Die Option "Wp64" ist veraltet und wird in einer der nächsten Versionen entfernt.
3>OGRE3DBody.cpp
3>d:\bloodymess\rendersystems\ogre\OGRE3DCommon.h(33) : fatal error C1083: Datei (Include) kann nicht geöffnet werden: "Ogre.h": No such file or directory
3>OGRE3DRigidBodyPrototype.cpp
2>GLUTRenderSystem.cpp
3>d:\bloodymess\rendersystems\ogre\OGRE3DCommon.h(33) : fatal error C1083: Datei (Include) kann nicht geöffnet werden: "Ogre.h": No such file or directory
3>OGRE3DRenderSystem.cpp
2>GLUTBodyPrototype.cpp
3>d:\bloodymess\rendersystems\ogre\OGRE3DCommon.h(33) : fatal error C1083: Datei (Include) kann nicht geöffnet werden: "Ogre.h": No such file or directory
3>OGRE3DRenderable.cpp
2>Bibliothek wird erstellt...
2>Postbuildereignis wird ausgeführt...
2> 1 Datei(en) kopiert.
2>Das Buildprotokoll wurde unter "file://d:\BloodyMess\build\msvc\Release\BuildLog.htm" gespeichert.
2>GLUTRenderSystem - 0 Fehler, 1 Warnung(en)
3>d:\bloodymess\rendersystems\ogre\OGRE3DCommon.h(33) : fatal error C1083: Datei (Include) kann nicht geöffnet werden: "Ogre.h": No such file or directory
3>OGRE3DPointRenderable.cpp
3>d:\bloodymess\rendersystems\ogre\OGRE3DCommon.h(33) : fatal error C1083: Datei (Include) kann nicht geöffnet werden: "Ogre.h": No such file or directory
3>OGRE3DKinematicBody.cpp
3>d:\bloodymess\rendersystems\ogre\OGRE3DCommon.h(33) : fatal error C1083: Datei (Include) kann nicht geöffnet werden: "Ogre.h": No such file or directory
3>Das Buildprotokoll wurde unter "file://d:\BloodyMess\build\msvc\Release\BuildLog.htm" gespeichert.
3>OGRE3DRenderSystem - 6 Fehler, 2 Warnung(en)
========== Erstellen: 2 erfolgreich, Fehler bei 1, 0 aktuell, 0 übersprungen ==========


(Sorry for the german log, but that means, that OGRE3DCommon.h wants to import the Ogre.h
but it has no information to include it.)
So my question is, how I can include it, because there's nothing to find in the tutorials.
It would be very nice, if you can tell me, how the steps are, to bring it into the scene,
because after compiling i've got something like NxOgre_Debug.lib and NxOgre.lib, that
i've included, but i still can't include it by adding it into the header file.

(I'm using Visual C++ 2008 Express Edition and Ogre 1.7.1)

betajaen

10-09-2010 23:33:01

Your probably missing the OGRE_HOME environmental variable.

ArcanumGame

11-09-2010 00:32:20

Your probably missing the OGRE_HOME environmental variable.

Not at all, but when I saw the path's, there were many missing ones.
Now it's done and I can work with it. Thanks :)