Skip to content

Instantly share code, notes, and snippets.

@khafatech
Created January 31, 2013 03:40
Show Gist options
  • Select an option

  • Save khafatech/4679857 to your computer and use it in GitHub Desktop.

Select an option

Save khafatech/4679857 to your computer and use it in GitHub Desktop.
g++ -DGL_GLEXT_PROTOTYPES -Wall -g -Wno-unknown-pragmas main.o MStackHelp.o GLSL_helper.o Shader.o ModelManager.o GameObject.o GameDrawableObject.o GameKartObject.o GamePhysics.o GamePhysicsActor.o GameRamp.o GameUtilities.o -o kpp ./glfw/lib/x11/libglfw.a -lXxf86vm -lXext -lrt -lX11 -lGLU -lGL -pthread -lm
GamePhysics.o: In function `GamePhysics::GamePhysics()':
CityTrial/GamePhysics.cpp:19: undefined reference to `physx::PxDefaultErrorCallback::PxDefaultErrorCallback()'
CityTrial/GamePhysics.cpp:19: undefined reference to `physx::PxDefaultErrorCallback::~PxDefaultErrorCallback()'
CityTrial/GamePhysics.cpp:22: undefined reference to `PxCreateFoundation'
CityTrial/GamePhysics.cpp:27: undefined reference to `physx::PxProfileZoneManager::createProfileZoneManager(physx::PxFoundation*)'
CityTrial/GamePhysics.cpp:42: undefined reference to `physx::PxDefaultCpuDispatcherCreate(unsigned int, unsigned int*)'
CityTrial/GamePhysics.cpp:48: undefined reference to `physx::PxDefaultSimulationFilterShader(unsigned int, physx::PxFilterData, unsigned int, physx::PxFilterData, physx::PxFlags<physx::PxPairFlag::Enum, unsigned short>&, void const*, unsigned int)'
GamePhysics.o: In function `GamePhysics::makeStaticActor(physx::PxTransform, physx::PxGeometry*, physx::PxMaterial*)':
CityTrial/GamePhysics.cpp:67: undefined reference to `PxCreateStatic'
GamePhysics.o: In function `GamePhysics::makeDynamicActor(physx::PxTransform, physx::PxGeometry*, physx::PxMaterial*, double)':
CityTrial/GamePhysics.cpp:75: undefined reference to `PxCreateDynamic'
GamePhysics.o: In function `PxCreatePhysics(unsigned int, physx::PxFoundation&, physx::PxTolerancesScale const&, bool, physx::PxProfileZoneManager*)':
CityTrial/./physx/Include/PxPhysics.h:648: undefined reference to `PxCreateBasePhysics'
CityTrial/./physx/Include/PxPhysics.h:652: undefined reference to `PxRegisterArticulations'
CityTrial/./physx/Include/PxPhysics.h:653: undefined reference to `PxRegisterHeightFields'
collect2: error: ld returned 1 exit status
make: *** [build] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment