Skip to content

Instantly share code, notes, and snippets.

@Masterwolf2050
Last active October 15, 2017 23:13
Show Gist options
  • Save Masterwolf2050/0303c2239cf77309bd88b0a9ba59d769 to your computer and use it in GitHub Desktop.
Save Masterwolf2050/0303c2239cf77309bd88b0a9ba59d769 to your computer and use it in GitHub Desktop.
Notes for game
you will need to follow the following for windows
1. Copy SDL.dll from inside the bin folder to the your compilers bin directory (ie C:\Mingw\bin) This allows the compiler to find the dll at runtime time without having to put it in the same folder as your program or in the windows folder.
2. Copy the contents of lib to your compiler's lib folder. If MinGW is installed under C:\MinGW, then this will be C:\MinGW\lib.
3. Copy the complete folder SDL from inside the folder include to your compiler's include directory (for example C:\MinGW\include). Be sure to copy the folder, not the individual files.
4. Optionally, copy SDL.dll to C:\Windows, too. This will save you from copying the dll to each and every project directory while developing. Be cautious, however, not to find yourself in DLL hell afterwards.
5. Screw the rest (in particular, forget about sdlconfig - it will not work)
Need the ncurses dll
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment