Created
June 23, 2012 06:12
-
-
Save Vbitz/2977100 to your computer and use it in GitHub Desktop.
makefile and errors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| compile: | |
| g++ -o bin/engine -Ilib/ -Llib/ -lglew32 -lglfw -lglu32 -lopengl32 src/platform/OSXWindow.cpp src/Object.cpp src/Camera.cpp src/Shader.cpp src/ModelBuffer.cpp src/Application.cpp src/GLApplication.cpp src/main.cpp | |
| all: compile | |
| g++ -o bin/engine -Ilib/ -Llib/ -lglew32 -lglfw -lglu32 -lopengl32 src/platform/OSXWindow.cpp src/Object.cpp src/Camera. | |
| cpp src/Shader.cpp src/ModelBuffer.cpp src/Application.cpp src/GLApplication.cpp src/main.cpp | |
| C:\Users\Joshua\AppData\Local\Temp\cc2kUOUA.o:OSXWindow.cpp:(.text+0x3f): undefined reference to `glfwInit' | |
| C:\Users\Joshua\AppData\Local\Temp\cc2kUOUA.o:OSXWindow.cpp:(.text+0x89): undefined reference to `glfwOpenWindow' | |
| C:\Users\Joshua\AppData\Local\Temp\cc2kUOUA.o:OSXWindow.cpp:(.text+0x9c): undefined reference to `glfwSetWindowTitle' | |
| C:\Users\Joshua\AppData\Local\Temp\cc2kUOUA.o:OSXWindow.cpp:(.text+0xb1): undefined reference to `glfwTerminate' | |
| C:\Users\Joshua\AppData\Local\Temp\cc2kUOUA.o:OSXWindow.cpp:(.text+0xbf): undefined reference to `glfwSwapBuffers' | |
| C:\Users\Joshua\AppData\Local\Temp\cc2kUOUA.o:OSXWindow.cpp:(.text+0xd4): undefined reference to `glfwGetWindowParam' | |
| C:\Users\Joshua\AppData\Local\Temp\cceREAe1.o:Camera.cpp:(.text+0xb6): undefined reference to `gluLookAt@72' | |
| C:\Users\Joshua\AppData\Local\Temp\cc6TrE4S.o:Shader.cpp:(.text+0x1fc): undefined reference to `_imp____glewCreateShader | |
| ' | |
| C:\Users\Joshua\AppData\Local\Temp\cc6TrE4S.o:Shader.cpp:(.text+0x212): undefined reference to `_imp____glewShaderSource | |
| ' | |
| C:\Users\Joshua\AppData\Local\Temp\cc6TrE4S.o:Shader.cpp:(.text+0x23b): undefined reference to `_imp____glewCompileShade | |
| r' | |
| C:\Users\Joshua\AppData\Local\Temp\cc6TrE4S.o:Shader.cpp:(.text+0x24d): undefined reference to `_imp____glewCreateShader | |
| ' | |
| C:\Users\Joshua\AppData\Local\Temp\cc6TrE4S.o:Shader.cpp:(.text+0x263): undefined reference to `_imp____glewShaderSource | |
| ' | |
| C:\Users\Joshua\AppData\Local\Temp\cc6TrE4S.o:Shader.cpp:(.text+0x28c): undefined reference to `_imp____glewCompileShade | |
| r' | |
| C:\Users\Joshua\AppData\Local\Temp\cc6TrE4S.o:Shader.cpp:(.text+0x29e): undefined reference to `_imp____glewCreateProgra | |
| m' | |
| C:\Users\Joshua\AppData\Local\Temp\cc6TrE4S.o:Shader.cpp:(.text+0x2af): undefined reference to `_imp____glewAttachShader | |
| ' | |
| C:\Users\Joshua\AppData\Local\Temp\cc6TrE4S.o:Shader.cpp:(.text+0x2cb): undefined reference to `_imp____glewAttachShader | |
| ' | |
| C:\Users\Joshua\AppData\Local\Temp\cc6TrE4S.o:Shader.cpp:(.text+0x2e7): undefined reference to `_imp____glewBindFragData | |
| LocationEXT' | |
| C:\Users\Joshua\AppData\Local\Temp\cc6TrE4S.o:Shader.cpp:(.text+0x30c): undefined reference to `_imp____glewLinkProgram' | |
| C:\Users\Joshua\AppData\Local\Temp\cc6TrE4S.o:Shader.cpp:(.text+0x37f): undefined reference to `_imp____glewGetAttribLoc | |
| ation' | |
| C:\Users\Joshua\AppData\Local\Temp\cc5d4sbb.o:ModelBuffer.cpp:(.text+0x542): undefined reference to `glDrawElements@16' | |
| C:\Users\Joshua\AppData\Local\Temp\cc2YqNRb.o:GLApplication.cpp:(.text+0x357): undefined reference to `glClear@4' | |
| C:\Users\Joshua\AppData\Local\Temp\cc2YqNRb.o:GLApplication.cpp:(.text+0x371): undefined reference to `glGetError@0' | |
| C:\Users\Joshua\AppData\Local\Temp\cc2YqNRb.o:GLApplication.cpp:(.text+0x38a): undefined reference to `glGetError@0' | |
| C:\Users\Joshua\AppData\Local\Temp\cc2YqNRb.o:GLApplication.cpp:(.text+0x392): undefined reference to `gluErrorString@4' | |
| C:\Users\Joshua\AppData\Local\Temp\cc2YqNRb.o:GLApplication.cpp:(.text+0x4fd): undefined reference to `glClearColor@16' | |
| C:\Users\Joshua\AppData\Local\Temp\cc2YqNRb.o:GLApplication.cpp:(.text+0x52e): undefined reference to `glColor4f@16' | |
| collect2: ld returned 1 exit status | |
| mingw32-make: *** [compile] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment