Undefined symbols for architecture x86_64 (Physx 3.3.2, Xcode)

Hey I am new to Physx and I can’t seem to get it to compile. It seems like Xcode cant find the libraries but I did link them in.

Here is my errors:
Undefined symbols for architecture x86_64:
“PxCreateFoundation(unsigned int, physx::PxAllocatorCallback&, physx::PxErrorCallback&)”, referenced from:
PhysxManager::Init() in PhysxManager.o
“PhysxManager::gDefaultErrorCallback”, referenced from:
PhysxManager::Init() in PhysxManager.o
“PhysxManager::gDefaultAllocatorCallback”, referenced from:
PhysxManager::Init() in PhysxManager.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Thank you

Figured it out. Forgot linkerflags. ha

1 Like