TIC-80 icon indicating copy to clipboard operation
TIC-80 copied to clipboard

Compilation fails on Windows 7/Visual Studio 2017

Open STrRedWolf opened this issue 4 months ago • 4 comments

So I'm compiling a version for a friend who's stuck on Windows 7 at this time... and I've run into issues.

First: From a clean Win7 install, you need to also install CMake, Python 3.8.10 (latest that supports Windows 7), and Ruby. You can install Git when you install VS 2017 (Community Edition), so go through everything on that. That will let you run CMake and get a good solution ready.

But... it's missing a "mus-config.h" file (vendor/s7/s7.html says you can just add an empty file). Go past that... and you get this build log file.

build.txt

Um, I think the code just went past some limits of VS 2017.

STrRedWolf avatar Feb 17 '24 21:02 STrRedWolf

You may want to try this: https://github.com/nesbox/TIC-80/issues/2445#issuecomment-1910489817

cmake -DBUILD_WITH_LUA=ON -DBUILD_WITH_FENNEL=OFF -DBUILD_WITH_JANET=OFF -DBUILD_WITH_JS=OFF -DBUILD_WITH_MOON=OFF -DBUILD_WITH_MRUBY=OFF -DBUILD_WITH_PYTHON=OFF -DBUILD_WITH_SCHEME=OFF -DBUILD_WITH_SQUIRREL=OFF -DBUILD_WITH_WASM=OFF -DBUILD_WITH_WREN=OFF .. --fresh

blueloveTH avatar Feb 18 '24 07:02 blueloveTH

Doesn't help, giving similar build errors. CMake also says some variables were not used. BUILD_WITH_(FENNEL|JS|LUA|MOON|PYTHON|SCHEME|SQUIRREL|WASM|WREN) were all unused.

STrRedWolf avatar Feb 18 '24 13:02 STrRedWolf

@STrRedWolf VS2019 runs under Windows 7 SP1, would you be able to try things with that with the build config from the CI? I can currently compile a version of TIC-80 from Windows 11 locally that runs under XP/Windows 7 with that

aliceisjustplaying avatar May 02 '24 17:05 aliceisjustplaying

@STrRedWolf also is this 32-bit or 64-bit?

aliceisjustplaying avatar May 02 '24 17:05 aliceisjustplaying