Quote: |
The first thing you need is to download some files that you will need. They are in the file sdlDevCPP-1.2.8. Extract the zip INSIDE your Dev-C++ directory so that the files from the folders lib and include (from the zip) get extracted to the folders lib and include in your Dev-C++ directory. On my computer the Dec-C++ folder is c:\Dev-C++. So after extracting the zip I would have the files libSDL.a, libSDL.la, libSDLmain.a and SDL.dll inside c:\Dev-C++\lib and lots of .h files inside c:\Dev-C++\include\SDL. Now in Dev-C++ start a new console project. Now go to the project options dialog (found in the menu Project). The thing we need to set here is the field that says "Further object files or linker options:". Type in "-lmingw32 -lSDLmain -lSDL" (w/o the quotes) inside it. Now click OK. |
Quote: |
PART1: The first thing you need is to download some files that you will need. They are in the file sdlDevCPP-1.2.8. Extract the zip INSIDE your Dev-C++ directory so that the files from the folders lib and include (from the zip) get extracted to the folders lib and include in your Dev-C++ directory. On my computer the Dec-C++ folder is c:\Dev-C++. So after extracting the zip I would have the files libSDL.a, libSDL.la, libSDLmain.a and SDL.dll inside c:\Dev-C++\lib and lots of .h files inside c:\Dev-C++\include\SDL. PART2: Now in Dev-C++ start a new console project. Now go to the project options dialog (found in the menu Project). The thing we need to set here is the field that says "Further object files or linker options:". Type in "-lmingw32 -lSDLmain -lSDL" (w/o the quotes) inside it. Now click OK. |
hellzlaker wrote: |
uh no one replied? :\ wierd are guests on most peoples ignores? |