Guest User

GLFW Linker Errors

a guest
Jan 5th, 2013
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.26 KB | None | 0 0
  1. #include <windows.h>
  2. #include <stdio.h>  
  3. #include <stdlib.h>
  4. #include <GL/glew.h>
  5. #define GLFW_DLL
  6. #include <GL/glfw.h>
  7. #pragma comment(lib,"glfwdll.lib")
  8. #include <GL/glm/glm.hpp>
  9.  
  10. int main()
  11. {
  12.     glfwInit();
  13.     glfwSleep( 1.0 );
  14.     glfwTerminate();
  15. }
Advertisement
Add Comment
Please, Sign In to add comment