Linker Errors MSVC++08EE
-
Spawn
- Posts: 22
- Joined: Wed Sep 02, 2009 3:52 am
Linker Errors MSVC++08EE
I am trying to get Bullet to work with DirectX 9. I am using Microsoft Visual C++ 2008 Express Edition as a compiler. I downloaded the latest version of Bullet and then I setup VC++ to include the Bullet files. But when I tried running one of the demos that came with Bullet I kept getting linker errors. I don't know what I am doing wrong. Can anyone help me get it setup?
-
shogun
- Posts: 34
- Joined: Tue Mar 04, 2008 3:16 pm
Re: Linker Errors MSVC++08EE
Bullet has nothing to do with DirectX 9. Could you post some of your linker errors?
-
Spawn
- Posts: 22
- Joined: Wed Sep 02, 2009 3:52 am
Re: Linker Errors MSVC++08EE
But it is possible to use Bullet with DX9 isn't it?
I am probably forgeting something obvious but I can't figure out what it is.
I am probably forgeting something obvious but I can't figure out what it is.
Code: Select all
1>------ Build started: Project: BulletTest, Configuration: Debug Win32 ------
1>Linking...
1>DemoEntries.obj : error LNK2019: unresolved external symbol "public: void __thiscall DemoApplication::myinit(void)" (?myinit@DemoApplication@@QAEXXZ) referenced in function "public: static class DemoApplication * __cdecl CcdPhysicsDemo::Create(void)" (?Create@CcdPhysicsDemo@@SAPAVDemoApplication@@XZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CcdPhysicsDemo::initPhysics(void)" (?initPhysics@CcdPhysicsDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall DemoApplication::updateCamera(void)" (?updateCamera@DemoApplication@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CcdPhysicsDemo::clientMoveAndDisplay(void)" (?clientMoveAndDisplay@CcdPhysicsDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall DemoApplication::clientResetScene(void)" (?clientResetScene@DemoApplication@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall DemoApplication::setShootBoxShape(void)" (?setShootBoxShape@DemoApplication@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall DemoApplication::shootBox(class btVector3 const &)" (?shootBox@DemoApplication@@UAEXABVbtVector3@@@Z)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall DemoApplication::keyboardCallback(unsigned char,int,int)" (?keyboardCallback@DemoApplication@@UAEXEHH@Z)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall GlutDemoApplication::specialKeyboard(int,int,int)" (?specialKeyboard@GlutDemoApplication@@UAEXHHH@Z)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall DemoApplication::reshape(int,int)" (?reshape@DemoApplication@@UAEXHH@Z)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall DemoApplication::mouseFunc(int,int,int,int)" (?mouseFunc@DemoApplication@@UAEXHHHH@Z)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall DemoApplication::mouseMotionFunc(int,int)" (?mouseMotionFunc@DemoApplication@@UAEXHH@Z)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CcdPhysicsDemo::displayCallback(void)" (?displayCallback@CcdPhysicsDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall DemoApplication::renderme(void)" (?renderme@DemoApplication@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall GlutDemoApplication::swapBuffers(void)" (?swapBuffers@GlutDemoApplication@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall GlutDemoApplication::updateModifierKeys(void)" (?updateModifierKeys@GlutDemoApplication@@UAEXXZ)
1>DemoEntries.obj : error LNK2019: unresolved external symbol "public: void __thiscall CcdPhysicsDemo::exitPhysics(void)" (?exitPhysics@CcdPhysicsDemo@@QAEXXZ) referenced in function "public: virtual __thiscall CcdPhysicsDemo::~CcdPhysicsDemo(void)" (??1CcdPhysicsDemo@@UAE@XZ)
1>DemoEntries.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall DemoApplication::~DemoApplication(void)" (??1DemoApplication@@UAE@XZ) referenced in function "public: virtual __thiscall GlutDemoApplication::~GlutDemoApplication(void)" (??1GlutDemoApplication@@UAE@XZ)
1>DemoEntries.obj : error LNK2019: unresolved external symbol "public: __thiscall DemoApplication::DemoApplication(void)" (??0DemoApplication@@QAE@XZ) referenced in function "public: __thiscall GlutDemoApplication::GlutDemoApplication(void)" (??0GlutDemoApplication@@QAE@XZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall DemoApplication::displayCallback(void)" (?displayCallback@DemoApplication@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall BasicDemo::initPhysics(void)" (?initPhysics@BasicDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall BasicDemo::clientMoveAndDisplay(void)" (?clientMoveAndDisplay@BasicDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall BasicDemo::displayCallback(void)" (?displayCallback@BasicDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2019: unresolved external symbol "public: void __thiscall BasicDemo::exitPhysics(void)" (?exitPhysics@BasicDemo@@QAEXXZ) referenced in function "public: virtual __thiscall BasicDemo::~BasicDemo(void)" (??1BasicDemo@@UAE@XZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall ConcaveConvexcastDemo::initPhysics(void)" (?initPhysics@ConcaveConvexcastDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall ConcaveConvexcastDemo::clientMoveAndDisplay(void)" (?clientMoveAndDisplay@ConcaveConvexcastDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall ConcaveConvexcastDemo::keyboardCallback(unsigned char,int,int)" (?keyboardCallback@ConcaveConvexcastDemo@@UAEXEHH@Z)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall ConcaveConvexcastDemo::displayCallback(void)" (?displayCallback@ConcaveConvexcastDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2019: unresolved external symbol "public: void __thiscall ConcaveConvexcastDemo::exitPhysics(void)" (?exitPhysics@ConcaveConvexcastDemo@@QAEXXZ) referenced in function "public: virtual __thiscall ConcaveConvexcastDemo::~ConcaveConvexcastDemo(void)" (??1ConcaveConvexcastDemo@@UAE@XZ)
1>DemoEntries.obj : error LNK2019: unresolved external symbol "public: void __thiscall ConvexDecompositionDemo::initPhysics(char const *)" (?initPhysics@ConvexDecompositionDemo@@QAEXPBD@Z) referenced in function "public: static class DemoApplication * __cdecl ConvexDecompositionDemo::Create(void)" (?Create@ConvexDecompositionDemo@@SAPAVDemoApplication@@XZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall ConvexDecompositionDemo::initPhysics(void)" (?initPhysics@ConvexDecompositionDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall ConvexDecompositionDemo::clientMoveAndDisplay(void)" (?clientMoveAndDisplay@ConvexDecompositionDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall ConvexDecompositionDemo::displayCallback(void)" (?displayCallback@ConvexDecompositionDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2019: unresolved external symbol "public: void __thiscall ConvexDecompositionDemo::exitPhysics(void)" (?exitPhysics@ConvexDecompositionDemo@@QAEXXZ) referenced in function "public: virtual __thiscall ConvexDecompositionDemo::~ConvexDecompositionDemo(void)" (??1ConvexDecompositionDemo@@UAE@XZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall RagdollDemo::initPhysics(void)" (?initPhysics@RagdollDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall RagdollDemo::clientMoveAndDisplay(void)" (?clientMoveAndDisplay@RagdollDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall RagdollDemo::keyboardCallback(unsigned char,int,int)" (?keyboardCallback@RagdollDemo@@UAEXEHH@Z)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall RagdollDemo::displayCallback(void)" (?displayCallback@RagdollDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2019: unresolved external symbol "public: void __thiscall RagdollDemo::exitPhysics(void)" (?exitPhysics@RagdollDemo@@QAEXXZ) referenced in function "public: virtual __thiscall RagdollDemo::~RagdollDemo(void)" (??1RagdollDemo@@UAE@XZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall GimpactConcaveDemo::initPhysics(void)" (?initPhysics@GimpactConcaveDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall GimpactConcaveDemo::clientMoveAndDisplay(void)" (?clientMoveAndDisplay@GimpactConcaveDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall GimpactConcaveDemo::clientResetScene(void)" (?clientResetScene@GimpactConcaveDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall GimpactConcaveDemo::keyboardCallback(unsigned char,int,int)" (?keyboardCallback@GimpactConcaveDemo@@UAEXEHH@Z)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall GimpactConcaveDemo::displayCallback(void)" (?displayCallback@GimpactConcaveDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall GimpactConcaveDemo::renderme(void)" (?renderme@GimpactConcaveDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall GimpactConcaveDemo::~GimpactConcaveDemo(void)" (??1GimpactConcaveDemo@@UAE@XZ) referenced in function "public: virtual void * __thiscall GimpactConcaveDemo::`scalar deleting destructor'(unsigned int)" (??_GGimpactConcaveDemo@@UAEPAXI@Z)
1>DemoEntries.obj : error LNK2019: unresolved external symbol "public: __thiscall ForkLiftDemo::ForkLiftDemo(void)" (??0ForkLiftDemo@@QAE@XZ) referenced in function "public: static class DemoApplication * __cdecl ForkLiftDemo::Create(void)" (?Create@ForkLiftDemo@@SAPAVDemoApplication@@XZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall ConstraintDemo::initPhysics(void)" (?initPhysics@ConstraintDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall ConstraintDemo::clientMoveAndDisplay(void)" (?clientMoveAndDisplay@ConstraintDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall ConstraintDemo::displayCallback(void)" (?displayCallback@ConstraintDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall ConstraintDemo::~ConstraintDemo(void)" (??1ConstraintDemo@@UAE@XZ) referenced in function "public: virtual void * __thiscall ConstraintDemo::`scalar deleting destructor'(unsigned int)" (??_GConstraintDemo@@UAEPAXI@Z)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall BenchmarkDemo::initPhysics(void)" (?initPhysics@BenchmarkDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall BenchmarkDemo::clientMoveAndDisplay(void)" (?clientMoveAndDisplay@BenchmarkDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall BenchmarkDemo::displayCallback(void)" (?displayCallback@BenchmarkDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2019: unresolved external symbol "public: void __thiscall BenchmarkDemo::exitPhysics(void)" (?exitPhysics@BenchmarkDemo@@QAEXXZ) referenced in function "public: virtual __thiscall BenchmarkDemo::~BenchmarkDemo(void)" (??1BenchmarkDemo@@UAE@XZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "unsigned int current_demo" (?current_demo@@3IA)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "unsigned int current_demo" (?current_demo@@3IA)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "unsigned int current_demo" (?current_demo@@3IA)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "unsigned int current_demo" (?current_demo@@3IA)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "unsigned int current_demo" (?current_demo@@3IA)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "unsigned int current_demo" (?current_demo@@3IA)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "unsigned int current_demo" (?current_demo@@3IA)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "unsigned int current_demo" (?current_demo@@3IA)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "unsigned int current_demo" (?current_demo@@3IA)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "unsigned int current_demo" (?current_demo@@3IA)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall SoftDemo::initPhysics(void)" (?initPhysics@SoftDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall SoftDemo::setDrawClusters(bool)" (?setDrawClusters@SoftDemo@@UAEX_N@Z)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall SoftDemo::clientMoveAndDisplay(void)" (?clientMoveAndDisplay@SoftDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall SoftDemo::clientResetScene(void)" (?clientResetScene@SoftDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall SoftDemo::keyboardCallback(unsigned char,int,int)" (?keyboardCallback@SoftDemo@@UAEXEHH@Z)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall SoftDemo::mouseFunc(int,int,int,int)" (?mouseFunc@SoftDemo@@UAEXHHHH@Z)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall SoftDemo::mouseMotionFunc(int,int)" (?mouseMotionFunc@SoftDemo@@UAEXHH@Z)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall SoftDemo::displayCallback(void)" (?displayCallback@SoftDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall SoftDemo::renderme(void)" (?renderme@SoftDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2019: unresolved external symbol "public: void __thiscall SoftDemo::exitPhysics(void)" (?exitPhysics@SoftDemo@@QAEXXZ) referenced in function "public: virtual __thiscall SoftDemo::~SoftDemo(void)" (??1SoftDemo@@UAE@XZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "int gNumAlignedFree" (?gNumAlignedFree@@3HA)
1>DemoEntries.obj : error LNK2019: unresolved external symbol "void __cdecl GLDebugDrawString(int,int,char const *)" (?GLDebugDrawString@@YAXHHPBD@Z) referenced in function "public: virtual void __thiscall btEmptyDebugDemo::clientMoveAndDisplay(void)" (?clientMoveAndDisplay@btEmptyDebugDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "int gNumAlignedAllocs" (?gNumAlignedAllocs@@3HA)
1>DemoEntries.obj : error LNK2019: unresolved external symbol "public: void __thiscall DemoApplication::setOrthographicProjection(void)" (?setOrthographicProjection@DemoApplication@@QAEXXZ) referenced in function "public: virtual void __thiscall btEmptyDebugDemo::clientMoveAndDisplay(void)" (?clientMoveAndDisplay@btEmptyDebugDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2019: unresolved external symbol "void __cdecl btAlignedFreeInternal(void *)" (?btAlignedFreeInternal@@YAXPAX@Z) referenced in function "public: void __thiscall btAlignedAllocator<class btCollisionShape *,16>::deallocate(class btCollisionShape * *)" (?deallocate@?$btAlignedAllocator@PAVbtCollisionShape@@$0BA@@@QAEXPAPAVbtCollisionShape@@@Z)
1>Main.obj : error LNK2019: unresolved external symbol "public: void __thiscall GLUI::sync_live(void)" (?sync_live@GLUI@@QAEXXZ) referenced in function "void __cdecl setDefaultSettingsAndSync(void)" (?setDefaultSettingsAndSync@@YAXXZ)
1>Main.obj : error LNK2019: unresolved external symbol "public: void __thiscall DemoApplication::toggleIdle(void)" (?toggleIdle@DemoApplication@@QAEXXZ) referenced in function "void __cdecl TogglePause(void)" (?TogglePause@@YAXXZ)
1>Main.obj : error LNK2019: unresolved external symbol "public: void __thiscall GLUI_Master_Object::get_viewport_area(int *,int *,int *,int *)" (?get_viewport_area@GLUI_Master_Object@@QAEXPAH000@Z) referenced in function "void __cdecl Resize(int,int)" (?Resize@@YAXHH@Z)
1>Main.obj : error LNK2001: unresolved external symbol "class GLUI_Master_Object GLUI_Master" (?GLUI_Master@@3VGLUI_Master_Object@@A)
1>Main.obj : error LNK2019: unresolved external symbol "public: static void __cdecl CProfileManager::Reset(void)" (?Reset@CProfileManager@@SAXXZ) referenced in function "class DemoApplication * __cdecl CreatDemo(struct btDemoEntry *)" (?CreatDemo@@YAPAVDemoApplication@@PAUbtDemoEntry@@@Z)
1>Main.obj : error LNK2019: unresolved external symbol "public: __thiscall GLDebugDrawer::GLDebugDrawer(void)" (??0GLDebugDrawer@@QAE@XZ) referenced in function "class DemoApplication * __cdecl CreatDemo(struct btDemoEntry *)" (?CreatDemo@@YAPAVDemoApplication@@PAUbtDemoEntry@@@Z)
1>Main.obj : error LNK2019: unresolved external symbol "public: void __thiscall DemoApplication::setDebugMode(int)" (?setDebugMode@DemoApplication@@QAEXH@Z) referenced in function "void __cdecl SimulationLoop(void)" (?SimulationLoop@@YAXXZ)
1>Main.obj : error LNK2019: unresolved external symbol "public: void __thiscall GLUI::set_main_gfx_window(int)" (?set_main_gfx_window@GLUI@@QAEXH@Z) referenced in function _main
1>Main.obj : error LNK2019: unresolved external symbol "public: int __thiscall GLUI_Listbox::add_item(int,char const *)" (?add_item@GLUI_Listbox@@QAEHHPBD@Z) referenced in function _main
1>Main.obj : error LNK2019: unresolved external symbol "public: class GLUI_Checkbox * __thiscall GLUI::add_checkbox_to_panel(class GLUI_Panel *,char const *,int *,int,class GLUI_CB)" (?add_checkbox_to_panel@GLUI@@QAEPAVGLUI_Checkbox@@PAVGLUI_Panel@@PBDPAHHVGLUI_CB@@@Z) referenced in function _main
1>Main.obj : error LNK2019: unresolved external symbol "public: class GLUI_Panel * __thiscall GLUI::add_panel(char const *,int)" (?add_panel@GLUI@@QAEPAVGLUI_Panel@@PBDH@Z) referenced in function _main
1>Main.obj : error LNK2019: unresolved external symbol "public: void __thiscall GLUI_Spinner::set_float_limits(float,float,int)" (?set_float_limits@GLUI_Spinner@@QAEXMMH@Z) referenced in function _main
1>Main.obj : error LNK2019: unresolved external symbol "public: class GLUI_Checkbox * __thiscall GLUI::add_checkbox(char const *,int *,int,class GLUI_CB)" (?add_checkbox@GLUI@@QAEPAVGLUI_Checkbox@@PBDPAHHVGLUI_CB@@@Z) referenced in function _main
1>Main.obj : error LNK2019: unresolved external symbol "public: void __thiscall GLUI_Spinner::set_int_limits(int,int,int)" (?set_int_limits@GLUI_Spinner@@QAEXHHH@Z) referenced in function _main
1>Main.obj : error LNK2019: unresolved external symbol "public: class GLUI_Spinner * __thiscall GLUI::add_spinner(char const *,int,void *,int,class GLUI_CB)" (?add_spinner@GLUI@@QAEPAVGLUI_Spinner@@PBDHPAXHVGLUI_CB@@@Z) referenced in function _main
1>Main.obj : error LNK2019: unresolved external symbol "public: void __thiscall GLUI::add_separator(void)" (?add_separator@GLUI@@QAEXXZ) referenced in function _main
1>Main.obj : error LNK2019: unresolved external symbol "public: class GLUI_Button * __thiscall GLUI::add_button(char const *,int,class GLUI_CB)" (?add_button@GLUI@@QAEPAVGLUI_Button@@PBDHVGLUI_CB@@@Z) referenced in function _main
1>Main.obj : error LNK2019: unresolved external symbol "public: class GLUI_Listbox * __thiscall GLUI::add_listbox(char const *,int *,int,class GLUI_CB)" (?add_listbox@GLUI@@QAEPAVGLUI_Listbox@@PBDPAHHVGLUI_CB@@@Z) referenced in function _main
1>Main.obj : error LNK2019: unresolved external symbol "public: class GLUI_StaticText * __thiscall GLUI::add_statictext(char const *)" (?add_statictext@GLUI@@QAEPAVGLUI_StaticText@@PBD@Z) referenced in function _main
1>Main.obj : error LNK2019: unresolved external symbol "public: class GLUI * __thiscall GLUI_Master_Object::create_glui_subwindow(int,long)" (?create_glui_subwindow@GLUI_Master_Object@@QAEPAVGLUI@@HJ@Z) referenced in function _main
1>Main.obj : error LNK2019: unresolved external symbol "public: void __thiscall GLUI_Master_Object::set_glutMouseFunc(void (__cdecl*)(int,int,int,int))" (?set_glutMouseFunc@GLUI_Master_Object@@QAEXP6AXHHHH@Z@Z) referenced in function _main
1>Main.obj : error LNK2019: unresolved external symbol "public: void __thiscall GLUI_Master_Object::set_glutSpecialUpFunc(void (__cdecl*)(int,int,int))" (?set_glutSpecialUpFunc@GLUI_Master_Object@@QAEXP6AXHHH@Z@Z) referenced in function _main
1>Main.obj : error LNK2019: unresolved external symbol "public: void __thiscall GLUI_Master_Object::set_glutSpecialFunc(void (__cdecl*)(int,int,int))" (?set_glutSpecialFunc@GLUI_Master_Object@@QAEXP6AXHHH@Z@Z) referenced in function _main
1>Main.obj : error LNK2019: unresolved external symbol "public: void __thiscall GLUI_Master_Object::set_glutKeyboardFunc(void (__cdecl*)(unsigned char,int,int))" (?set_glutKeyboardFunc@GLUI_Master_Object@@QAEXP6AXEHH@Z@Z) referenced in function _main
1>Main.obj : error LNK2019: unresolved external symbol "public: void __thiscall GLUI_Master_Object::set_glutReshapeFunc(void (__cdecl*)(int,int))" (?set_glutReshapeFunc@GLUI_Master_Object@@QAEXP6AXHH@Z@Z) referenced in function _main
1>C:\Documents and Settings\Patrik\My Documents\Visual Studio 2008\Projects\BulletTest\Debug\BulletTest.exe : fatal error LNK1120: 96 unresolved externals
1>Build log was saved at "file://c:\Documents and Settings\Patrik\My Documents\Visual Studio 2008\Projects\BulletTest\BulletTest\Debug\BuildLog.htm"
1>BulletTest - 106 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
-
shogun
- Posts: 34
- Joined: Tue Mar 04, 2008 3:16 pm
Re: Linker Errors MSVC++08EE
What should I say? You're obviously not linking any libraries ...
-
Spawn
- Posts: 22
- Joined: Wed Sep 02, 2009 3:52 am
Re: Linker Errors MSVC++08EE
Whoops I guess I wasn't linking them right or something...
106->61->51 errors. They are all linked now. For sure. What is the problem now?
EDIT: lol used release .libs for debug. But now Im out of ideas....
106->61->51 errors. They are all linked now. For sure. What is the problem now?
EDIT: lol used release .libs for debug. But now Im out of ideas....
Code: Select all
1>------ Build started: Project: BulletTest, Configuration: Release Win32 ------
1>Compiling...
1>Main.cpp
1>Note: including lib: glut32.lib
1>DemoEntries.cpp
1>Note: including lib: glut32.lib
1>..\..\..\..\..\..\..\bullet-2.75-rc7\Demos\AllBulletDemos\DemoEntries.cpp(68) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(366) : see declaration of 'sprintf'
1>..\..\..\..\..\..\..\bullet-2.75-rc7\Demos\AllBulletDemos\DemoEntries.cpp(73) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(366) : see declaration of 'sprintf'
1>..\..\..\..\..\..\..\bullet-2.75-rc7\Demos\AllBulletDemos\DemoEntries.cpp(78) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(366) : see declaration of 'sprintf'
1>Linking...
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: __thiscall ForkLiftDemo::ForkLiftDemo(void)" (??0ForkLiftDemo@@QAE@XZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall ConstraintDemo::displayCallback(void)" (?displayCallback@ConstraintDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall ConstraintDemo::clientMoveAndDisplay(void)" (?clientMoveAndDisplay@ConstraintDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall ConstraintDemo::initPhysics(void)" (?initPhysics@ConstraintDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall ConstraintDemo::~ConstraintDemo(void)" (??1ConstraintDemo@@UAE@XZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CcdPhysicsDemo::displayCallback(void)" (?displayCallback@CcdPhysicsDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CcdPhysicsDemo::clientMoveAndDisplay(void)" (?clientMoveAndDisplay@CcdPhysicsDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: void __thiscall CcdPhysicsDemo::exitPhysics(void)" (?exitPhysics@CcdPhysicsDemo@@QAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CcdPhysicsDemo::initPhysics(void)" (?initPhysics@CcdPhysicsDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall ConcaveConvexcastDemo::keyboardCallback(unsigned char,int,int)" (?keyboardCallback@ConcaveConvexcastDemo@@UAEXEHH@Z)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall ConcaveConvexcastDemo::displayCallback(void)" (?displayCallback@ConcaveConvexcastDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall ConcaveConvexcastDemo::clientMoveAndDisplay(void)" (?clientMoveAndDisplay@ConcaveConvexcastDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: void __thiscall ConcaveConvexcastDemo::exitPhysics(void)" (?exitPhysics@ConcaveConvexcastDemo@@QAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall ConcaveConvexcastDemo::initPhysics(void)" (?initPhysics@ConcaveConvexcastDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall RagdollDemo::keyboardCallback(unsigned char,int,int)" (?keyboardCallback@RagdollDemo@@UAEXEHH@Z)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall RagdollDemo::displayCallback(void)" (?displayCallback@RagdollDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall RagdollDemo::clientMoveAndDisplay(void)" (?clientMoveAndDisplay@RagdollDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: void __thiscall RagdollDemo::exitPhysics(void)" (?exitPhysics@RagdollDemo@@QAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall RagdollDemo::initPhysics(void)" (?initPhysics@RagdollDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall SoftDemo::mouseMotionFunc(int,int)" (?mouseMotionFunc@SoftDemo@@UAEXHH@Z)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall SoftDemo::mouseFunc(int,int,int,int)" (?mouseFunc@SoftDemo@@UAEXHHHH@Z)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall SoftDemo::keyboardCallback(unsigned char,int,int)" (?keyboardCallback@SoftDemo@@UAEXEHH@Z)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall SoftDemo::renderme(void)" (?renderme@SoftDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall SoftDemo::clientResetScene(void)" (?clientResetScene@SoftDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall SoftDemo::setDrawClusters(bool)" (?setDrawClusters@SoftDemo@@UAEX_N@Z)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall SoftDemo::displayCallback(void)" (?displayCallback@SoftDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall SoftDemo::clientMoveAndDisplay(void)" (?clientMoveAndDisplay@SoftDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: void __thiscall SoftDemo::exitPhysics(void)" (?exitPhysics@SoftDemo@@QAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall SoftDemo::initPhysics(void)" (?initPhysics@SoftDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall BenchmarkDemo::displayCallback(void)" (?displayCallback@BenchmarkDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall BenchmarkDemo::clientMoveAndDisplay(void)" (?clientMoveAndDisplay@BenchmarkDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: void __thiscall BenchmarkDemo::exitPhysics(void)" (?exitPhysics@BenchmarkDemo@@QAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall BenchmarkDemo::initPhysics(void)" (?initPhysics@BenchmarkDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall BasicDemo::displayCallback(void)" (?displayCallback@BasicDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall BasicDemo::clientMoveAndDisplay(void)" (?clientMoveAndDisplay@BasicDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: void __thiscall BasicDemo::exitPhysics(void)" (?exitPhysics@BasicDemo@@QAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall BasicDemo::initPhysics(void)" (?initPhysics@BasicDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall GimpactConcaveDemo::keyboardCallback(unsigned char,int,int)" (?keyboardCallback@GimpactConcaveDemo@@UAEXEHH@Z)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall GimpactConcaveDemo::renderme(void)" (?renderme@GimpactConcaveDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall GimpactConcaveDemo::clientResetScene(void)" (?clientResetScene@GimpactConcaveDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall GimpactConcaveDemo::displayCallback(void)" (?displayCallback@GimpactConcaveDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall GimpactConcaveDemo::clientMoveAndDisplay(void)" (?clientMoveAndDisplay@GimpactConcaveDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall GimpactConcaveDemo::initPhysics(void)" (?initPhysics@GimpactConcaveDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall GimpactConcaveDemo::~GimpactConcaveDemo(void)" (??1GimpactConcaveDemo@@UAE@XZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall ConvexDecompositionDemo::displayCallback(void)" (?displayCallback@ConvexDecompositionDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall ConvexDecompositionDemo::clientMoveAndDisplay(void)" (?clientMoveAndDisplay@ConvexDecompositionDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: void __thiscall ConvexDecompositionDemo::exitPhysics(void)" (?exitPhysics@ConvexDecompositionDemo@@QAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall ConvexDecompositionDemo::initPhysics(void)" (?initPhysics@ConvexDecompositionDemo@@UAEXXZ)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "public: void __thiscall ConvexDecompositionDemo::initPhysics(char const *)" (?initPhysics@ConvexDecompositionDemo@@QAEXPBD@Z)
1>DemoEntries.obj : error LNK2001: unresolved external symbol "unsigned int current_demo" (?current_demo@@3IA)
1>C:\Documents and Settings\Patrik\My Documents\Visual Studio 2008\Projects\BulletTest\Release\BulletTest.exe : fatal error LNK1120: 50 unresolved externals
1>Build log was saved at "file://c:\Documents and Settings\Patrik\My Documents\Visual Studio 2008\Projects\BulletTest\BulletTest\Release\BuildLog.htm"
1>BulletTest - 51 error(s), 3 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========-
Spawn
- Posts: 22
- Joined: Wed Sep 02, 2009 3:52 am
Re: Linker Errors MSVC++08EE
Wait nvm. I tried Demos/BasicDemo instead of Demos/AllBulletDemos and it compiled without errors... Then when it complained about it I gave it the glut32.dll now it will compile but all I get is a cmd box and then a crash... Any ideas what's wrong?
-
Spawn
- Posts: 22
- Joined: Wed Sep 02, 2009 3:52 am
Re: Linker Errors MSVC++08EE
Why am I being ignored??? >_<
I found out some more. I found this Hello World Tutorial. I thought I would try it.
Hello World
This is the code I used.
I kept commenting out codes to find out what was wrong. I found that this was the problem.
I couldn't try
Because it needed the dispatcher...
I tried debuging.
But commenting that out just made it show the next line as the problem. Until
was the problem..... I'm not too good using a debugger....
I found out some more. I found this Hello World Tutorial. I thought I would try it.
Hello World
This is the code I used.
Code: Select all
#include <btBulletDynamicsCommon.h>
#include <iostream>
int main () {
std::cout << "Hello World!" << std::endl;
// Build the broadphase
int maxProxies = 1024;
btVector3 worldAabbMin(-10000,-10000,-10000);
btVector3 worldAabbMax(10000,10000,10000);
btAxisSweep3* broadphase = new btAxisSweep3(worldAabbMin,worldAabbMax,maxProxies);
// Set up the collision configuration and dispatcher
btDefaultCollisionConfiguration* collisionConfiguration = new btDefaultCollisionConfiguration();
btCollisionDispatcher* dispatcher = new btCollisionDispatcher(collisionConfiguration);
// The actual physics solver
btSequentialImpulseConstraintSolver* solver = new btSequentialImpulseConstraintSolver;
// The world.
btDiscreteDynamicsWorld* dynamicsWorld = new btDiscreteDynamicsWorld(dispatcher,broadphase,solver,collisionConfiguration);
// Do_everything_else_here
// Clean up behind ourselves like good little programmers
delete dynamicsWorld;
delete solver;
delete dispatcher;
delete collisionConfiguration;
delete broadphase;
return 0;
}
Code: Select all
btCollisionDispatcher* dispatcher = new btCollisionDispatcher(collisionConfiguration);Code: Select all
btDiscreteDynamicsWorld* dynamicsWorld = new btDiscreteDynamicsWorld(dispatcher,broadphase,solver,collisionConfiguration);I tried debuging.
But it pointed to.Windows has triggered a breakpoint in Hello World.exe.
This may be due to a corruption of the heap, which indicates a bug in Hello World.exe or any of the DLLs it has loaded.
This may also be due to the user pressing F12 while Hello World.exe has focus.
The output window may have more diagnostic information.
Code: Select all
delete collisionConfiguration;Code: Select all
return 0;-
shogun
- Posts: 34
- Joined: Tue Mar 04, 2008 3:16 pm
Re: Linker Errors MSVC++08EE
This sample compiles and executes fine here.
Which libs are you linking?
Which libs are you linking?
-
Spawn
- Posts: 22
- Joined: Wed Sep 02, 2009 3:52 am
Re: Linker Errors MSVC++08EE
meh just to be safe I tried all of them
I also had to exclude this one.
Code: Select all
libbulletdynamics.lib libGIMPACTUtils.lib libglui.lib libbulletcollision.lib libbulletmath.lib libbulletopenglsupport.lib libbulletsoftbody.lib libconvexdecomposition.lib glut32.lib glew32.libCode: Select all
LIBCMT.lib-
Spawn
- Posts: 22
- Joined: Wed Sep 02, 2009 3:52 am
Re: Linker Errors MSVC++08EE
what did i do to deserve being ignored? was it something i said?
-
Erwin Coumans
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: Linker Errors MSVC++08EE
Using Bullet requires a good knowledge of your tools, such as compiler and build system.
Do the Bullet demos with the provided build systems (Bullet/msvc/8/bullet_wks.sln for example) compile/link and run fine?
Thanks,
Erwin
Do the Bullet demos with the provided build systems (Bullet/msvc/8/bullet_wks.sln for example) compile/link and run fine?
Thanks,
Erwin
-
Spawn
- Posts: 22
- Joined: Wed Sep 02, 2009 3:52 am
Re: Linker Errors MSVC++08EE
71 yes. thats how i got the .libs. But 8 doesn't even open for some reason...
-
shogun
- Posts: 34
- Joined: Tue Mar 04, 2008 3:16 pm
Re: Linker Errors MSVC++08EE
Are you linking your program with libraries compiled with a different version? Because that could be a problem.
-
Spawn
- Posts: 22
- Joined: Wed Sep 02, 2009 3:52 am
Re: Linker Errors MSVC++08EE
If you mean I'm compiling the VC++ 7.1 build system but using it with VC++ 2008 then yes I am doing that.
Even then compiling VC++ 8 wouldnt work as thats 2005 and I am using 2008. I dont see a VC++ 2008 build system so I dont know what I am supposed to do....
Even then compiling VC++ 8 wouldnt work as thats 2005 and I am using 2008. I dont see a VC++ 2008 build system so I dont know what I am supposed to do....