Ich habe einen C-Code, die ich nicht geschafft haben, http://dl.getdropbox.com/u/175564/problem-sdl.pngOpenGL/SDL Problem in Ubuntu
Das Problem in OpenGL oder SDL ausgeführt werden soll. Ich habe SDL.h nicht in /usr/local/SDL/SDL.h, daher kann gcc es nicht finden.
Ich habe SDL.h von MacPorts bei /opt/local/include/SDL/SDL.h installiert.
ich versuchte, es zu /Masi/local/SDL/SDL.h erfolglos im Ordner
cp /opt/local/include/SDL/SDL.h/
und von
cp /opt/local/include/SDL/SDL.h /Masi/local/SDL/
ich von creationg ein, das Problem zu lösen versucht, zu kopieren symlink von
$ln -s /opt/local/include/SDL/SDL.h /Masi/local/SDL/SDL.h
Vielen Dank für das Stück von Informationen! Ich hatte sie in meinem Ubuntu. Das Problem scheint woanders zu liegen. –
Das Problem ist offensichtlich, dass gcc SDL.h. Hast du es in /usr/local/SDL/SDL.h? Fügen Sie es so ein: #include? –
user61405