Skip to content

Instantly share code, notes, and snippets.

Created June 3, 2013 18:02
Show Gist options
  • Save anonymous/5700018 to your computer and use it in GitHub Desktop.
Save anonymous/5700018 to your computer and use it in GitHub Desktop.
g++ v6.cpp -o v6 -Wall -framework GLUT -framework OpenGL -I ./GLTools/include/ ./GLTools/include/GL/
In file included from v6.cpp:1:
./GLTools/include/GLTools.h:76:1: warning: "glGenVertexArrays" redefined
In file included from ./GLTools/include/GLTools.h:62,
from v6.cpp:1:
./GLTools/include/GL/glew.h:4797:1: warning: this is the location of the previous definition
In file included from v6.cpp:1:
./GLTools/include/GLTools.h:77:1: warning: "glDeleteVertexArrays" redefined
In file included from ./GLTools/include/GLTools.h:62,
from v6.cpp:1:
./GLTools/include/GL/glew.h:4796:1: warning: this is the location of the previous definition
In file included from v6.cpp:1:
./GLTools/include/GLTools.h:78:1: warning: "glBindVertexArray" redefined
In file included from ./GLTools/include/GLTools.h:62,
from v6.cpp:1:
./GLTools/include/GL/glew.h:4795:1: warning: this is the location of the previous definition
In file included from v6.cpp:1:
./GLTools/include/GLTools.h:80:1: warning: "glGenerateMipmap" redefined
In file included from ./GLTools/include/GLTools.h:62,
from v6.cpp:1:
./GLTools/include/GL/glew.h:3238:1: warning: this is the location of the previous definition
ld: can't map file, errno=22 for architecture x86_64
collect2: ld returned 1 exit status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment