1. Visual Studio Code
2. Qt Creator (3.6.1 works fine with this setup)
3. Eclipse Cevelop
4. Notepad++ (Windows only)
Install C/C++ build toolchain and SDL devel libraries using apt.
$ sudo apt update $ sudo apt install build-essential git cmake autotools-dev automake libtool lcov $ sudo apt install libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev
Also recommended:
$ sudo apt install clang clang-tools clang-tidy clang-format $ sudo apt install cppcheck flawfinder astyle uncrustify
Those instructions are for Windows XP SP3. If you are using anything modern install newer versions of Git and gcc. Don't install 32 bit versions of Git on 64 bit Windows and don't mix 32 bit and 64 bit libraries on your system.
a) Install Git for Windows (Git-2.10.0-32-bit)
Download: https://github.com/git-for-windows/git/releases/tag/v2.10.0.windows.1
b) Install TDM-GCC compiler (tdm-gcc-5.1.0-3.exe)
Download: https://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%20Installer/
1. Deselect 'Check for updated ...' option if using the offline installer
2. (Optional) Add 'OpenMP' during install to get easy multithreading support
3. After install go to C:\TDM-GCC-32\bin and make copies of those two files (select the file, press CTRL+C and then CTRL+V): mingw32-make.exe and gdb32.exe. Rename copies to simply 'make.exe' and 'gdb.exe' respectively.
c) Install SDL devel libraries
1. Go to C:\TDM-GCC-32\include\ and add a new folder called 'SDL'
2. Download and unpack the following files:
Download: https://libsdl.org/release/
SDL-devel-1.2.15-mingw32.tar.gz
SDL_image-devel-1.2.12-VC.zip
SDL_mixer-devel-1.2.12-VC.zip
SDL_net-devel-1.2.8-VC.zip
SDL_ttf-devel-2.0.11-VC.zip
3. Copy headers and libraries to C:\TDM-GCC-32 location, (use library files from x86 folders only):
a) All C headers '.h' go to C:\TDM-GCC-32\include\SDL
b) All import libraries '.lib' and '.a' go to C:\TDM-GCC-32\lib
c) All dlls '.dll' go to C:\TDM-GCC-32\bin
d) sdl-config goes to C:\TDM-GCC-32\bin
c) (Optional) Install gtk+ (gtk+-bundle_2.24.10-20120208_win32)
Download: https://download.gnome.org/binaries/win32/gtk+/2.24/
Just copy the contents directly into C:\TDM-GCC-32, you will get some warnings about overwriting files - I clicked 'yes' and nothing bad happened...
e) (Optional) Install Emscripten (emsdk-1.12.0-full-32bit)
Download: https://web.archive.org/web/20160914220801/https://s3.amazonaws.com/mozilla-games/emscripten/releases/emsdk-1.12.0-full-32bit.exe
Work in progress.