Advertisement
Guest User

Untitled

a guest
Jul 13th, 2013
480
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.78 KB | None | 0 0
  1. gcc -lglfw3 -lm -lGL -lGLU boing.c
  2. /tmp/cc8BlbT1.o: In function `sin_deg':
  3. boing.c:(.text+0x6e): undefined reference to `sin'
  4. /tmp/cc8BlbT1.o: In function `cos_deg':
  5. boing.c:(.text+0x95): undefined reference to `cos'
  6. /tmp/cc8BlbT1.o: In function `PerspectiveAngle':
  7. boing.c:(.text+0x13e): undefined reference to `atan2'
  8. /tmp/cc8BlbT1.o: In function `init':
  9. boing.c:(.text+0x198): undefined reference to `glClearColor'
  10. boing.c:(.text+0x1a4): undefined reference to `glShadeModel'
  11. /tmp/cc8BlbT1.o: In function `display':
  12. boing.c:(.text+0x1b8): undefined reference to `glClear'
  13. boing.c:(.text+0x1bd): undefined reference to `glPushMatrix'
  14. boing.c:(.text+0x1e5): undefined reference to `glPopMatrix'
  15. boing.c:(.text+0x1ea): undefined reference to `glFlush'
  16. /tmp/cc8BlbT1.o: In function `reshape':
  17. boing.c:(.text+0x214): undefined reference to `glViewport'
  18. boing.c:(.text+0x220): undefined reference to `glMatrixMode'
  19. boing.c:(.text+0x225): undefined reference to `glLoadIdentity'
  20. boing.c:(.text+0x265): undefined reference to `gluPerspective'
  21. boing.c:(.text+0x271): undefined reference to `glMatrixMode'
  22. boing.c:(.text+0x276): undefined reference to `glLoadIdentity'
  23. boing.c:(.text+0x2b6): undefined reference to `gluLookAt'
  24. /tmp/cc8BlbT1.o: In function `key_callback':
  25. boing.c:(.text+0x2e0): undefined reference to `glfwSetWindowShouldClose'
  26. /tmp/cc8BlbT1.o: In function `DrawBoingBall':
  27. boing.c:(.text+0x2ed): undefined reference to `glPushMatrix'
  28. boing.c:(.text+0x2f9): undefined reference to `glMatrixMode'
  29. boing.c:(.text+0x318): undefined reference to `glTranslatef'
  30. boing.c:(.text+0x3b3): undefined reference to `glTranslatef'
  31. boing.c:(.text+0x3dc): undefined reference to `glTranslatef'
  32. boing.c:(.text+0x404): undefined reference to `glRotatef'
  33. boing.c:(.text+0x42f): undefined reference to `glRotatef'
  34. boing.c:(.text+0x43b): undefined reference to `glCullFace'
  35. boing.c:(.text+0x447): undefined reference to `glEnable'
  36. boing.c:(.text+0x453): undefined reference to `glEnable'
  37. boing.c:(.text+0x49b): undefined reference to `glPopMatrix'
  38. /tmp/cc8BlbT1.o: In function `DrawBoingBallBand':
  39. boing.c:(.text+0x6d5): undefined reference to `glColor3f'
  40. boing.c:(.text+0x6f6): undefined reference to `glColor3f'
  41. boing.c:(.text+0x731): undefined reference to `glColor3f'
  42. boing.c:(.text+0x929): undefined reference to `glBegin'
  43. boing.c:(.text+0x98c): undefined reference to `glNormal3f'
  44. boing.c:(.text+0x9a5): undefined reference to `glVertex3f'
  45. boing.c:(.text+0x9be): undefined reference to `glVertex3f'
  46. boing.c:(.text+0x9d7): undefined reference to `glVertex3f'
  47. boing.c:(.text+0x9f0): undefined reference to `glVertex3f'
  48. boing.c:(.text+0x9f5): undefined reference to `glEnd'
  49. /tmp/cc8BlbT1.o: In function `DrawGrid':
  50. boing.c:(.text+0xa62): undefined reference to `glPushMatrix'
  51. boing.c:(.text+0xa6e): undefined reference to `glDisable'
  52. boing.c:(.text+0xa8d): undefined reference to `glTranslatef'
  53. boing.c:(.text+0xad3): undefined reference to `glBegin'
  54. boing.c:(.text+0xaf2): undefined reference to `glColor3f'
  55. boing.c:(.text+0xb0b): undefined reference to `glVertex3f'
  56. boing.c:(.text+0xb24): undefined reference to `glVertex3f'
  57. boing.c:(.text+0xb3d): undefined reference to `glVertex3f'
  58. boing.c:(.text+0xb56): undefined reference to `glVertex3f'
  59. boing.c:(.text+0xb5b): undefined reference to `glEnd'
  60. boing.c:(.text+0xbb3): undefined reference to `glBegin'
  61. boing.c:(.text+0xbd2): undefined reference to `glColor3f'
  62. boing.c:(.text+0xbeb): undefined reference to `glVertex3f'
  63. boing.c:(.text+0xc04): undefined reference to `glVertex3f'
  64. boing.c:(.text+0xc1d): undefined reference to `glVertex3f'
  65. boing.c:(.text+0xc36): undefined reference to `glVertex3f'
  66. boing.c:(.text+0xc3b): undefined reference to `glEnd'
  67. boing.c:(.text+0xc50): undefined reference to `glPopMatrix'
  68. /tmp/cc8BlbT1.o: In function `main':
  69. boing.c:(.text+0xc61): undefined reference to `glfwInit'
  70. boing.c:(.text+0xc85): undefined reference to `glfwWindowHint'
  71. boing.c:(.text+0xcb1): undefined reference to `glfwCreateWindow'
  72. boing.c:(.text+0xcc1): undefined reference to `glfwTerminate'
  73. boing.c:(.text+0xce1): undefined reference to `glfwSetFramebufferSizeCallback'
  74. boing.c:(.text+0xcf5): undefined reference to `glfwSetKeyCallback'
  75. boing.c:(.text+0xd01): undefined reference to `glfwMakeContextCurrent'
  76. boing.c:(.text+0xd0d): undefined reference to `glfwSwapInterval'
  77. boing.c:(.text+0xd29): undefined reference to `glfwGetFramebufferSize'
  78. boing.c:(.text+0xd4f): undefined reference to `glfwSetTime'
  79. boing.c:(.text+0xd5c): undefined reference to `glfwGetTime'
  80. boing.c:(.text+0xd93): undefined reference to `glfwSwapBuffers'
  81. boing.c:(.text+0xd98): undefined reference to `glfwPollEvents'
  82. boing.c:(.text+0xda4): undefined reference to `glfwWindowShouldClose'
  83. boing.c:(.text+0xdae): undefined reference to `glfwTerminate'
  84. collect2: error: ld returned 1 exit status
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement