sickasabat
December 5th, 2008, 12:53 PM
I am trying to run a opengl demo program from the internet. But when I compile I get this error:
GL/GLew.h: No such file or directory
I have tried compiling with:
gcc demo.c -o demo `sdl-config --cflags --libs` -lGL -lGLEW
gcc demo.c -o demo `sdl-config --cflags --libs` -lGL -lGLew
gcc demo.c -o demo `sdl-config --cflags --libs` -lGLEW
gcc demo.c -o demo `sdl-config --cflags --libs` -lGLew
I have the libglew-dev package installed and I can't find any explanation on the internet. Can someone help me?
GL/GLew.h: No such file or directory
I have tried compiling with:
gcc demo.c -o demo `sdl-config --cflags --libs` -lGL -lGLEW
gcc demo.c -o demo `sdl-config --cflags --libs` -lGL -lGLew
gcc demo.c -o demo `sdl-config --cflags --libs` -lGLEW
gcc demo.c -o demo `sdl-config --cflags --libs` -lGLew
I have the libglew-dev package installed and I can't find any explanation on the internet. Can someone help me?