Giacomo-Rosilho-De-Souza:untitled folder Giacomo$ make
c++ -c -o main.o main.cpp `wx-config --cxxflags` `wx-config --libs gl,core,base`
In file included from /usr/include/wx-2.8/wx/mac/glcanvas.h:4,
from /usr/include/wx-2.8/wx/glcanvas.h:60,
from main.cpp:5:
/usr/include/wx-2.8/wx/mac/carbon/glcanvas.h:49: warning: ‘AGLDrawable’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:48)
/usr/include/wx-2.8/wx/mac/carbon/glcanvas.h:53: warning: ‘AGLDrawable’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:48)
main.cpp:41: error: ISO C++ forbids declaration of ‘GLUquadric’ with no type
main.cpp:41: error: expected ‘;’ before ‘*’ token
main.cpp: In destructor ‘virtual Vue_OpenGL::~Vue_OpenGL()’:
main.cpp:25: error: ‘sphere’ was not declared in this scope
main.cpp:25: error: ‘gluDeleteQuadric’ was not declared in this scope
main.cpp: In constructor ‘Vue_OpenGL::Vue_OpenGL(wxWindow*, const wxSize&, const wxPoint&)’:
main.cpp:98: error: class ‘Vue_OpenGL’ does not have any field named ‘sphere’
main.cpp:98: error: ‘gluNewQuadric’ was not declared in this scope
main.cpp: In member function ‘void Vue_OpenGL::dessine(wxPaintEvent&)’:
main.cpp:122: error: ‘gluLookAt’ was not declared in this scope
main.cpp:131: error: ‘sphere’ was not declared in this scope
main.cpp:131: error: ‘gluSphere’ was not declared in this scope
main.cpp: In member function ‘void Vue_OpenGL::InitOpenGL()’:
main.cpp:268: error: ‘gluPerspective’ was not declared in this scope
make: *** [main.o] Error 1