bingmann / sound-of-sorting

The Sound of Sorting - "Audibilization" and Visualization of Sorting Algorithms
http://panthema.net/2013/sound-of-sorting/
GNU General Public License v3.0
836 stars 120 forks source link

How to Build on Windows #27

Open Ilan-Sperber opened 1 year ago

Ilan-Sperber commented 1 year ago

Having trouble building on windows. I've been trying to install SDL2 and using git bash to run ./configure, but it seems SDL2 is not installed correctly (I've done multiple tutorials including the official one on how to build and include it in MinGW) The full log I get when I run ./configure:

$ ./configure
checking build system type... x86_64-pc-mingw64
checking host system type... x86_64-pc-mingw64
checking target system type... x86_64-pc-mingw64
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking whether make supports nested variables... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking building for Win32... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... no
checking dependency style of gcc... none
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking for ranlib... ranlib
checking for pkg-config... no
checking for SDL... no
checking for sdl2-config... C:\Users\ilant\Downloads\SDL2-2.26.5\x86_64-w64-mingw32\bin\sdl2-config
checking for SDL - version >= 2... no
configure: error: *** SDL version 2 not found!

Are there instructions somewhere for running and building this on a windows? Or can I build it on linux in a way that produces a windows executable?