X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=README.md;h=2c9fb1417e8059cdd4c9043353a8210e4fb842b0;hb=HEAD;hp=13735944098d58a1e96477c5d4c7884eef1da0ad;hpb=6c322d339ec9c5063c8f47117633b46e2a8eafd0;p=summerhack diff --git a/README.md b/README.md index 1373594..2c9fb14 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ Summerhack / The Lab ==================== +![GNU/Linux build status](https://github.com/TheLabDemos/summerhack/actions/workflows/build_gnulinux.yml/badge.svg) +![FreeBSD build status](https://github.com/TheLabDemos/summerhack/actions/workflows/build_freebsd.yml/badge.svg) + Summerhack was a short and sweet demo I've written during the summer of 2005 for a random on-line competition. Mainly it was a showcase of the 3D engine I was writing back then with the help of Michael Georgoulopoulos: 3dengfx, and which was @@ -70,9 +73,23 @@ While on FreeBSD: sudo pkg install mesa-libs sdl gmake -### Windows +### Windows (MSVC) + +The sticking point with compiling on windows, especially with MSVC, is how to +handle dependencies. OpenGL is not an issue, but SDL must be installed and the +compiler/linker needs to be informed of its location. + +For new versions of MS Visual C++ (2015 or later), use vcpkg to install SDL 1.2. +It should work automatically. + +For older versions of MSVC, download the pre-compiled SDL 1.2 package: +https://libsdl.org/release/SDL-devel-1.2.15-VC.zip +and unzip it in the libs directory of summerhack (so that the directory +`libs\SDL-1.2.15` exists). + +Once SDL is taken care of, simply open the `summerhack.sln` project and hit F7 +(Build->Build Solution). -TODO ### MacOS X