Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2014
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.97 KB | None | 0 0
  1. [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/
  2. /tmp/ccsIDtYD.o: In function `main':
  3. main.cpp:(.text+0x84): undefined reference to `glutmain(int, char**, int, int, char const*, DemoApplication*)'
  4. /tmp/ccsIDtYD.o: In function `__static_initialization_and_destruction_0(int, int)':
  5. main.cpp:(.text+0xe7): undefined reference to `GLDebugDrawer::GLDebugDrawer()'
  6. main.cpp:(.text+0xf6): undefined reference to `GLDebugDrawer::~GLDebugDrawer()'
  7. /tmp/ccsIDtYD.o: In function `GlutDemoApplication::~GlutDemoApplication()':
  8. main.cpp:(.text._ZN19GlutDemoApplicationD2Ev[_ZN19GlutDemoApplicationD5Ev]+0x13): undefined reference to `vtable for GlutDemoApplication'
  9. main.cpp:(.text._ZN19GlutDemoApplicationD2Ev[_ZN19GlutDemoApplicationD5Ev]+0x1f): undefined reference to `DemoApplication::~DemoApplication()'
  10. /tmp/ccsIDtYD.o: In function `GlutDemoApplication::GlutDemoApplication()':
  11. main.cpp:(.text._ZN19GlutDemoApplicationC2Ev[_ZN19GlutDemoApplicationC5Ev]+0x14): undefined reference to `DemoApplication::DemoApplication()'
  12. main.cpp:(.text._ZN19GlutDemoApplicationC2Ev[_ZN19GlutDemoApplicationC5Ev]+0x1f): undefined reference to `vtable for GlutDemoApplication'
  13. /tmp/ccBtQpD5.o: In function `RagdollDemo::initPhysics()':
  14. RagdollDemo.cpp:(.text+0x50): undefined reference to `DemoApplication::setCameraDistance(float)'
  15. /tmp/ccBtQpD5.o: In function `RagdollDemo::clientMoveAndDisplay()':
  16. RagdollDemo.cpp:(.text+0x609): undefined reference to `glutSwapBuffers'
  17. /tmp/ccBtQpD5.o: In function `RagdollDemo::displayCallback()':
  18. RagdollDemo.cpp:(.text+0x671): undefined reference to `glutSwapBuffers'
  19. /tmp/ccBtQpD5.o: In function `RagdollDemo::keyboardCallback(unsigned char, int, int)':
  20. RagdollDemo.cpp:(.text+0x6f3): undefined reference to `DemoApplication::keyboardCallback(unsigned char, int, int)'
  21. /tmp/ccBtQpD5.o:(.rodata._ZTV11RagdollDemo[_ZTV11RagdollDemo]+0x10): undefined reference to `DemoApplication::removePickingConstraint()'
  22. /tmp/ccBtQpD5.o:(.rodata._ZTV11RagdollDemo[_ZTV11RagdollDemo]+0x18): undefined reference to `DemoApplication::pickObject(btVector3 const&, btCollisionObject const*)'
  23. /tmp/ccBtQpD5.o:(.rodata._ZTV11RagdollDemo[_ZTV11RagdollDemo]+0x40): undefined reference to `DemoApplication::myinit()'
  24. /tmp/ccBtQpD5.o:(.rodata._ZTV11RagdollDemo[_ZTV11RagdollDemo]+0x48): undefined reference to `DemoApplication::updateCamera()'
  25. /tmp/ccBtQpD5.o:(.rodata._ZTV11RagdollDemo[_ZTV11RagdollDemo]+0x58): undefined reference to `DemoApplication::clientResetScene()'
  26. /tmp/ccBtQpD5.o:(.rodata._ZTV11RagdollDemo[_ZTV11RagdollDemo]+0x60): undefined reference to `DemoApplication::setShootBoxShape()'
  27. /tmp/ccBtQpD5.o:(.rodata._ZTV11RagdollDemo[_ZTV11RagdollDemo]+0x68): undefined reference to `DemoApplication::shootBox(btVector3 const&)'
  28. /tmp/ccBtQpD5.o:(.rodata._ZTV11RagdollDemo[_ZTV11RagdollDemo]+0x80): undefined reference to `GlutDemoApplication::specialKeyboard(int, int, int)'
  29. /tmp/ccBtQpD5.o:(.rodata._ZTV11RagdollDemo[_ZTV11RagdollDemo]+0x90): undefined reference to `DemoApplication::reshape(int, int)'
  30. /tmp/ccBtQpD5.o:(.rodata._ZTV11RagdollDemo[_ZTV11RagdollDemo]+0x98): undefined reference to `DemoApplication::mouseFunc(int, int, int, int)'
  31. /tmp/ccBtQpD5.o:(.rodata._ZTV11RagdollDemo[_ZTV11RagdollDemo]+0xa0): undefined reference to `DemoApplication::mouseMotionFunc(int, int)'
  32. /tmp/ccBtQpD5.o:(.rodata._ZTV11RagdollDemo[_ZTV11RagdollDemo]+0xb0): undefined reference to `DemoApplication::renderme()'
  33. /tmp/ccBtQpD5.o:(.rodata._ZTV11RagdollDemo[_ZTV11RagdollDemo]+0xb8): undefined reference to `GlutDemoApplication::swapBuffers()'
  34. /tmp/ccBtQpD5.o:(.rodata._ZTV11RagdollDemo[_ZTV11RagdollDemo]+0xc0): undefined reference to `GlutDemoApplication::updateModifierKeys()'
  35. /tmp/ccBtQpD5.o:(.rodata._ZTI11RagdollDemo[_ZTI11RagdollDemo]+0x10): undefined reference to `typeinfo for GlutDemoApplication'
  36. collect2: error: ld returned 1 exit status
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement