Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gcc -lglfw3 -lm -lGL -lGLU boing.c
- /tmp/cc8BlbT1.o: In function `sin_deg':
- boing.c:(.text+0x6e): undefined reference to `sin'
- /tmp/cc8BlbT1.o: In function `cos_deg':
- boing.c:(.text+0x95): undefined reference to `cos'
- /tmp/cc8BlbT1.o: In function `PerspectiveAngle':
- boing.c:(.text+0x13e): undefined reference to `atan2'
- /tmp/cc8BlbT1.o: In function `init':
- boing.c:(.text+0x198): undefined reference to `glClearColor'
- boing.c:(.text+0x1a4): undefined reference to `glShadeModel'
- /tmp/cc8BlbT1.o: In function `display':
- boing.c:(.text+0x1b8): undefined reference to `glClear'
- boing.c:(.text+0x1bd): undefined reference to `glPushMatrix'
- boing.c:(.text+0x1e5): undefined reference to `glPopMatrix'
- boing.c:(.text+0x1ea): undefined reference to `glFlush'
- /tmp/cc8BlbT1.o: In function `reshape':
- boing.c:(.text+0x214): undefined reference to `glViewport'
- boing.c:(.text+0x220): undefined reference to `glMatrixMode'
- boing.c:(.text+0x225): undefined reference to `glLoadIdentity'
- boing.c:(.text+0x265): undefined reference to `gluPerspective'
- boing.c:(.text+0x271): undefined reference to `glMatrixMode'
- boing.c:(.text+0x276): undefined reference to `glLoadIdentity'
- boing.c:(.text+0x2b6): undefined reference to `gluLookAt'
- /tmp/cc8BlbT1.o: In function `key_callback':
- boing.c:(.text+0x2e0): undefined reference to `glfwSetWindowShouldClose'
- /tmp/cc8BlbT1.o: In function `DrawBoingBall':
- boing.c:(.text+0x2ed): undefined reference to `glPushMatrix'
- boing.c:(.text+0x2f9): undefined reference to `glMatrixMode'
- boing.c:(.text+0x318): undefined reference to `glTranslatef'
- boing.c:(.text+0x3b3): undefined reference to `glTranslatef'
- boing.c:(.text+0x3dc): undefined reference to `glTranslatef'
- boing.c:(.text+0x404): undefined reference to `glRotatef'
- boing.c:(.text+0x42f): undefined reference to `glRotatef'
- boing.c:(.text+0x43b): undefined reference to `glCullFace'
- boing.c:(.text+0x447): undefined reference to `glEnable'
- boing.c:(.text+0x453): undefined reference to `glEnable'
- boing.c:(.text+0x49b): undefined reference to `glPopMatrix'
- /tmp/cc8BlbT1.o: In function `DrawBoingBallBand':
- boing.c:(.text+0x6d5): undefined reference to `glColor3f'
- boing.c:(.text+0x6f6): undefined reference to `glColor3f'
- boing.c:(.text+0x731): undefined reference to `glColor3f'
- boing.c:(.text+0x929): undefined reference to `glBegin'
- boing.c:(.text+0x98c): undefined reference to `glNormal3f'
- boing.c:(.text+0x9a5): undefined reference to `glVertex3f'
- boing.c:(.text+0x9be): undefined reference to `glVertex3f'
- boing.c:(.text+0x9d7): undefined reference to `glVertex3f'
- boing.c:(.text+0x9f0): undefined reference to `glVertex3f'
- boing.c:(.text+0x9f5): undefined reference to `glEnd'
- /tmp/cc8BlbT1.o: In function `DrawGrid':
- boing.c:(.text+0xa62): undefined reference to `glPushMatrix'
- boing.c:(.text+0xa6e): undefined reference to `glDisable'
- boing.c:(.text+0xa8d): undefined reference to `glTranslatef'
- boing.c:(.text+0xad3): undefined reference to `glBegin'
- boing.c:(.text+0xaf2): undefined reference to `glColor3f'
- boing.c:(.text+0xb0b): undefined reference to `glVertex3f'
- boing.c:(.text+0xb24): undefined reference to `glVertex3f'
- boing.c:(.text+0xb3d): undefined reference to `glVertex3f'
- boing.c:(.text+0xb56): undefined reference to `glVertex3f'
- boing.c:(.text+0xb5b): undefined reference to `glEnd'
- boing.c:(.text+0xbb3): undefined reference to `glBegin'
- boing.c:(.text+0xbd2): undefined reference to `glColor3f'
- boing.c:(.text+0xbeb): undefined reference to `glVertex3f'
- boing.c:(.text+0xc04): undefined reference to `glVertex3f'
- boing.c:(.text+0xc1d): undefined reference to `glVertex3f'
- boing.c:(.text+0xc36): undefined reference to `glVertex3f'
- boing.c:(.text+0xc3b): undefined reference to `glEnd'
- boing.c:(.text+0xc50): undefined reference to `glPopMatrix'
- /tmp/cc8BlbT1.o: In function `main':
- boing.c:(.text+0xc61): undefined reference to `glfwInit'
- boing.c:(.text+0xc85): undefined reference to `glfwWindowHint'
- boing.c:(.text+0xcb1): undefined reference to `glfwCreateWindow'
- boing.c:(.text+0xcc1): undefined reference to `glfwTerminate'
- boing.c:(.text+0xce1): undefined reference to `glfwSetFramebufferSizeCallback'
- boing.c:(.text+0xcf5): undefined reference to `glfwSetKeyCallback'
- boing.c:(.text+0xd01): undefined reference to `glfwMakeContextCurrent'
- boing.c:(.text+0xd0d): undefined reference to `glfwSwapInterval'
- boing.c:(.text+0xd29): undefined reference to `glfwGetFramebufferSize'
- boing.c:(.text+0xd4f): undefined reference to `glfwSetTime'
- boing.c:(.text+0xd5c): undefined reference to `glfwGetTime'
- boing.c:(.text+0xd93): undefined reference to `glfwSwapBuffers'
- boing.c:(.text+0xd98): undefined reference to `glfwPollEvents'
- boing.c:(.text+0xda4): undefined reference to `glfwWindowShouldClose'
- boing.c:(.text+0xdae): undefined reference to `glfwTerminate'
- collect2: error: ld returned 1 exit status
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement