Game Development Community

Small Compilation Error

by Alex Fritz · in Game Mechanics Kit · 10/28/2011 (11:38 pm) · 2 replies

G'day Guys,

Just purchased this thing, (Demo Looks ace by the way)

In the physicsPhysX.h file of this thing where it says...

static Physics* createPhysicsX(PhysicsWorld* world);

I get this linker Error ...

1>physics.obj : error LNK2019: unresolved external symbol "public: static class Physics * __cdecl PhysicsPhysX::createPhysicsX(class PhysicsWorld *)" (?createPhysicsX@PhysicsPhysX@@SAPAVPhysics@@PAVPhysicsWorld@@@Z) referenced in function "public: static void __cdecl Physics::createPhysics(bool,class PhysicsWorld *)" (?createPhysics@Physics@@SAX_NPAVPhysicsWorld@@@Z)

I'm compiling against PhysX SDK 2.8.4

Now I can compile The Pacific Demo in T3D1.1 Pro no problems at all, so I'm at a little bit of a loss.

What I'm doing is incorporating all this stuff into a terrain engine I am playing with, and it will soon be accessible through T3D too.

www.youtube.com/user/davlexdesign

Can anybody come up with a solution for me please.

Alex

#1
11/02/2011 (5:54 pm)
Having same problem. Using PhysX SDK 2.8.4 also.
#2
11/09/2011 (11:43 am)
you need to update your physx project files (nxCharacter and the other one) to actually use the 2.8.4 sdk, they are looking for a 2.8.3 file.

try removing all trace of the 2.8.3 sdk, rebuild, youll get a whole lot more than that one error....