hi,
i am new in havok.....i want to learn havok.so i make a new project in vs2008 for"hk660r1\Demo\Demos\Physics\Api\Vehicle\Car" demo....i add all the library and linking & include directories correctly....but the compiler gives these linking errors...
1>------ Build started: Project: Demos, Configuration: Debug Multithreaded DLL Win32 ------ 1>Linking... 1>CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VehicleSetup::buildVehicle(class hkpWorld const *,class hkpVehicleInstance &)" (?buildVehicle@VehicleSetup@@UAEXPBVhkpWorld@@AAVhkpVehicleInstance@@@Z) 1>CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VehicleSetup::setupVehicleData(class hkpWorld const *,class hkpVehicleData &)" (?setupVehicleData@VehicleSetup@@UAEXPBVhkpWorld@@AAVhkpVehicleData@@@Z) 1>CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VehicleSetup::setupComponent(class hkpVehicleData const &,class hkpVehicleDefaultVelocityDamper &)" (?setupComponent@VehicleSetup@@UAEXABVhkpVehicleData@@AAVhkpVehicleDefaultVelocityDamper@@@Z) 1>CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VehicleSetup::setupComponent(class hkpVehicleData const &,class hkpVehicleDefaultAerodynamics &)" (?setupComponent@VehicleSetup@@UAEXABVhkpVehicleData@@AAVhkpVehicleDefaultAerodynamics@@@Z) 1>CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VehicleSetup::setupComponent(class hkpVehicleData const &,class hkpVehicleDefaultSuspension &)" (?setupComponent@VehicleSetup@@UAEXABVhkpVehicleData@@AAVhkpVehicleDefaultSuspension@@@Z) 1>CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VehicleSetup::setupComponent(class hkpVehicleData const &,class hkpVehicleDefaultBrake &)" (?setupComponent@VehicleSetup@@UAEXABVhkpVehicleData@@AAVhkpVehicleDefaultBrake@@@Z) 1>CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VehicleSetup::setupComponent(class hkpVehicleData const &,class hkpVehicleDefaultTransmission &)" (?setupComponent@VehicleSetup@@UAEXABVhkpVehicleData@@AAVhkpVehicleDefaultTransmission@@@Z) 1>CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VehicleSetup::setupComponent(class hkpVehicleData const &,class hkpVehicleDefaultEngine &)" (?setupComponent@VehicleSetup@@UAEXABVhkpVehicleData@@AAVhkpVehicleDefaultEngine@@@Z) 1>CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VehicleSetup::setupComponent(class hkpVehicleData const &,class hkpVehicleDefaultSteering &)" (?setupComponent@VehicleSetup@@UAEXABVhkpVehicleData@@AAVhkpVehicleDefaultSteering@@@Z) 1>CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VehicleSetup::setupComponent(class hkpVehicleData const &,class hkpVehicleDefaultAnalogDriverInput &)" (?setupComponent@VehicleSetup@@UAEXABVhkpVehicleData@@AAVhkpVehicleDefaultAnalogDriverInput@@@Z) 1>CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VehicleSetup::setupWheelCollide(class hkpWorld const *,class hkpVehicleInstance const &,class hkpVehicleRayCastWheelCollide &)" (?setupWheelCollide@VehicleSetup@@UAEXPBVhkpWorld@@ABVhkpVehicleInstance@@AAVhkpVehicleRayCastWheelCollide@@@Z) 1>CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VehicleSetup::setupTyremarks(class hkpVehicleData const &,class hkpTyremarksInfo &)" (?setupTyremarks@VehicleSetup@@UAEXABVhkpVehicleData@@AAVhkpTyremarksInfo@@@Z) 1>CarDemo.obj : error LNK2019: unresolved external symbol "public: static void __cdecl VehicleApiUtils::steer(class hkgPad *,float &,float &,class hkpVehicleInstance &,float)" (?steer@VehicleApiUtils@@SAXPAVhkgPad@@AAM1AAVhkpVehicleInstance@@M@Z) referenced in function "protected: virtual void __thiscall CarDemo::steer(void)" (?steer@CarDemo@@MAEXXZ) 1>CarDemo.obj : error LNK2019: unresolved external symbol "public: static void __cdecl VehicleApiUtils::reorient(class hkBool,class hkpAction *,class hkpWorld *)" (?reorient@VehicleApiUtils@@SAXVhkBool@@PAVhkpAction@@PAVhkpWorld@@@Z) referenced in function "protected: virtual void __thiscall CarDemo::steer(void)" (?steer@CarDemo@@MAEXXZ) 1>CarDemo.obj : error LNK2019: unresolved external symbol "public: static class hkpPhysicsSystem * __cdecl GameUtils::createRagdoll(float,class hkVector4 const &,class hkQuaternion const &,int,enum GameUtils::RagdollPartType)" (?createRagdoll@GameUtils@@SAPAVhkpPhysicsSystem@@MABVhkVector4@@ABVhkQuaternion@@HW4RagdollPartType@1@@Z) referenced in function "protected: static void __cdecl CarDemo::createRagdollGrid(class hkpWorld *,int,int,float,float,class hkArray &)" (?createRagdollGrid@CarDemo@@KAXPAVhkpWorld@@HHMMAAV?$hkArray@PAVhkRagdoll@@@@@Z) 1>CarDemo.obj : error LNK2019: unresolved external symbol "public: static class hkpConvexVerticesShape * __cdecl VehicleApiUtils::createCarChassisShape(void)" (?createCarChassisShape@VehicleApiUtils@@SAPAVhkpConvexVerticesShape@@XZ) referenced in function "private: void __thiscall CarDemo::setupVehicles(void)" (?setupVehicles@CarDemo@@AAEXXZ) 1>CarDemo.obj : error LNK2019: unresolved external symbol "public: static void __cdecl VehicleDisplayUtils::updateInfo(class hkDemoEnvironment *,struct VehicleDisplayUtils::VehicleDataAndDisplayInfo &)" (?updateInfo@VehicleDisplayUtils@@SAXPAVhkDemoEnvironment@@AAUVehicleDataAndDisplayInfo@1@@Z) referenced in function "public: virtual enum hkDemo::Result __thiscall CarDemo::stepDemo(void)" (?stepDemo@CarDemo@@UAE?AW4Result@hkDemo@@XZ) 1>CarDemo.obj : error LNK2019: unresolved external symbol "public: static void __cdecl VehicleDisplayUtils::updateTyremarks(float,class hkpVehicleInstance *)" (?updateTyremarks@VehicleDisplayUtils@@SAXMPAVhkpVehicleInstance@@@Z) referenced in function "public: virtual enum hkDemo::Result __thiscall CarDemo::stepDemo(void)" (?stepDemo@CarDemo@@UAE?AW4Result@hkDemo@@XZ) 1>CarDemo.obj : error LNK2019: unresolved external symbol "public: static void __cdecl VehicleApiUtils::updateCamera(class hkDemoEnvironment *,class hkpRigidBody const &,float,class hkp1dAngularFollowCam &)" (?updateCamera@VehicleApiUtils@@SAXPAVhkDemoEnvironment@@ABVhkpRigidBody@@MAAVhkp1dAngularFollowCam@@@Z) referenced in function "public: virtual enum hkDemo::Result __thiscall CarDemo::stepDemo(void)" (?stepDemo@CarDemo@@UAE?AW4Result@hkDemo@@XZ) 1>CarDemo.obj : error LNK2019: unresolved external symbol "public: static void __cdecl VehicleApiUtils::syncDisplayWheels(class hkDemoEnvironment *,class hkpVehicleInstance &,class hkArray const &,int)" (?syncDisplayWheels@VehicleApiUtils@@SAXPAVhkDemoEnvironment@@AAVhkpVehicleInstance@@ABV?$hkArray@H@@H@Z) referenced in function "public: virtual enum hkDemo::Result __thiscall CarDemo::stepDemo(void)" (?stepDemo@CarDemo@@UAE?AW4Result@hkDemo@@XZ) 1>CarDemo.obj : error LNK2019: unresolved external symbol "public: virtual enum hkDemo::Result __thiscall hkDefaultPhysicsDemo::stepDemo(void)" (?stepDemo@hkDefaultPhysicsDemo@@UAE?AW4Result@hkDemo@@XZ) referenced in function "public: virtual enum hkDemo::Result __thiscall CarDemo::stepDemo(void)" (?stepDemo@CarDemo@@UAE?AW4Result@hkDemo@@XZ) 1>CarDemo.obj : error LNK2019: unresolved external symbol "public: class hkpMoppBvTreeShape * __thiscall FlatLand::createMoppShapeForSpu(void)" (?createMoppShapeForSpu@FlatLand@@QAEPAVhkpMoppBvTreeShape@@XZ) referenced in function "protected: void __thiscall CarDemo::buildLandscape(void)" (?buildLandscape@CarDemo@@IAEXXZ) 1>CarDemo.obj : error LNK2019: unresolved external symbol "public: __thiscall FlatLand::FlatLand(int)" (??0FlatLand@@QAE@H@Z) referenced in function "protected: void __thiscall CarDemo::buildLandscape(void)" (?buildLandscape@CarDemo@@IAEXXZ) 1>CarDemo.obj : error LNK2019: unresolved external symbol "public: void __thiscall hkDefaultDemo::setupGraphics(void)" (?setupGraphics@hkDefaultDemo@@QAEXXZ) referenced in function "protected: void __thiscall CarDemo::setUpWorld(void)" (?setUpWorld@CarDemo@@IAEXXZ) 1>CarDemo.obj : error LNK2019: unresolved external symbol "public: void __thiscall hkDefaultDemo::setupDefaultCameras(class hkDemoEnvironment *,class hkVector4 const &,class hkVector4 const &,class hkVector4 const &,float,float,bool)const " (?setupDefaultCameras@hkDefaultDemo@@QBEXPAVhkDemoEnvironment@@ABVhkVector4@@11MM_N@Z) referenced in function "protected: void __thiscall CarDemo::setUpWorld(void)" (?setUpWorld@CarDemo@@IAEXXZ) 1>CarDemo.obj : error LNK2019: unresolved external symbol "public: static void __cdecl VehicleApiUtils::createCamera(class hkp1dAngularFollowCam &)" (?createCamera@VehicleApiUtils@@SAXAAVhkp1dAngularFollowCam@@@Z) referenced in function "public: __thiscall CarDemo::CarDemo(class hkDemoEnvironment *,class hkBool,int,int)" (??0CarDemo@@QAE@PAVhkDemoEnvironment@@VhkBool@@HH@Z) 1>CarDemo.obj : error LNK2019: unresolved external symbol "public: __thiscall hkDefaultPhysicsDemo::hkDefaultPhysicsDemo(class hkDemoEnvironment *,enum hkDefaultPhysicsDemo::DemoFlags)" (??0hkDefaultPhysicsDemo@@QAE@PAVhkDemoEnvironment@@W4DemoFlags@0@@Z) referenced in function "public: __thiscall CarDemo::CarDemo(class hkDemoEnvironment *,class hkBool,int,int)" (??0CarDemo@@QAE@PAVhkDemoEnvironment@@VhkBool@@HH@Z) 1>CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall hkDefaultPhysicsDemo::calcContentStatistics(class hkStatisticsCollector *,class hkClass const *)const " (?calcContentStatistics@hkDefaultPhysicsDemo@@UBEXPAVhkStatisticsCollector@@PBVhkClass@@@Z) 1>CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall hkDefaultPhysicsDemo::preDeleteDemo(void)" (?preDeleteDemo@hkDefaultPhysicsDemo@@UAEXXZ) 1>CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall hkDefaultPhysicsDemo::waitForStepCompletion(void)" (?waitForStepCompletion@hkDefaultPhysicsDemo@@UAEXXZ) 1>CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall hkDefaultPhysicsDemo::postRenderDisplayWorld(class hkgViewport *)" (?postRenderDisplayWorld@hkDefaultPhysicsDemo@@UAEXPAVhkgViewport@@@Z) 1>CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual enum hkDemo::Result __thiscall hkDefaultDemo::stepVisualDebugger(void)" (?stepVisualDebugger@hkDefaultDemo@@UAE?AW4Result@hkDemo@@XZ) 1>CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall hkDefaultDemo::getNumTimerStreams(int &,int &,int)const " (?getNumTimerStreams@hkDefaultDemo@@UBEXAAH0H@Z) 1>CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall hkDefaultDemo::getTimerStreamInfo(class hkArray &,class hkArray &,int)" (?getTimerStreamInfo@hkDefaultDemo@@UAEXAAV?$hkArray@UhkTimerData@@@@0H@Z) 1>CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall hkDefaultDemo::resetTimerStreams(void)" (?resetTimerStreams@hkDefaultDemo@@UAEXXZ) 1>CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall hkDefaultPhysicsDemo::addTimersToVdb(class hkArray const &,class hkArray const &)" (?addTimersToVdb@hkDefaultPhysicsDemo@@UAEXABV?$hkArray@UhkTimerData@@@@0@Z) 1>CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall hkDefaultDemo::mouseDown(void)" (?mouseDown@hkDefaultDemo@@UAEXXZ) 1>CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall hkDefaultDemo::mouseUp(void)" (?mouseUp@hkDefaultDemo@@UAEXXZ) 1>CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall hkDefaultDemo::mouseDrag(void)" (?mouseDrag@hkDefaultDemo@@UAEXXZ) 1>CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall hkDefaultDemo::setLightAndFixedShadow(float *,float *,float *,float,float,int)" (?setLightAndFixedShadow@hkDefaultDemo@@UAEXPAM00MMH@Z) 1>CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall hkDefaultPhysicsDemo::setupContexts(class hkArray &)" (?setupContexts@hkDefaultPhysicsDemo@@UAEXAAV?$hkArray@PAVhkProcessContext@@@@@Z) 1>CarDemo.obj : error LNK2001: unresolved external symbol "protected: virtual class hkBool __thiscall hkDefaultPhysicsDemo::objectPicked(class hkgDisplayObject const *,class hkVector4 const &,int)" (?objectPicked@hkDefaultPhysicsDemo@@MAE?AVhkBool@@PBVhkgDisplayObject@@ABVhkVector4@@H@Z) 1>CarDemo.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall hkDefaultPhysicsDemo::objectReleased(void)" (?objectReleased@hkDefaultPhysicsDemo@@MAEXXZ) 1>CarDemo.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall hkDefaultPhysicsDemo::objectDragged(class hkVector4 const &)" (?objectDragged@hkDefaultPhysicsDemo@@MAEXABVhkVector4@@@Z) 1>CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall hkDefaultPhysicsDemo::addOrRemoveThreads(void)" (?addOrRemoveThreads@hkDefaultPhysicsDemo@@UAEXXZ) 1>CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual enum hkpStepResult __thiscall hkDefaultPhysicsDemo::stepAsynchronously(class hkpWorld *,float,float)" (?stepAsynchronously@hkDefaultPhysicsDemo@@UAE?AW4hkpStepResult@@PAVhkpWorld@@MM@Z) 1>CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall hkDefaultPhysicsDemo::setAutoInstancingEnabled(bool)" (?setAutoInstancingEnabled@hkDefaultPhysicsDemo@@UAEX_N@Z) 1>CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall hkDefaultPhysicsDemo::setAutoDisplayCachingEnabled(bool)" (?setAutoDisplayCachingEnabled@hkDefaultPhysicsDemo@@UAEX_N@Z) 1>CarDemo.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall hkDefaultPhysicsDemo::~hkDefaultPhysicsDemo(void)" (??1hkDefaultPhysicsDemo@@UAE@XZ) referenced in function "public: virtual __thiscall CarDemo::~CarDemo(void)" (??1CarDemo@@UAE@XZ) 1>CarDemo.obj : error LNK2019: unresolved external symbol "public: static void __cdecl VehicleApiUtils::createDisplayWheels(class hkDemoEnvironment *,int,int,float,float)" (?createDisplayWheels@VehicleApiUtils@@SAXPAVhkDemoEnvironment@@HHMM@Z) referenced in function "protected: virtual void __thiscall CarDemo::createDisplayWheels(float,float)" (?createDisplayWheels@CarDemo@@MAEXMM@Z) 1>CarDemo.obj : error LNK2019: unresolved external symbol "public: __thiscall hkDemoEntryRegister::hkDemoEntryRegister(class hkDemo * (__cdecl*)(class hkDemoEnvironment *),int,char const *,int,char const *,char const *,char const *,bool)" (??0hkDemoEntryRegister@@QAE@P6APAVhkDemo@@PAVhkDemoEnvironment@@@ZHPBDH222_N@Z) referenced in function "void __cdecl `dynamic initializer for 'hkDemoEntryRegisterCarDemo''(void)" (??__EhkDemoEntryRegisterCarDemo@@YAXXZ) 1>MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup 1>.Demos_win32-net_9-0_debug_multithreaded_dll.exe : fatal error LNK1120: 52 unresolved externals 1>Build log was saved at "file://c:Havok_Physicshk660r1DemoDemosPhysicsApiObjwin32_net_9-0debug_multithreaded_dllDemosBuildLog.htm" 1>Demos - 53 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
please anyone help me to get out from here..........
thanks.......


