Temple Termagant
Posts: 6
Joined: Friday, 25th January 2013, 11:36
compiling DCSS libretro ipad port
So there is a libretro port of dcss that can be run in Retroarch on ipad ( the goal here is to get dcss running on ipad, a standalone "not-ssh" version ). Its on github and i couldnt find an already compiled version:
https://github.com/libretro/crawl-ref
The problem is im not very good at this stuff, so im using a prebuilt git+minGW or whatever toolchain package to compile from the github sources.
I used the "guide" from the original creator of the port ( https://github.com/meancoot/stonesoup-libretro ):
but it gives me the following on "generate" command:
since the error seems to be related to some crawl files i thought it would be more appropriate to post it here and not on libretro forums... maybe.
https://github.com/libretro/crawl-ref
The problem is im not very good at this stuff, so im using a prebuilt git+minGW or whatever toolchain package to compile from the github sources.
I used the "guide" from the original creator of the port ( https://github.com/meancoot/stonesoup-libretro ):
but it gives me the following on "generate" command:
- Code:
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
since the error seems to be related to some crawl files i thought it would be more appropriate to post it here and not on libretro forums... maybe.