Game Development Community

T3D 1.2 and PhysX version

by Roland Stralberg · in Torque 3D Professional · 02/29/2012 (7:25 am) · 6 replies

I registered at NVidia for PhysX and got PhysX 3 SDK.
Now that does not seem to compile with T3D 1.2

Should I register for PhysX 2 ?
Which version?


#1
02/29/2012 (8:57 am)
Yes. You will need the latest PhysX 2 version. 3 was a major overhaul to the API.
#2
02/29/2012 (10:57 am)
Okey. Thank's for the prompt answer. On to registering for the old one then.
#3
02/29/2012 (12:17 pm)
To be more specific, T3D 1.2 was built using 2.8.4.5. PhysX 2.8.4.6 was released at the tail end of T3D 1.2 development. We tested T3D against before release and it was compatible. So 2.8.4.5 and 2.8.4.6 are compatible, any version higher than that may not necessarily be compatible. The lowest required version is 2.8.4.5.
#4
02/29/2012 (2:04 pm)
I got hold of 2.8.4.6 so that should work. Thanks again.
#5
03/01/2012 (6:02 pm)
How can i tell VS2010 where it can find PhysX? I get always an error message when i try to build the test project of Torque 3d.

1>c:torquetorque 3d 1.2enginesourcet3dphysicsphysxpx.h(37): fatal error C1083: Cannot open include file: 'NxPhysics.h': No such file or directory
1> pxFluid.cpp
1>c:torquetorque 3d 1.2enginesourcet3dphysicsphysxpx.h(37): fatal error C1083: Cannot open include file: 'NxPhysics.h': No such file or directory
1> pxMaterial.cpp
1>c:torquetorque 3d 1.2enginesourcet3dphysicsphysxpx.h(37): fatal error C1083: Cannot open include file: 'NxPhysics.h': No such file or directory
1> pxMultiActor.cpp
1>c:torquetorque 3d 1.2enginesourcet3dphysicsphysxpx.h(37): fatal error C1083: Cannot open include file: 'NxPhysics.h': No such file or directory
1> pxPlayer.cpp
1>c:torquetorque 3d 1.2enginesourcet3dphysicsphysxpx.h(37): fatal error C1083: Cannot open include file: 'NxPhysics.h': No such file or directory
1> pxPlugin.cpp
1>c:torquetorque 3d 1.2enginesourcet3dphysicsphysxpx.h(37): fatal error C1083: Cannot open include file: 'NxPhysics.h': No such file or directory
1> pxStream.cpp
1>c:torquetorque 3d 1.2enginesourcet3dphysicsphysxpx.h(37): fatal error C1083: Cannot open include file: 'NxPhysics.h': No such file or directory
1> pxUtils.cpp
1>c:torquetorque 3d 1.2enginesourcet3dphysicsphysxpx.h(37): fatal error C1083: Cannot open include file: 'NxPhysics.h': No such file or directory
1> pxWorld.cpp
1>c:torquetorque 3d 1.2enginesourcet3dphysicsphysxpx.h(37): fatal error C1083: Cannot open include file: 'NxPhysics.h': No such file or directory
1>c:torquetorque 3d 1.2enginesourcet3dphysicsphysxpx.h(37): fatal error C1083: Cannot open include file: 'NxPhysics.h': No such file or directory
1>c:torquetorque 3d 1.2enginesourcet3dphysicsphysxpx.h(37): fatal error C1083: Cannot open include file: 'NxPhysics.h': No such file or directory
1>c:torquetorque 3d 1.2enginesourcet3dphysicsphysxpx.h(37): fatal error C1083: Cannot open include file: 'NxPhysics.h': No such file or directory
2>------ Build started: Project: T3D_Tutorial_Project, Configuration: Debug Win32 ------
3>------ Build started: Project: NP T3D_Tutorial_Project Plugin, Configuration: Debug Win32 ------
2>LINK : fatal error LNK1104: cannot open file 'C:TorqueTorque 3D 1.2My ProjectsT3D_Tutorial_ProjectgameT3D_Tutorial_Project_DEBUG.lib'
3>LINK : fatal error LNK1104: cannot open file 'C:TorqueTorque 3D 1.2My ProjectsT3D_Tutorial_ProjectgameT3D_Tutorial_Project_DEBUG.lib'



PS:
Is there any way of searching the forum? I can't find the search.
#6
03/01/2012 (9:03 pm)
ok, the problem solved itself after a restart.