Error on compile - VS2008

prchakal

12-11-2009 04:15:02

Hi,

Im trying compiling the NxOgre on VS2008, but no sucess:

I download NxOgre, open the project, try compile!

1>------ Rebuild All started: Project: NxOgre, Configuration: Debug Win32 ------
1>Deleting intermediate and output files for project 'NxOgre', configuration 'Debug|Win32'
1>Compiling...
1>NxOgreStable.cpp
1>d:\downloads\cpp\nxogre\betajaen-nxogre-4571d59\betajaen-nxogre-4571d59\build\source\nxogrestable.cpp(27) : fatal error C1083: Cannot open include file: 'Nx.h': No such file or directory
1>Project : warning PRJ0018 : The following environment variables were not found:
1>$(PHYSX_DIR)
1>Build log was saved at "file://d:\Downloads\Cpp\nxogre\betajaen-nxogre-4571d59\betajaen-nxogre-4571d59\build\msvc\Debug\BuildLog.htm"
1>NxOgre - 1 error(s), 0 warning(s)
2>------ Rebuild All started: Project: GLUTRenderSystem, Configuration: Debug Win32 ------
2>Deleting intermediate and output files for project 'GLUTRenderSystem', configuration 'Debug|Win32'
3>------ Rebuild All started: Project: OGRE3DRenderSystem, Configuration: Debug Win32 ------
3>Deleting intermediate and output files for project 'OGRE3DRenderSystem', configuration 'Debug|Win32'
2>GLUTRenderSystem : error PRJ0008 : Could not delete file 'd:\Downloads\Cpp\nxogre\betajaen-nxogre-4571d59\betajaen-nxogre-4571d59\build\msvc\Debug\vc90.idb'.
2>Make sure that the file is not open by another process and is not write-protected.
3>Compiling...
2>GLUTRenderSystem - 1 error(s), 0 warning(s)
3>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
3>OGRE3DKinematicBody.cpp
3>d:\downloads\cpp\nxogre\betajaen-nxogre-4571d59\betajaen-nxogre-4571d59\rendersystems\ogre\ogre3dkinematicbody.h(32) : fatal error C1083: Cannot open include file: 'NxOgre.h': No such file or directory
3>OGRE3DPointRenderable.cpp
3>d:\downloads\cpp\nxogre\betajaen-nxogre-4571d59\betajaen-nxogre-4571d59\rendersystems\ogre\ogre3dpointrenderable.h(33) : fatal error C1083: Cannot open include file: 'NxOgre.h': No such file or directory
3>OGRE3DRenderable.cpp
3>d:\downloads\cpp\nxogre\betajaen-nxogre-4571d59\betajaen-nxogre-4571d59\rendersystems\ogre\ogre3drenderable.h(37) : fatal error C1083: Cannot open include file: 'NxOgre.h': No such file or directory
3>OGRE3DRenderSystem.cpp
3>d:\downloads\cpp\nxogre\betajaen-nxogre-4571d59\betajaen-nxogre-4571d59\rendersystems\ogre\ogre3dcommon.h(32) : fatal error C1083: Cannot open include file: 'NxOgre.h': No such file or directory
3>OGRE3DRigidBodyPrototype.cpp
3>d:\downloads\cpp\nxogre\betajaen-nxogre-4571d59\betajaen-nxogre-4571d59\rendersystems\ogre\ogre3drigidbodyprototype.h(32) : fatal error C1083: Cannot open include file: 'NxOgre.h': No such file or directory
3>OGRE3DBody.cpp
3>d:\downloads\cpp\nxogre\betajaen-nxogre-4571d59\betajaen-nxogre-4571d59\rendersystems\ogre\ogre3dbody.h(32) : fatal error C1083: Cannot open include file: 'NxOgre.h': No such file or directory
3>Generating Code...
3>Build log was saved at "file://d:\Downloads\Cpp\nxogre\betajaen-nxogre-4571d59\betajaen-nxogre-4571d59\build\msvc\Debug\BuildLog.htm"
3>OGRE3DRenderSystem - 6 error(s), 1 warning(s)
========== Rebuild All: 0 succeeded, 3 failed, 0 skipped ==========

