Hallo ich möchte mit der SDL Bibliothek ein kleines Programm erstellen.
Wenn ich mein Programm compilieren will, dann erscheint folgende
Fehlermeldung:
>>fatal error C1083: Datei (Include) kann nicht geöffnet werden: "SDL.h": No such
file or directory
d:\informatik\ansi-c\sdl\sdl_tetris\sdl_tetris\sdl_tetris\sdl_tetris.cpp 10
SDL_Tetris
Was muss ich tun, damit dieser Fehler nicht mehr erscheint?
Im Verzeichnis Windows/system/ habe ich die SDL.dll schon reinkopiert.
Tut immer noch nicht.
1 | #include "stdafx.h" |
2 | |
3 | /* -- Include the precompiled libraries -- */
|
4 | #ifdef WIN32
|
5 | #pragma comment(lib, "SDL.lib")
|
6 | #pragma comment(lib, "SDLmain.lib")
|
7 | #pragma comment(lib, "SDL_image.lib")
|
8 | #endif
|
9 | |
10 | #include "SDL.h" |
11 | #include "SDL_image.h" |
12 | |
13 | ...
|