exe_libtcod fails to build in VS2015 after fetching dependencies with build.bat -d

Issue #276 new
Elias Erkamo created an issue

In hopes of being able to gain insight into issue #275, which involves dependencies, I tried out fetching the dependencies using the automated build script, following the build instructions on the repository. However, after doing that, building exe_libtcod in VS2015 fails with the following error message:

c:\users\elias\documents\repos\incursion-roguelike3\src\wlibtcod.cpp(94): fatal error C1083: Cannot open include file: 'libtcod.h': No such file or directory

There were some errors in the log after running build.bat, though not all of them seem relevant. I've attached the build.bat output. Some observations...

  • At the end of the log, it's trying, and failing, to copy the header file that VS2015 is failing at too. Relevant section of the log:
#!?

Copying: includes #0 "libtcod\build\dependencies\include\*.h"
File not found - *.h
Copying: includes #1 "libtcod\include\*.h"
File not found - *.h
Copying: includes #2 "pdcurs34\*.h"
  • The first thing the script does is complain about wrong checksum when fetching win_flex_bison-latest.zip, presumably because there's been a new release of that since the script was last updated. However, later in the log, I can see that it has managed to come up with a win_flex_bison-latest.zip regardless.
  • When it tries to use 7-zip to extract the SDL archives, the archives appear to be missing. I was able to find archives of the correct (older) SDL release via Google - dropping those into the location it's looking for them in got rid of that error when running the script again, but made no difference to the inability build libtcod in VS2015 (and the instructions imply that this shouldn't be a requirement for the solution to build, anyway).
  • There's other miscellaneous error messages I know less about:
  • Line 45 - "The system cannot find the batch label specified - internal_function_fetch_dependencies"
  • 94-106 & 183-191 - Can't find files it's trying to delete
  • 260 - WARNING: Gyp reported missing files. WORKAROUND: Substituting empty file for missing file.