Support (Read Only) > Help
SDL.h: no such directory or file
Сєşάя:
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.
blαh2355:
--- Quote from: Сєşάя 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.
--- End quote ---
I don't know much about programming but can you provide a partial pic of the code. Would be more helpful, thanks.
Сєşάя:
--- Quote from: blah2355 on August 06, 2012, 02:01:53 PM ---I don't know much about programming but can you provide a partial pic of the code. Would be more helpful, thanks.
--- End quote ---
The code is not necessary, the compiler just don't find the header file.
Waiting more halps
coolzeldad:
Are you including the header in main.. or w/e is using it?
#include "include/SDL/SDL.h"
Сєşάя:
--- Quote from: coolzeldad on August 06, 2012, 02:52:51 PM ---Are you including the header in main.. or w/e is using it?
#include "include/SDL/SDL.h"
--- End quote ---
I did:
#include <SDL/SDL.h>
Navigation
[0] Message Index
[#] Next page
Go to full version