12-16-2020, 07:19 AM
(This post was last modified: 12-16-2020, 07:36 AM by Motherbrain.)
Hi,
I just found out about Tilengine and it looks really promising.
However, when I try to build the Tilengine project (Windows 10, Visual Studio 2019, Win32, debug) I get a compile error:
1>C:\Tilengine\Tilengine-master\src\libpng\png.h(477,10): fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory
I've followed the steps in README.md. It mentions only two dependencies: SDL and libpng. The libpng page that is referenced in README.md states: "If you download the Setup program of the package, any requirements for running applications, such as dynamic link libraries (DLL's) from the dependencies as listed below under Requirements, are already included." I used the setup to install libpng. I also downloaded and installed SDL2.
Is zlib a third dependency of Tilengine that I should download and install separately? Or did I somehow not install libpng correctly?
I know that I can buy the pre-build binaries, but I would like to know how to build Tilengine myself.
Thanks
I just found out about Tilengine and it looks really promising.
However, when I try to build the Tilengine project (Windows 10, Visual Studio 2019, Win32, debug) I get a compile error:
1>C:\Tilengine\Tilengine-master\src\libpng\png.h(477,10): fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory
I've followed the steps in README.md. It mentions only two dependencies: SDL and libpng. The libpng page that is referenced in README.md states: "If you download the Setup program of the package, any requirements for running applications, such as dynamic link libraries (DLL's) from the dependencies as listed below under Requirements, are already included." I used the setup to install libpng. I also downloaded and installed SDL2.
Is zlib a third dependency of Tilengine that I should download and install separately? Or did I somehow not install libpng correctly?
I know that I can buy the pre-build binaries, but I would like to know how to build Tilengine myself.
Thanks