Reputation: 1144
I've already installed this : (and i think all the library needed)
libglu1-mesa-dev
libglu1-mesa
but when i tried to compile a simple program i've got :
g++ -o test 50_SDL_and_opengl_2.cpp `sdl2-config --libs --cflags` -lGL -lGLU
this :
50_SDL_and_opengl_2.cpp:7:20: fatal error: GL\GLU.h: Aucun fichier ou dossier de ce type
#include <GL\GLU.h>
Upvotes: 1
Views: 113
Reputation: 554
it should be "GL/glu.h" and not "GL\GLU.h" (notice the lowercase filename and the slash instead of backslash)
Upvotes: 2