Files missing for compiling...

SniperBinaire

04-12-2009 17:40:43

Hi !
I'm comming here with a problem comiling Nxogre, i think that i've done all mentionned steps in many tutorials, but VC still asking me a missoing file witch is named "Nxogre.h" and other ones.....
I've done a search in the Main Nxogre folder for thoses file but windows don't find it :?
so here is the log

1>------ Build started: Project: NxOgre, Configuration: Debug Win32 ------
1>Compiling...
1>NxOgreStable.cpp
1>c:\nxogre\build\source\nxogrestable.cpp(27) : fatal error C1083: Cannot open include file: 'Nx.h': No such file or directory
1>Build log was saved at "file://c:\NxOgre\build\msvc\Debug\BuildLog.htm"
1>NxOgre - 1 error(s), 0 warning(s)
2>------ Build started: Project: GLUTRenderSystem, Configuration: Debug Win32 ------
3>------ Build started: Project: OGRE3DRenderSystem, Configuration: Debug Win32 ------
3>OGRE3DRenderSystem : warning PRJ0009 : Build log could not be opened for writing.
3>Make sure that the file is not open by another process and is not write-protected.
3>Compiling...
2>Compiling...
2>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
3>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
2>GLUTBodyPrototype.cpp
3>OGRE3DKinematicBody.cpp
2>c:\nxogre\rendersystems\glut\glutbodyprototype.h(32) : fatal error C1083: Cannot open include file: 'NxOgre.h': No such file or directory
2>GLUTRenderSystem.cpp
3>c:\nxogre\rendersystems\ogre\ogre3dkinematicbody.h(32) : fatal error C1083: Cannot open include file: 'NxOgre.h': No such file or directory
3>OGRE3DPointRenderable.cpp
2>c:\nxogre\rendersystems\glut\glutrendersystem.h(32) : fatal error C1083: Cannot open include file: 'NxOgre.h': No such file or directory
3>c:\nxogre\rendersystems\ogre\ogre3dpointrenderable.h(33) : fatal error C1083: Cannot open include file: 'NxOgre.h': No such file or directory
2>GLUTBody.cpp
3>OGRE3DRenderable.cpp
2>c:\nxogre\rendersystems\glut\glutbody.h(32) : fatal error C1083: Cannot open include file: 'NxOgre.h': No such file or directory
2>Generating Code...
3>c:\nxogre\rendersystems\ogre\ogre3drenderable.h(37) : fatal error C1083: Cannot open include file: 'NxOgre.h': No such file or directory
3>OGRE3DRenderSystem.cpp
3>c:\nxogre\rendersystems\ogre\ogre3dcommon.h(32) : fatal error C1083: Cannot open include file: 'NxOgre.h': No such file or directory
3>OGRE3DRigidBodyPrototype.cpp
3>c:\nxogre\rendersystems\ogre\ogre3drigidbodyprototype.h(32) : fatal error C1083: Cannot open include file: 'NxOgre.h': No such file or directory
3>OGRE3DBody.cpp
3>c:\nxogre\rendersystems\ogre\ogre3dbody.h(32) : fatal error C1083: Cannot open include file: 'NxOgre.h': No such file or directory
3>Generating Code...
2>Build log was saved at "file://c:\NxOgre\build\msvc\Debug\BuildLog.htm"
2>GLUTRenderSystem - 3 error(s), 1 warning(s)
3>Build log was saved at "file://c:\NxOgre\build\msvc\Debug\BuildLog.htm"
3>OGRE3DRenderSystem - 6 error(s), 2 warning(s)
========== Build: 0 succeeded, 3 failed, 0 up-to-date, 0 skipped ==========




So if tou have an idea....

SniperBinaire

06-12-2009 20:00:26

SniperBinaire

25-12-2009 21:30:06

Please i realy need Nxogre
I've tested all releases i founded
Bloodymess, GIT, Detritus.....
But even with downloaded scripts it dosen't work and ask me for thoses files
Nx.h
NxPhysics.h
NxOgre.h
(He don't ask me for the sames files depends of the version)

PS: I'm a french user witch still learn english so excuse his quality

Druha

26-12-2009 10:45:52

Nx.h and NxPhysics.h belongs to PhysX SDK. You must install it before you can use NxOgre. As I know NxOgre by default looks for PhysX files accordingly to PHYSX_DIR environment variable. If you already have PhysX SDK installed, check this variable or your project settings.
NxOgre RenderSystem depends on NxOgre, so must be built after it. That's why you get "not found NxOgre.h" error.

SniperBinaire

26-12-2009 20:35:04

Thanks !
The problem was to use a directory name witch contain a space
But now he told me an another error witch is

1>Project : error PRJ0019: A tool returned an error code from "Performing Post-Build Event..."

Druha

27-12-2009 07:49:06

What version of NxOgre do you use?
I remember there was a small error in a Post-Build command, but I don't remember exactly where :?

SniperBinaire

27-12-2009 09:34:57

The bloodyMess one (1.5.5)

Druha

27-12-2009 10:15:25

If it is "OGRE3DRenderSystem" which causes error you may look here for a fix http://github.com/betajaen/nxogre/commi ... 6ae37a7221

SniperBinaire

28-12-2009 19:29:17

No, it was beacause i don't have cake installed, but now it's fixed
But thanks anyway


Moreover i allways have a problem beacause he ask me for OgreMain.lib and OgreMain_d.lib to compile "OGRE3DRenderSystem"
The problem is that i've installed a pre-made SDK, and so i don't have thoses files
does it exist a way to compile it without re-install Ogre ?

betajaen

28-12-2009 20:52:05

You should have those files if you have the SDK, otherwise you wouldn't be able to compile your application.

SniperBinaire

29-12-2009 08:33:51

I've searched for .lib file in c:\OgreSDK, but there is no one :?

Actualy I think that Gcc use the .dll files (Ex : C:\OgreSDK\bin\debug\OgreMain_d.dll) instead of .lib libraries

So what shall i do to get OGRE3DRenderSystem compiling ?
Beacause I've tried to buils with .dll files, but it don't work....

SniperBinaire

30-12-2009 19:05:53

(Up !)

Do you know where can i found thoses files ?
Beacause i'm a little bit sad to reinstall Ogre by compiling it instead of installing a pre-made SDK......

betajaen

23-06-2011 18:54:16

Grr! Grr! I had to install the SDK for this. Grr!

\OgreSDK\lib\OgreMain.lib
\OgreSDK\lib\OgreMain_d.lib