Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [saya@neverland RagdollDemo]$ g++ *.cpp -lGL -lGLU -l BulletSoftBody -l BulletDynamics -l BulletCollision -l LinearMath -I ~/bullet_physics/bullet-2.82-r2704/src/ -I /usr/local/include/bullet/ -I ~/bullet_physics/bullet-2.82-r2704/Demos/OpenGL/ -I /usr/include/bullet/
- /tmp/ccsIDtYD.o: In function `main':
- main.cpp:(.text+0x84): undefined reference to `glutmain(int, char**, int, int, char const*, DemoApplication*)'
- /tmp/ccsIDtYD.o: In function `__static_initialization_and_destruction_0(int, int)':
- main.cpp:(.text+0xe7): undefined reference to `GLDebugDrawer::GLDebugDrawer()'
- main.cpp:(.text+0xf6): undefined reference to `GLDebugDrawer::~GLDebugDrawer()'
- /tmp/ccsIDtYD.o: In function `GlutDemoApplication::~GlutDemoApplication()':
- main.cpp:(.text._ZN19GlutDemoApplicationD2Ev[_ZN19GlutDemoApplicationD5Ev]+0x13): undefined reference to `vtable for GlutDemoApplication'
- main.cpp:(.text._ZN19GlutDemoApplicationD2Ev[_ZN19GlutDemoApplicationD5Ev]+0x1f): undefined reference to `DemoApplication::~DemoApplication()'
- /tmp/ccsIDtYD.o: In function `GlutDemoApplication::GlutDemoApplication()':
- main.cpp:(.text._ZN19GlutDemoApplicationC2Ev[_ZN19GlutDemoApplicationC5Ev]+0x14): undefined reference to `DemoApplication::DemoApplication()'
- main.cpp:(.text._ZN19GlutDemoApplicationC2Ev[_ZN19GlutDemoApplicationC5Ev]+0x1f): undefined reference to `vtable for GlutDemoApplication'
- /tmp/ccBtQpD5.o: In function `RagdollDemo::initPhysics()':
- RagdollDemo.cpp:(.text+0x50): undefined reference to `DemoApplication::setCameraDistance(float)'
- /tmp/ccBtQpD5.o: In function `RagdollDemo::clientMoveAndDisplay()':
- RagdollDemo.cpp:(.text+0x609): undefined reference to `glutSwapBuffers'
- /tmp/ccBtQpD5.o: In function `RagdollDemo::displayCallback()':
- RagdollDemo.cpp:(.text+0x671): undefined reference to `glutSwapBuffers'
- /tmp/ccBtQpD5.o: In function `RagdollDemo::keyboardCallback(unsigned char, int, int)':
- RagdollDemo.cpp:(.text+0x6f3): undefined reference to `DemoApplication::keyboardCallback(unsigned char, int, int)'
- /tmp/ccBtQpD5.o:(.rodata._ZTV11RagdollDemo[_ZTV11RagdollDemo]+0x10): undefined reference to `DemoApplication::removePickingConstraint()'
- /tmp/ccBtQpD5.o:(.rodata._ZTV11RagdollDemo[_ZTV11RagdollDemo]+0x18): undefined reference to `DemoApplication::pickObject(btVector3 const&, btCollisionObject const*)'
- /tmp/ccBtQpD5.o:(.rodata._ZTV11RagdollDemo[_ZTV11RagdollDemo]+0x40): undefined reference to `DemoApplication::myinit()'
- /tmp/ccBtQpD5.o:(.rodata._ZTV11RagdollDemo[_ZTV11RagdollDemo]+0x48): undefined reference to `DemoApplication::updateCamera()'
- /tmp/ccBtQpD5.o:(.rodata._ZTV11RagdollDemo[_ZTV11RagdollDemo]+0x58): undefined reference to `DemoApplication::clientResetScene()'
- /tmp/ccBtQpD5.o:(.rodata._ZTV11RagdollDemo[_ZTV11RagdollDemo]+0x60): undefined reference to `DemoApplication::setShootBoxShape()'
- /tmp/ccBtQpD5.o:(.rodata._ZTV11RagdollDemo[_ZTV11RagdollDemo]+0x68): undefined reference to `DemoApplication::shootBox(btVector3 const&)'
- /tmp/ccBtQpD5.o:(.rodata._ZTV11RagdollDemo[_ZTV11RagdollDemo]+0x80): undefined reference to `GlutDemoApplication::specialKeyboard(int, int, int)'
- /tmp/ccBtQpD5.o:(.rodata._ZTV11RagdollDemo[_ZTV11RagdollDemo]+0x90): undefined reference to `DemoApplication::reshape(int, int)'
- /tmp/ccBtQpD5.o:(.rodata._ZTV11RagdollDemo[_ZTV11RagdollDemo]+0x98): undefined reference to `DemoApplication::mouseFunc(int, int, int, int)'
- /tmp/ccBtQpD5.o:(.rodata._ZTV11RagdollDemo[_ZTV11RagdollDemo]+0xa0): undefined reference to `DemoApplication::mouseMotionFunc(int, int)'
- /tmp/ccBtQpD5.o:(.rodata._ZTV11RagdollDemo[_ZTV11RagdollDemo]+0xb0): undefined reference to `DemoApplication::renderme()'
- /tmp/ccBtQpD5.o:(.rodata._ZTV11RagdollDemo[_ZTV11RagdollDemo]+0xb8): undefined reference to `GlutDemoApplication::swapBuffers()'
- /tmp/ccBtQpD5.o:(.rodata._ZTV11RagdollDemo[_ZTV11RagdollDemo]+0xc0): undefined reference to `GlutDemoApplication::updateModifierKeys()'
- /tmp/ccBtQpD5.o:(.rodata._ZTI11RagdollDemo[_ZTI11RagdollDemo]+0x10): undefined reference to `typeinfo for GlutDemoApplication'
- collect2: error: ld returned 1 exit status
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement