.:`=-~rANdOm~`-=:. Game Servers
Support (Read Only) => Help => Topic started by: Сєşάя on August 06, 2012, 01:30:14 PM
-
Hi guys.
I'm starting with SDL for C and when I compile (MinGW/GCC) he says that SDL.h does not exist. I'm getting crazy with that shit and I need help, I link with -lSDL but nothing, same problem. The SDL.h are in include/SDL/SDL.h like another headers. Thx for read and thx for help.
-
Hi guys.
I'm starting with SDL for C and when I compile (MinGW/GCC) he says that SDL.h does not exist. I'm getting crazy with that shit and I need help, I link with -lSDL but nothing, same problem. The SDL.h are in include/SDL/SDL.h like another headers. Thx for read and thx for help.
I don't know much about programming but can you provide a partial pic of the code. Would be more helpful, thanks.
-
I don't know much about programming but can you provide a partial pic of the code. Would be more helpful, thanks.
The code is not necessary, the compiler just don't find the header file.
Waiting more halps
-
Are you including the header in main.. or w/e is using it?
#include "include/SDL/SDL.h"
-
Are you including the header in main.. or w/e is using it?
#include "include/SDL/SDL.h"
I did:
#include <SDL/SDL.h>
-
Try this:
http://stackoverflow.com/questions/9350375/error-sdl-h-no-such-file-or-directory (http://stackoverflow.com/questions/9350375/error-sdl-h-no-such-file-or-directory)
I'm assuming you have SDL installed correctly.
-
Try this:
http://stackoverflow.com/questions/9350375/error-sdl-h-no-such-file-or-directory (http://stackoverflow.com/questions/9350375/error-sdl-h-no-such-file-or-directory)
I'm assuming you have SDL installed correctly.
I saw a bout -I parameter, I didn't tried. Now it's 22:50 GMT-3 and I need sleep. Going to do this tomorrow... If don't work, don't lock this thread