Created
February 22, 2016 00:44
-
-
Save ezequielpereira/3a55609d0413dd989ad9 to your computer and use it in GitHub Desktop.
This file contains 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
/home/ezequiel/Desktop/Space-game/src/main.cpp:21:15: error: expected initializer before ‘window_resized’ | |
void GLFWCALL window_resized(int width, int height); | |
^ | |
/home/ezequiel/Desktop/Space-game/src/main.cpp: In function ‘int main()’: | |
/home/ezequiel/Desktop/Space-game/src/main.cpp:40:66: error: ‘glfwOpenWindowHint’ was not declared in this scope | |
glfwOpenWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE); | |
^ | |
/home/ezequiel/Desktop/Space-game/src/main.cpp:42:21: error: ‘GLFW_OPENGL_VERSION_MAJOR’ was not declared in this scope | |
glfwOpenWindowHint(GLFW_OPENGL_VERSION_MAJOR, 3); | |
^ | |
/home/ezequiel/Desktop/Space-game/src/main.cpp:43:21: error: ‘GLFW_OPENGL_VERSION_MINOR’ was not declared in this scope | |
glfwOpenWindowHint(GLFW_OPENGL_VERSION_MINOR, 2); | |
^ | |
/home/ezequiel/Desktop/Space-game/src/main.cpp:46:50: error: ‘GLFW_WINDOW’ was not declared in this scope | |
if( !glfwOpenWindow(500, 500, 8, 8, 8, 0, 0, 0, GLFW_WINDOW)) { | |
^ | |
/home/ezequiel/Desktop/Space-game/src/main.cpp:46:61: error: ‘glfwOpenWindow’ was not declared in this scope | |
if( !glfwOpenWindow(500, 500, 8, 8, 8, 0, 0, 0, GLFW_WINDOW)) { | |
^ | |
/home/ezequiel/Desktop/Space-game/src/main.cpp:53:29: error: ‘window_resized’ was not declared in this scope | |
glfwSetWindowSizeCallback( window_resized ); | |
^ | |
/home/ezequiel/Desktop/Space-game/src/main.cpp:56:29: error: cannot convert ‘void (*)(int, int)’ to ‘GLFWwindow*’ for argument ‘1’ to ‘void (* glfwSetKeyCallback(GLFWwindow*, GLFWkeyfun))(GLFWwindow*, int, int, int, int)’ | |
glfwSetKeyCallback(keyboard); | |
^ | |
/home/ezequiel/Desktop/Space-game/src/main.cpp:60:39: error: ‘glfwGetGLVersion’ was not declared in this scope | |
glfwGetGLVersion(&major, &minor, &rev); | |
^ | |
/home/ezequiel/Desktop/Space-game/src/main.cpp:87:32: error: ‘GLFW_OPENED’ was not declared in this scope | |
running = glfwGetWindowParam(GLFW_OPENED); | |
^ | |
/home/ezequiel/Desktop/Space-game/src/main.cpp:87:43: error: ‘glfwGetWindowParam’ was not declared in this scope | |
running = glfwGetWindowParam(GLFW_OPENED); | |
^ | |
/home/ezequiel/Desktop/Space-game/src/main.cpp: In function ‘void display(GLuint&)’: | |
/home/ezequiel/Desktop/Space-game/src/main.cpp:104:18: error: too few arguments to function ‘void glfwSwapBuffers(GLFWwindow*)’ | |
glfwSwapBuffers(); | |
^ | |
In file included from /home/ezequiel/Desktop/Space-game/src/main.cpp:3:0: | |
/usr/include/GLFW/glfw3.h:3204:14: note: declared here | |
GLFWAPI void glfwSwapBuffers(GLFWwindow* window); | |
^ | |
/home/ezequiel/Desktop/Space-game/src/main.cpp: At global scope: | |
/home/ezequiel/Desktop/Space-game/src/main.cpp:185:15: error: expected initializer before ‘window_resized’ | |
void GLFWCALL window_resized(int width, int height) { | |
^ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment