im having troubles compiling this: https://github.com/libretro/crawl-ref i also couldnt find an already compiled version of the core in buildbot. Im using prebuilt Git+MinGW toolchain and im using following commands to build it:
git submodule update --init
cd crawl-ref
make -f Makefile.libretro generate
make -f Makefile.libretro
with cloning the crawl-ref git-repository beforehand. It gives me an error on “generate” :
Ivan@DESKTOP-I9IP2GD /usr/crawl-ref/crawl-ref (master)
$ make -f Makefile.libretro generate
cd source && ./util/gen-mst.pl
cd source && ./util/art-data.pl
Generating art-data.h
Generating art-enum.h
Generating dc-unrand.txt
Generating tiledef-unrand.cc
cd source && ./util/gen-mi-enum
cd source && ./util/cmd-name.pl
cd source && ./util/gen-luatags.pl
cd source && ./util/gen_ver.pl build.h
cd source && ./util/gen-cflg.pl compflag.h " -msse -msse2 -DTARGET_OS_WINDOWS -DFT2_BUILD_LIBRARY -DHAVE_FDATASYNC -D__LIBRETRO__ -DSQLITE_OMIT_LOAD_EXTENSION -DUSE_TILE -DUSE_TILE_LOCAL -DWIZARD -DUSE_FT -DPROPORTIONAL_FONT=\"DejaVuSans.ttf\" -DMONOSPACED_FONT=\"DejaVuSansMono.ttf\" -DUSE_FB -I./source/rltiles -I./source/contrib/lua/src -I./source/contrib/pcre -I./source -I./source/contrib/libpng -I./source/contrib/zlib -I./source/contrib/freetype/include -I./source/contrib/sqlite -I./libretro/libco -O3 -DNDEBUG -std=c++11" "-shared -static-libgcc -static-libstdc++ -Wl,--version-script=libretro/link.T -lwinmm -lgdi32" "libretro" "retro"
D:/GAMES/MinGW/mingw64/bin/make -C source/rltiles all TILES=1
make[1]: Entering directory 'D:/GAMES/MinGW/crawl-ref/crawl-ref/source/rltiles'
HOSTCXX tool/tile_colour.o
tool/tile_colour.cc:7:18: fatal error: png.h: No such file or directory
#include <png.h>
^
compilation terminated.
Makefile:133: recipe for target 'tool/tile_colour.o' failed
make[1]: *** [tool/tile_colour.o] Error 1
make[1]: Leaving directory 'D:/GAMES/MinGW/crawl-ref/crawl-ref/source/rltiles'
Makefile.libretro:115: recipe for target 'generate' failed
make: *** [generate] Error 2
does anyone have an already complied crawl.libretro or maybe suggest something i should do to make it work?