Page 1 of 1

compile tile version "crawl.exe" in win7

PostPosted: Thursday, 19th June 2014, 16:55
by SiotWarrior
i compiled console version "crawl.exe" in win7

but can't with tile version though add "TILES=y" at make file bottom

how to deal with tool/tile_colour.cc: warning: png.h: No such file or dir and so on

Re: compile tile version "crawl.exe" in win7

PostPosted: Thursday, 19th June 2014, 23:12
by Patashu
IIRC, there are some extra libraries you need only if you're compiling tiles. There should be a text file in the base directory listing what.

Re: compile tile version "crawl.exe" in win7

PostPosted: Friday, 20th June 2014, 10:30
by SiotWarrior
Patashu wrote:IIRC, there are some extra libraries you need only if you're compiling tiles. There should be a text file in the base directory listing what.


where i get some extra lib?

Re: compile tile version "crawl.exe" in win7

PostPosted: Friday, 20th June 2014, 21:18
by neil
SiotWarrior wrote:
Patashu wrote:IIRC, there are some extra libraries you need only if you're compiling tiles. There should be a text file in the base directory listing what.


where i get some extra lib?


In the top-level directory of the crawl repository, do:
  Code:
git submodule update --init


That checks out our versions of those libraries into crawl-ref/source/contrib . Then change back to crawl-ref/source and do:
  Code:
make BUILD_ALL=y tiles


BUILD_ALL=y tells Crawl to build and use all the included contribs instead of searching for the libraries in your dev environment's usual location. You can add whatever other make options you need to the make command. For example:
  Code:
make BUILD_ALL=y V=y debug-lite tiles