deshan

12-11-2009 09:07:17

Seems you have not done the initial setup.have you done these things?
http://nxogre.org/compiling_nxogre_from_a_release
http://nxogre.org/linking_to_nxogre

The whole configuration can find from here
http://nxogre.org/guides_and_tutorials

prchakal

12-11-2009 10:33:11

I have done all steps.

But it say that dont find some files like 'Nx.h' and i dont have this file here :(

deshan

12-11-2009 15:34:28

1>Project : warning PRJ0018 : The following environment variables were not found:
1>$(PHYSX_DIR)

In my machine I have set a environment variaqble named PHYSX_DIR which is point to the "C:\Program Files\NVIDIA Corporation\NVIDIA PhysX SDK\v2.8.1". check yours. And Nx.h is located in C:\Program Files\NVIDIA Corporation\NVIDIA PhysX SDK\v2.8.1\SDKs\Foundation\include.

VileMK3

12-11-2009 18:24:54

I've tried setting the environment variable a hundred times but it never works. So try it but if it doesn't you'll have to find the correct path and add it to the include directories, etc.

prchakal

12-11-2009 18:35:23

Oh man, im not created this env. var, now it compile normal, thanks.

Solved.

Shinigami

19-11-2009 18:47:52

Hi:

I have a similar problem, I already do all the installing process, all the environment variables has been created but I get this error when compiling:

1>------ Build started: Project: NxOgre, Configuration: Debug Win32 ------
1>Compiling...
1>NxOgreStable.cpp
1>Compiling...
1>NxOgreAccumulativeSceneTimer.cpp
1>NxOgreActor.cpp
1>NxOgreActorMachinePart.cpp
1>NxOgreArchive.cpp
1>NxOgreArchiveResourceIdentifier.cpp
1>NxOgreBox.cpp
1>NxOgreCapsule.cpp
1>NxOgreClasses.cpp
1>NxOgreCloth.cpp
1>NxOgreClothDescription.cpp
1>NxOgreConvex.cpp
1>NxOgreD6Joint.cpp
1>NxOgreD6JointDescription.cpp
1>NxOgreErrorStream.cpp
1>NxOgreFixedJoint.cpp
1>NxOgreFixedSceneTimer.cpp
1>NxOgreFunctions.cpp
1>NxOgreHeightField.cpp
1>NxOgreHeightFieldGeometry.cpp
1>NxOgreHeightFieldGeometryBlueprint.cpp
1>Generating Code...
1>Compiling...
1>NxOgreHeightFieldManager.cpp
1>NxOgreIntVectors.cpp
1>NxOgreJoint.cpp
1>NxOgreJointDescription.cpp
1>NxOgreJointDriveDescription.cpp
1>NxOgreJointLimitDescription.cpp
1>NxOgreJointLimitSoftDescription.cpp
1>NxOgreKinematicActor.cpp
1>NxOgreKinematicController.cpp
1>NxOgreKinematicFunctions.cpp
1>NxOgreMachine.cpp
1>NxOgreMachinePart.cpp
1>NxOgreManualHeightField.cpp
1>NxOgreManualMesh.cpp
1>NxOgreMaterial.cpp
1>NxOgreMaterialDescription.cpp
1>NxOgreMaterialPrototype.cpp
1>NxOgreMath.cpp
1>NxOgreMatrix.cpp
1>NxOgreMemory.cpp
1>Generating Code...
1>Compiling...
1>NxOgreMemoryArchive.cpp
1>NxOgreMemoryDebugger.cpp
1>NxOgreMemoryResource.cpp
1>NxOgreMemoryResourceProtocol.cpp
1>NxOgreMesh.cpp
1>NxOgreMeshFunctions.cpp
1>NxOgreMeshManager.cpp
1>NxOgreMeshStats.cpp
1>NxOgreMotorDescription.cpp
1>NxOgreMSWindowsFileArchive.cpp
1>NxOgreMSWindowsFileResource.cpp
1>NxOgreMSWindowsFileResourceProtocol.cpp
1>NxOgreNodeRenderable.cpp
1>NxOgreNXSFunctions.cpp
1>NxOgreParticle.cpp
1>NxOgreParticleDrain.cpp
1>NxOgreParticleEmitter.cpp
1>NxOgreParticleGroup.cpp
1>NxOgreParticleRenderer.cpp
1>NxOgrePhysXCallback.cpp
1>Generating Code...
1>Compiling...
1>NxOgrePhysXMeshData.cpp
1>NxOgrePhysXOutputStream.cpp
1>NxOgrePhysXPointer.cpp
1>NxOgrePhysXRaycastReport.cpp
1>NxOgrePhysXStream.cpp
1>NxOgrePhysXUserAllocator.cpp
1>NxOgrePlaneGeometry.cpp
1>NxOgrePointParticleRenderer.cpp
1>NxOgrePointRenderable.cpp
1>NxOgrePrototypeFunctions.cpp
1>NxOgreRay.cpp
1>NxOgreRaycastHit.cpp
1>NxOgreReason.cpp
1>NxOgreRemoteDebugger.cpp
1>NxOgreRenderable.cpp
1>NxOgreResource.cpp
1>NxOgreResourceProtocol.cpp
1>NxOgreResourceSystem.cpp
1>NxOgreRevoluteJoint.cpp
1>NxOgreRevoluteJointDescription.cpp
1>Generating Code...
1>Compiling...
1>NxOgreRigidBody.cpp
1>NxOgreRigidBodyDescription.cpp
1>NxOgreRigidBodyFunctions.cpp
1>NxOgreRigidBodyPrototype.cpp
1>NxOgreScene.cpp
1>NxOgreSceneDescription.cpp
1>NxOgreSceneGeometry.cpp
1>NxOgreScenePrototype.cpp
1>NxOgreSceneRenderable.cpp
1>NxOgreSceneRenderer.cpp
1>NxOgreSceneTimer.cpp
1>NxOgreShape.cpp
1>NxOgreShapeBlueprint.cpp
1>NxOgreSharedStringStream.cpp
1>NxOgreSimple.cpp
1>NxOgreSoftBody.cpp
1>NxOgreSoftBodyDescription.cpp
1>NxOgreSphere.cpp
1>NxOgreSphericalJoint.cpp
1>NxOgreSphericalJointDescription.cpp
1>Generating Code...
1>Compiling...
1>NxOgreSpringDescription.cpp
1>NxOgreString.cpp
1>NxOgreTimeController.cpp
1>NxOgreTireFunction.cpp
1>NxOgreTriangle.cpp
1>NxOgreTriangleGeometry.cpp
1>NxOgreUniformResourceIdentifier.cpp
1>NxOgreUtil.cpp
1>NxOgreVec.cpp
1>NxOgreVisualDebugger.cpp
1>NxOgreVisualDebuggerMeshData.cpp
1>NxOgreVolume.cpp
1>NxOgreWheel.cpp
1>NxOgreWheelBlueprint.cpp
1>NxOgreWheelMachinePart.cpp
1>NxOgreWorld.cpp
1>NxOgreWorldDescription.cpp
1>NxOgreWorldPrototype.cpp
1>NxOgreXFunctions.cpp
1>Generating Code...
1>Compiling...
1>nedmalloc.cpp
1>Compiling manifest to resources...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>Linking...
1> Creating library C:\Dev\NxOgre\build\msvc\Debug\NxOgre_Debug.lib and object C:\Dev\NxOgre\build\msvc\Debug\NxOgre_Debug.exp
1>Embedding manifest...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>Performing Post-Build Event...
1>Ya existe el subdirectorio o el archivo C:\Dev\NxOgre\build\msvc\..\..\sdk.
1> 1 archivo(s) copiado(s).
1> 1 archivo(s) copiado(s).
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreAccumulativeSceneTimer.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreActiveParticle.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreActor.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreActorMachinePart.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreArchive.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreArchiveResourceIdentifier.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreArray.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreBox.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreBuffer.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreCallback.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreCapsule.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreCircularBuffer.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreClasses.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreCloth.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreClothDescription.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreCommon.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreCompiler.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreConvex.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreD6Joint.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreD6JointDescription.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreEntityReport.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreErrorStream.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreFixedJoint.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreFixedSceneTimer.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreFunctions.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreHeightField.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreHeightFieldGeometry.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreHeightFieldGeometryBlueprint.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreHeightFieldManager.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreHeightFieldSample.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreIntVectors.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreJoint.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreJointDescription.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreJointDriveDescription.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreJointFunctions.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreJointLimitDescription.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreJointLimitSoftDescription.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreKinematicActor.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreKinematicController.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreKinematicFunctions.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreMachine.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreMachinePart.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreManualHeightField.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreManualMesh.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreMaterial.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreMaterialDescription.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreMaterialPrototype.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreMath.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreMatrix.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreMemory.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreMemoryArchive.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreMemoryDebugger.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreMemoryResource.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreMemoryResourceProtocol.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreMesh.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreMeshFunctions.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreMeshManager.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreMeshStats.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreMotorDescription.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreMSWindowsFileArchive.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreMSWindowsFileResource.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreMSWindowsFileResourceProtocol.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreNodeRenderable.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreNXSFunctions.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreParticle.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreParticleDrain.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreParticleEmitter.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreParticleGroup.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreParticleRenderer.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgrePhysXCallback.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgrePhysXMeshData.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgrePhysXOutputStream.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgrePhysXPointer.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgrePhysXPrototypes.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgrePhysXRaycastReport.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgrePhysXStream.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgrePhysXUserAllocator.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgrePhysXUserEntityReport.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgrePlaneGeometry.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgrePointerClass.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgrePointParticleRenderer.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgrePointRenderable.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgrePrototypeFunctions.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreRay.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreRaycastHit.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreReason.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreRemoteDebugger.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreRemoteDebuggerListener.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreRenderable.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreResource.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreResourceProtocol.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreResourceSystem.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreRestingParticle.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreRevoluteJoint.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreRevoluteJointDescription.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreRigidBody.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreRigidBodyDescription.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreRigidBodyDynamicFunctions.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreRigidBodyFunctions.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreRigidBodyPrototype.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreScene.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreSceneDescription.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreSceneGeometry.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreScenePrototype.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreSceneRenderable.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreSceneRenderer.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreSceneTimer.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreShape.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreShapeBlueprint.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreSharedBuffer.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreSharedPointer.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreSharedStringStream.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreSimple.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreSingleton.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreSoftBody.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreSoftBodyDescription.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreSoftBodyMesh.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreSphere.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreSphericalJoint.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreSphericalJointDescription.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreSpringDescription.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreStable.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreString.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreTimeController.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreTimeListener.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreTimeStep.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreTireFunction.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreTriangle.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreTriangleGeometry.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreTuple.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreUniformResourceIdentifier.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreUtil.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreVec.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreVertex.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreVisualDebugger.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreVisualDebuggerMeshData.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreVolume.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreWheel.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreWheelBlueprint.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreWheelMachinePart.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreWorld.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreWorldDescription.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreWorldPrototype.h
1>C:\Dev\NxOgre\build\msvc\..\source\NxOgreXFunctions.h
1> 144 archivo(s) copiado(s).
1>C:\Dev\NxOgre\build\msvc\source\NxOgre.h
1>C:\Dev\NxOgre\build\msvc\source\NxOgreConfiguration.h
1>C:\Dev\NxOgre\build\msvc\source\NxOgrePhysXProtoypesTest.h
1>C:\Dev\NxOgre\build\msvc\source\NxOgreProtoypesTest.h
1> 4 archivo(s) copiado(s).
1>C:\Dev\NxOgre\build\msvc\..\..\dependencies\bml\bml.h
1>C:\Dev\NxOgre\build\msvc\..\..\dependencies\bml\bounds.h
1>C:\Dev\NxOgre\build\msvc\..\..\dependencies\bml\constants.h
1>C:\Dev\NxOgre\build\msvc\..\..\dependencies\bml\math.h
1>C:\Dev\NxOgre\build\msvc\..\..\dependencies\bml\matrix.h
1>C:\Dev\NxOgre\build\msvc\..\..\dependencies\bml\prototypes.h
1>C:\Dev\NxOgre\build\msvc\..\..\dependencies\bml\quaternion.h
1>C:\Dev\NxOgre\build\msvc\..\..\dependencies\bml\vector.h
1> 8 archivo(s) copiado(s).
1>El sistema no puede encontrar la ruta especificada.
1> 0 archivo(s) copiado(s).
1>El sistema no puede encontrar la ruta especificada.
1> 0 archivo(s) copiado(s).
[color=#FF0040]1>Project : error PRJ0019: A tool returned an error code from "Performing Post-Build Event..."[/color]
1>Build log was saved at "file://c:\Dev\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.
2>Compiling...
3>Compiling...
2>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
2>GLUTBodyPrototype.cpp
3>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
3>OGRE3DKinematicBody.cpp
2>GLUTRenderSystem.cpp
2>GLUTBody.cpp
2>Generating Code...
3>OGRE3DPointRenderable.cpp
3>OGRE3DRenderable.cpp
3>OGRE3DRenderSystem.cpp
3>OGRE3DRigidBodyPrototype.cpp
3>OGRE3DBody.cpp
3>Generating Code...
3>Creating library...
2>Creating library...
2>Performing Post-Build Event...
2> 1 archivo(s) copiado(s).
2>C:\Dev\NxOgre\build\msvc\..\..\rendersystems\glut\GLUTBody.h
2>C:\Dev\NxOgre\build\msvc\..\..\rendersystems\glut\GLUTBodyPrototype.h
2>C:\Dev\NxOgre\build\msvc\..\..\rendersystems\glut\GLUTCommon.h
2>C:\Dev\NxOgre\build\msvc\..\..\rendersystems\glut\GLUTRenderSystem.h
2>C:\Dev\NxOgre\build\msvc\..\..\rendersystems\glut\NxOgreGLUT.h
2> 5 archivo(s) copiado(s).
2>Build log was saved at "file://c:\Dev\NxOgre\build\msvc\Debug\BuildLog.htm"
2>GLUTRenderSystem - 0 error(s), 1 warning(s)
3>OgreMain_d.lib(OgreMain_d.dll) : warning LNK4006: __NULL_IMPORT_DESCRIPTOR already defined in NxOgre_Debug.lib(NxOgre_Debug.dll); second definition ignored
3>OgreMain_d.lib(OgreMain_d.dll) : warning LNK4221: no public symbols found; archive member will be inaccessible
3>Performing Post-Build Event...
3> 1 archivo(s) copiado(s).
3>C:\Dev\NxOgre\build\msvc\..\..\rendersystems\ogre\NxOgreOGRE3D.h
3>C:\Dev\NxOgre\build\msvc\..\..\rendersystems\ogre\OGRE3DBody.h
3>C:\Dev\NxOgre\build\msvc\..\..\rendersystems\ogre\OGRE3DCommon.h
3>C:\Dev\NxOgre\build\msvc\..\..\rendersystems\ogre\OGRE3DKinematicBody.h
3>C:\Dev\NxOgre\build\msvc\..\..\rendersystems\ogre\OGRE3DPointRenderable.h
3>C:\Dev\NxOgre\build\msvc\..\..\rendersystems\ogre\OGRE3DPrototypes.h
3>C:\Dev\NxOgre\build\msvc\..\..\rendersystems\ogre\OGRE3DRenderable.h
3>C:\Dev\NxOgre\build\msvc\..\..\rendersystems\ogre\OGRE3DRenderSystem.h
3>C:\Dev\NxOgre\build\msvc\..\..\rendersystems\ogre\OGRE3DRigidBodyPrototype.h
3> 9 archivo(s) copiado(s).
3>Build log was saved at "file://c:\Dev\NxOgre\build\msvc\Debug\BuildLog.htm"
3>OGRE3DRenderSystem - 0 error(s), 4 warning(s)
========== Build: 2 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


The Glut and the Ogre are build without problems but NxOgre cannot compile well.

If you could help me it will be grateful.

Regards Shinigami

spacegaier

19-11-2009 18:57:54

As far as I see, there are only these post-build errors, which can be ignored.

forgottenmindset

19-11-2009 23:23:47

I'm having problems with that too

It cannot find NxCooking.lib because it does not exist with the new version of Physx sdk

I'm downloading the older version, the new version has NxCooking.dll

I'm going to try to link that too, we'll see

forgottenmindset

19-11-2009 23:39:39

ok just tried with the older version 2.8.1 and it worked, kinda it did have one error


...
C:\dev\NxOgre\build\msvc\..\..\dependencies\bml\quaternion.h
C:\dev\NxOgre\build\msvc\..\..\dependencies\bml\vector.h
8 file(s) copied.
The system cannot find the path specified.
0 file(s) copied.
The system cannot find the path specified.
0 file(s) copied.
Project : error PRJ0019: A tool returned an error code from "Performing Post-Build Event..."
Build log was saved at "file://c:\dev\NxOgre\build\msvc\Debug\BuildLog.htm"
NxOgre - 1 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========


What's that about? What didn't get copied?

Shinigami

20-11-2009 00:10:49

Ignore the error, but I find that there are files that were not copied, and the examples doesn't work too.

spacegaier

20-11-2009 07:13:46

You are using the latest BloodyMess version from github.com?

forgottenmindset

20-11-2009 08:03:06

yes 1.5.5

why is it so hard to just package the files in a zip?

forgottenmindset

20-11-2009 08:27:58

oK, so the "I'm Awesome" release (non bloody mess) worked perfect

yay!

..
now I got to change my code

spacegaier

20-11-2009 17:54:43

why is it so hard to just package the files in a zip?
:?: If you get it from github.com, you get is as a ZIP?!?!

forgottenmindset

21-11-2009 06:31:47

I mean the actual "sdk" folder

It's ok the latest git release worked perfect for me

Shinigami

23-11-2009 17:11:51

I do what you told me and forget about the post build error and went to the tutorials; at first there were some linking errors, I mange to resolve them by including the .lib of NxOgre and Ogre. The project compiles without problems but in run time I got this error:


OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource cube.1m.mesh in resource group Autodetect or any other group. in ResourceGroupManager::openResource at f:\codingextra\ogre\shoggoth_vc9\ogre\ogremain\src\ogreresourcegroupmanager.cpp (line 763)


I don't have f:\ in my PC so I don't know were is looking for the archive.

I'm using the PhysX v2.8.1, Ogre 1.6.4 and BloodyMess 1.5.5.

HELP, YOU KNOW I NEED SOMEBODY HELP like Beatles song.

Shinigami

23-11-2009 17:29:55

I do what you told me and forget about the post build error and went to the tutorials; at first there were some linking errors, I mange to resolve them by including the .lib of NxOgre and Ogre. The project compiles without problems but in run time I got this error in run time:

OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource cube.1m.mesh in resource group Autodetect or any other group. in ResourceGroupManager::openResource at f:\codingextra\ogre\shoggoth_vc9\ogre\ogremain\src\ogreresourcegroupmanager.cpp (line 763)

I'm using PhysX 2.8.1, Ogre 1.6.4 and NxOgre BloodyMess 1.5.5

betajaen

23-11-2009 17:31:21

It means Ogre couldn't find the file "cube.1m.mesh" in your resources. Just substitute cube.1m.mesh with any 1 metre sized cube you have.

Shinigami

23-11-2009 17:44:35

All right in the tutorial function:

mCube = mRenderSystem->createBody(new NxOgre::Box(1, 1, 1), NxOgre::Vec3(0, 20, 0), "cube.1m.mesh");

I change it by:

mCube = mRenderSystem->createBody(new NxOgre::Box(1, 1, 1), NxOgre::Vec3(0, 20, 0), "cube.mesh"); that Ogre have.

but now I got this error:
OGRE EXCEPTION(4:ItemIdentityException): An object of type 'Entity' whit nme '-Entity' exists. in SceneManager::createMovableObject at f:\codingextra\ogre\shoggoth_vc9\ogre\ogremain\src\ogreresourcegroupmanager.cpp (line 6136)

Sorry I'm new too Ogre to.

deshan

24-11-2009 08:16:35

OGRE EXCEPTION(4:ItemIdentityException): An object of type 'Entity' whit nme '-Entity' exists.

Are you creating 2 entities with same name? entity names must be unique.
mSceneMgr->createEntity("unique name each time");

Shinigami

25-11-2009 19:00:47

Hi:

This is the code that I been working, is form the NxOgre tutorials, I been trying to do what you told me but :? I still don't get were I have to change my function. So give a try....

class BloodyMessTutorial2 : public ExampleApplication
{
protected:
NxOgre::World* mWorld;
NxOgre::Scene* mScene;
OGRE3DRenderSystem* mRenderSystem;

void createScene()
{
mWorld = NxOgre::World::createWorld();

NxOgre::SceneDescription sceneDesc;
sceneDesc.mGravity = NxOgre::Vec3(0, -9.8f, 0);
sceneDesc.mName = "BloodyMessTutorial2";

mScene = mWorld->createScene(sceneDesc);

mScene->getMaterial(0)->setStaticFriction(0.5);
mScene->getMaterial(0)->setDynamicFriction(0.5);
mScene->getMaterial(0)->setRestitution(0.1);

mRenderSystem = new OGRE3DRenderSystem(mScene);

//Here I'm creating the first cube.....
OGRE3DBody* mCube;

mCube = mRenderSystem->createBody(new NxOgre::Box(1, 1, 1), NxOgre::Vec3(0, 20, 0), "cube.1m.mesh");
mCube->addTorque(NxOgre::Vec3(-800, -200, 0));


mScene->createSceneGeometry(new NxOgre::PlaneGeometry(0, NxOgre::Vec3(0, 1, 0)), Matrix44_Identity);

MovablePlane *plane = new MovablePlane("Plane");
plane->d = 0;
plane->normal = Vector3::UNIT_Y;
Ogre::MeshManager::getSingleton().createPlane("PlaneMesh",
ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME,
*plane, 120, 120, 1, 1, true, 1, 3, 3, Vector3::UNIT_Z);
Entity *planeEnt = mSceneMgr->createEntity("PlaneEntity", "PlaneMesh");
planeEnt->setMaterialName("Examples/GrassFloor");

Ogre::SceneNode* mPlaneNode = mSceneMgr->getRootSceneNode()->createChildSceneNode();
mPlaneNode->attachObject(planeEnt);
mPlaneNode->scale(100, 100, 100);


// Set ambient light
mSceneMgr->setAmbientLight(ColourValue(0.5f, 0.5f, 0.5f));

// Create a light
Light* l = mSceneMgr->createLight("MainLight");
l->setPosition(20, 80, 50);

// Position the camera
mCamera->setPosition(0, 20, 80);
mCamera->lookAt(0, 20, 0);



//Here I'm creating the second cube...
OGRE3DBody* mBox;

//If I comment the second cube creating line the programs works OK.
mBox = mRenderSystem->createBody(new NxOgre::Box(1, 1, 1), NxOgre::Vec3(20, 35, 0), "cube.1m.mesh");
mBox->addForce(NxOgre::Vec3(-800, -200, 0));


}



If I understand you well In the line mBox = mRenderSystem->createBody(new NxOgre::Box(1, 1, 1), NxOgre::Vec3(20, 35, 0), "cube.1m.mesh") I have to give in another parameter to the function...