Help with compiling


Questions, Explanations, Howtos

Temple Termagant

Posts: 11

Joined: Monday, 1st August 2011, 16:00

Post Monday, 1st August 2011, 16:37

Help with compiling

Hello,

I'm brand new here, and I wold like to get your help with the installation of DungeonCrawl. I've been reading the installation notes and other stuff, but I'm getting into troubles.

I'm trying to compile the source code on Windows. I have git, which I used to clone the trunk, and used git submodule update --init to get the dependencies. I have MinGW installed with MSYS and the make command seems to respond.

But when I write 'make TILES=y' in the MinGW shell (and I'm in the correct path which is C:\Documents and Settings\danielg\My Documents\C++\DungeonCrawl\crawl-ref) I get these messages :
DANIELG@GPXCHD420-02 /c/Documents and Settings/danielg/My Documents/C++/DungeonC
rawl/crawl-ref/source
$ make TILES=y
sh: cc: command not found
which: advpng: unknown command
which: pngcrush: unknown command
cat: util/release_ver: No such file or directory
cat: util/release_ver: No such file or directory
make[1]: Entering directory `/c/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl-ref/source/contrib'
make[2]: Entering directory `/c/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl-ref/source/contrib/pcre'
make[2]: Leaving directory `/c/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl-ref/source/contrib/pcre'
make[2]: Entering directory `/c/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl-ref/source/contrib/pcre'
make[2]: Leaving directory `/c/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl-ref/source/contrib/pcre'
make[2]: Entering directory `/c/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl-ref/source/contrib/zlib'
make[2]: Leaving directory `/c/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl-ref/source/contrib/zlib'
make[2]: Entering directory `/c/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl-ref/source/contrib/zlib'
make[2]: Leaving directory `/c/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl-ref/source/contrib/zlib'
make[2]: Entering directory `/c/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl-ref/source/contrib/freetype'
make[2]: Leaving directory `/c/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl-ref/source/contrib/freetype'
make[2]: Entering directory `/c/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl-ref/source/contrib/freetype'
make[2]: Leaving directory `/c/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl-ref/source/contrib/freetype'
make[2]: Entering directory `/c/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl-ref/source/contrib/sdl'
make[2]: Leaving directory `/c/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl-ref/source/contrib/sdl'
make[2]: Entering directory `/c/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl-ref/source/contrib/sdl'
make[2]: Leaving directory `/c/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl-ref/source/contrib/sdl'
make[2]: Entering directory `/c/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl-ref/source/contrib/libpng'
make[2]: Leaving directory `/c/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl-ref/source/contrib/libpng'
make[2]: Entering directory `/c/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl-ref/source/contrib/libpng'
make[2]: Leaving directory `/c/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl-ref/source/contrib/libpng'
make[2]: Entering directory `/c/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl-ref/source/contrib/sdl-image'
make[2]: Leaving directory `/c/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl-ref/source/contrib/sdl-image'
make[2]: Entering directory `/c/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl-ref/source/contrib/sdl-image'
make[2]: Leaving directory `/c/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl-ref/source/contrib/sdl-image'
make[1]: Nothing to be done for `sdl'.
make[1]: Nothing to be done for `libpng'.
make[1]: Nothing to be done for `zlib'.
make[2]: Entering directory `/c/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl-ref/source/contrib/lua/src'
make[2]: Leaving directory `/c/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl-ref/source/contrib/lua/src'
make[2]: Entering directory `/c/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl-ref/source/contrib/lua/src'
make[2]: Leaving directory `/c/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl-ref/source/contrib/lua/src'
make[2]: Entering directory `/c/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl-ref/source/contrib/sqlite'
make[2]: Leaving directory `/c/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl-ref/source/contrib/sqlite'
make[2]: Entering directory `/c/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl-ref/source/contrib/sqlite'
make[2]: Leaving directory `/c/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl-ref/source/contrib/sqlite'
make[1]: Leaving directory `/c/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl-ref/source/contrib'
make -C rltiles all ARCH=unknown
make[1]: Entering directory `/c/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl-ref/source/rltiles'
GEN main
Error: couldn't open 'tiledef-main.h' for write.
Error: failed to write data for 'dc-main.txt'
GEN dngn
Error: couldn't open 'tiledef-dngn.h' for write.
Error: failed to write data for 'dc-dngn.txt'
GEN floor
Error: couldn't open 'tiledef-floor.h' for write.
Error: failed to write data for 'dc-floor.txt'
GEN wall
Error: couldn't open 'tiledef-wall.h' for write.
Error: failed to write data for 'dc-wall.txt'
GEN feat
Error: couldn't open 'tiledef-feat.h' for write.
Error: failed to write data for 'dc-feat.txt'
GEN player
Error: couldn't open 'tiledef-player.h' for write.
Error: failed to write data for 'dc-player.txt'
GEN gui
Error: couldn't open 'tiledef-gui.h' for write.
Error: failed to write data for 'dc-gui.txt'
GEN icons
Error: couldn't open 'tiledef-icons.h' for write.
Error: failed to write data for 'dc-icons.txt'
make[1]: Leaving directory `/c/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl-ref/source/rltiles'
DEPEND abl-show.d
sh: cc: command not found
which: advpng: unknown command
which: pngcrush: unknown command
cat: util/release_ver: No such file or directory
cat: util/release_ver: No such file or directory
make -C rltiles all ARCH=unknown
make[1]: Entering directory `/c/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl-ref/source/rltiles'
GEN main
Error: couldn't open 'tiledef-main.h' for write.
Error: failed to write data for 'dc-main.txt'
GEN dngn
Error: couldn't open 'tiledef-dngn.h' for write.
Error: failed to write data for 'dc-dngn.txt'
GEN floor
Error: couldn't open 'tiledef-floor.h' for write.
Error: failed to write data for 'dc-floor.txt'
GEN wall
Error: couldn't open 'tiledef-wall.h' for write.
Error: failed to write data for 'dc-wall.txt'
GEN feat
Error: couldn't open 'tiledef-feat.h' for write.
Error: failed to write data for 'dc-feat.txt'
GEN player
Error: couldn't open 'tiledef-player.h' for write.
Error: failed to write data for 'dc-player.txt'
GEN gui
Error: couldn't open 'tiledef-gui.h' for write.
Error: failed to write data for 'dc-gui.txt'
GEN icons
Error: couldn't open 'tiledef-icons.h' for write.
Error: failed to write data for 'dc-icons.txt'
make[1]: Leaving directory `/c/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl-ref/source/rltiles'
COPY dat/tiles/floor.png
COPY dat/tiles/wall.png
COPY dat/tiles/feat.png
COPY dat/tiles/main.png
COPY dat/tiles/player.png
COPY dat/tiles/gui.png
COPY dat/tiles/icons.png
CXX abl-show.o
CXX abyss.o
abyss.cc:48:27: fatal error: tiledef-dngn.h: No such file or directory
compilation terminated.
make: *** [abyss.o] Error 1

DANIELG@GPXCHD420-02 /c/Documents and Settings/danielg/My Documents/C++/DungeonC
rawl/crawl-ref/source
$ make TILES=y
sh: cc: command not found
which: advpng: unknown command
which: pngcrush: unknown command
cat: util/release_ver: No such file or directory
cat: util/release_ver: No such file or directory
make -C rltiles all ARCH=unknown
make[1]: Entering directory `/c/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl-ref/source/rltiles'
GEN main
Error: couldn't open 'tiledef-main.h' for write.
Error: failed to write data for 'dc-main.txt'
GEN dngn
Error: couldn't open 'tiledef-dngn.h' for write.
Error: failed to write data for 'dc-dngn.txt'
GEN floor
Error: couldn't open 'tiledef-floor.h' for write.
Error: failed to write data for 'dc-floor.txt'
GEN wall
Error: couldn't open 'tiledef-wall.h' for write.
Error: failed to write data for 'dc-wall.txt'
GEN feat
Error: couldn't open 'tiledef-feat.h' for write.
Error: failed to write data for 'dc-feat.txt'
GEN player
Error: couldn't open 'tiledef-player.h' for write.
Error: failed to write data for 'dc-player.txt'
GEN gui
Error: couldn't open 'tiledef-gui.h' for write.
Error: failed to write data for 'dc-gui.txt'
GEN icons
Error: couldn't open 'tiledef-icons.h' for write.
Error: failed to write data for 'dc-icons.txt'
make[1]: Leaving directory `/c/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl-ref/source/rltiles'
COPY dat/tiles/floor.png
COPY dat/tiles/wall.png
COPY dat/tiles/feat.png
COPY dat/tiles/main.png
COPY dat/tiles/player.png
COPY dat/tiles/gui.png
COPY dat/tiles/icons.png
CXX abyss.o
abyss.cc:48:27: fatal error: tiledef-dngn.h: No such file or directory
compilation terminated.
make: *** [abyss.o] Error 1

DANIELG@GPXCHD420-02 /c/Documents and Settings/danielg/My Documents/C++/DungeonC
rawl/crawl-ref/source
$

I'm no expert in LINUX or makefiles. Any hint would be appreciated.
User avatar

Dungeon Master

Posts: 4031

Joined: Thursday, 16th December 2010, 20:37

Location: France

Post Monday, 1st August 2011, 23:37

Re: Help with compiling

akhena wrote:sh: cc: command not found
which: advpng: unknown command

It looks like your mingw installation isn't working properly. Make can't even find the compiler (cc). Try installing the netinstall version of msysgit, which is the only one officially supported by crawl.
<+Grunt> You dereference an invalid pointer! Ouch! That really hurt! The game dies...
User avatar

Mines Malingerer

Posts: 51

Joined: Friday, 21st January 2011, 08:22

Location: Mare Desiderii

Post Tuesday, 2nd August 2011, 02:32

Re: Help with compiling

Sorry we missed you in ##crawl-dev, Akhena! You came at a bit of a lull. :) If you need any more help compiling, feel free to stop in!

Temple Termagant

Posts: 11

Joined: Monday, 1st August 2011, 16:00

Post Tuesday, 2nd August 2011, 19:00

Re: Help with compiling

Thanks for the help. I tried what you suggested, but here is where I'm stuck now :
[...]
make[2]: Leaving directory `/C/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl/crawl-ref/source/contrib/sqlite'
make[1]: Leaving directory `/C/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl/crawl-ref/source/contrib'
GEN art-data.h
GEN dc-unrand.txt
GEN tiledef-unrand.cc
make -C rltiles all ARCH=mingw32
make[1]: Entering directory `/C/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl/crawl-ref/source/rltiles'
CXX tool/tile_colour.o
CXX tool/tile.o
CXX tool/tile_page.o
CXX tool/tile_list_processor.o
CXX tool/main.o
LINK tool/tilegen.elf
GEN main
Error: couldn't open 'tiledef-main.h' for write.
Error: failed to write data for 'dc-main.txt'
GEN dngn
Error: couldn't open 'tiledef-dngn.h' for write.
Error: failed to write data for 'dc-dngn.txt'
GEN floor
Error: couldn't open 'tiledef-floor.h' for write.
Error: failed to write data for 'dc-floor.txt'
GEN wall
Error: couldn't open 'tiledef-wall.h' for write.
Error: failed to write data for 'dc-wall.txt'
GEN feat
Error: couldn't open 'tiledef-feat.h' for write.
Error: failed to write data for 'dc-feat.txt'
GEN player
Error: couldn't open 'tiledef-player.h' for write.
Error: failed to write data for 'dc-player.txt'
GEN gui
Error: couldn't open 'tiledef-gui.h' for write.
Error: failed to write data for 'dc-gui.txt'
GEN icons
Error: couldn't open 'tiledef-icons.h' for write.
Error: failed to write data for 'dc-icons.txt'
make[1]: Leaving directory `/C/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl/crawl-ref/source/rltiles'
COPY dat/tiles/floor.png
COPY dat/tiles/wall.png
COPY dat/tiles/feat.png
COPY dat/tiles/main.png
COPY dat/tiles/player.png
COPY dat/tiles/gui.png
COPY dat/tiles/icons.png
CXX abl-show.o
CXX abyss.o
abyss.cc:48:27: error: tiledef-dngn.h: No such file or directory
abyss.cc: In function 'void _corrupt_square(const corrupt_env&, const coord_def&
)':
abyss.cc:1734: error: 'TILE_WALL_UNDEAD' was not declared in this scope
abyss.cc:1735: error: 'tile_dngn_count' was not declared in this scope
abyss.cc:1739: error: 'TILE_FLOOR_NERVES' was not declared in this scope
abyss.cc:1740: error: 'tile_dngn_count' was not declared in this scope
make: *** [abyss.o] Error 1

DANIELG@GPXCHD420-02 /C/Documents and Settings/danielg/My Documents/C++/DungeonC
rawl/crawl/crawl-ref/source (master)
$


Any ideas ? Thanks a lot !
User avatar

Mines Malingerer

Posts: 51

Joined: Friday, 21st January 2011, 08:22

Location: Mare Desiderii

Post Wednesday, 3rd August 2011, 03:07

Re: Help with compiling

Are you following the instructions on the lower half of this page: http://crawl.develz.org/wordpress/downloads ? Specifically, make sure that you haven't skipped the "git submodule update --init" step.

Also, have you tried compiling normally, without tiles? To do so, just type "make" without any other parameters.

For this message the author Wensleydale has received thanks:
akhena

Temple Termagant

Posts: 11

Joined: Monday, 1st August 2011, 16:00

Post Wednesday, 3rd August 2011, 12:00

Re: Help with compiling

Thanks for taking the time to help me. :)

Yes I did use git submodule update --init. And I have in the /source dir a /contrib dir with all the required dependancy (freetype, libpng, sdl, ...).

The problem seems to be
Error: couldn't open 'tiledef-main.h' for write.
. I tried to search in the crawl directory for this file, and it's nowhere. Should it be generated ? If you have this file, in which dir is it ?

Here's the content of my crawl-ref/source/rltiles folder
  Code:
DANIELG@GPXCHD420-02 /C/Documents and Settings/danielg/My Documents/C++
rawl/crawl/crawl-ref/source/rltiles (master)
$ ls
Makefile         dc-item.txt       dc-wall.txt    main.png
UNUSED/          dc-main.txt       dc-zombie.txt  player/
dc-commands.txt  dc-misc/          dngn.png       player.png
dc-corpse.txt    dc-misc.txt       effect/        tiledef-unrand.cc
dc-demon.txt     dc-mon/           feat.png       tiledef-unrand.h
dc-dngn/         dc-mon.txt        floor.png      tiledef_defines.h
dc-dngn.txt      dc-player.txt     gui/           tilegen-Info.plist
dc-feat.txt      dc-skills.txt     gui.png        tool/
dc-floor.txt     dc-spells.txt     icons.png      wall.png
dc-gui.txt       dc-tentacles.txt  item/
dc-icons.txt     dc-unrand.txt     license.txt


PS : I tried to compile the game without the tiles, and it worked ok. So that's only an issue with the tiles...

Temple Termagant

Posts: 10

Joined: Saturday, 23rd July 2011, 11:31

Post Wednesday, 3rd August 2011, 21:09

Re: Help with compiling

That file's supposed to be auto-generated...

Try rebuilding with "make TILES=Y -B" (This'll recompile everything from scratch)

That might take care of the issue... But, I can't make any promises

Temple Termagant

Posts: 11

Joined: Monday, 1st August 2011, 16:00

Post Thursday, 4th August 2011, 08:27

Re: Help with compiling

Hi,

Thanks for trying to help me ! It's already good to hear that these files must be auto generated. I tried what you suggested. Here's the output I get :
  Code:
DANIELG@GPXCHD420-02 /C/Documents and Settings/danielg/My Documents/C++/DungeonC
rawl/crawl/crawl-ref/source (master)
$ make TILES=Y -B
make[1]: Entering directory `/C/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl/crawl-ref/source/contrib'
make[2]: Entering directory `/C/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl/crawl-ref/source/contrib/pcre'
    CC pcre_chartables.o
    CC pcre_compile.o
    CC pcre_config.o
    CC pcre_dfa_exec.o
    CC pcre_exec.o
    CC pcre_fullinfo.o
    CC pcre_get.o
    CC pcre_globals.o
    CC pcre_info.o
    CC pcre_maketables.o
    CC pcre_newline.o
    CC pcre_ord2utf8.o
    CC pcre_refcount.o
    CC pcre_study.o
    CC pcre_tables.o
    CC pcre_try_flipped.o
    CC pcre_ucd.o
    CC pcre_valid_utf8.o
    CC pcre_version.o
    CC pcre_xclass.o
    AR libpcre.a
    RANLIB libpcre.a
make[2]: Leaving directory `/C/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl/crawl-ref/source/contrib/pcre'
make[2]: Entering directory `/C/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl/crawl-ref/source/contrib/pcre'
    CC pcre_chartables.o
    CC pcre_compile.o
    CC pcre_config.o
    CC pcre_dfa_exec.o
    CC pcre_exec.o
    CC pcre_fullinfo.o
    CC pcre_get.o
    CC pcre_globals.o
    CC pcre_info.o
    CC pcre_maketables.o
    CC pcre_newline.o
    CC pcre_ord2utf8.o
    CC pcre_refcount.o
    CC pcre_study.o
    CC pcre_tables.o
    CC pcre_try_flipped.o
    CC pcre_ucd.o
    CC pcre_valid_utf8.o
    CC pcre_version.o
    CC pcre_xclass.o
    AR libpcre.a
    RANLIB libpcre.a
    INSTALL libpcre.a
    INSTALL doc/pcre.3
    INSTALL doc/pcre_compile.3
    INSTALL doc/pcre_compile2.3
    INSTALL doc/pcre_config.3
    INSTALL doc/pcre_copy_named_substring.3
    INSTALL doc/pcre_copy_substring.3
    INSTALL doc/pcre_dfa_exec.3
    INSTALL doc/pcre_exec.3
    INSTALL doc/pcre_free_substring.3
    INSTALL doc/pcre_free_substring_list.3
    INSTALL doc/pcre_fullinfo.3
    INSTALL doc/pcre_get_named_substring.3
    INSTALL doc/pcre_get_stringnumber.3
    INSTALL doc/pcre_get_stringtable_entries.3
    INSTALL doc/pcre_get_substring.3
    INSTALL doc/pcre_get_substring_list.3
    INSTALL doc/pcre_info.3
    INSTALL doc/pcre_maketables.3
    INSTALL doc/pcre_refcount.3
    INSTALL doc/pcre_study.3
    INSTALL doc/pcre_version.3
    INSTALL doc/pcreapi.3
    INSTALL doc/pcrebuild.3
    INSTALL doc/pcrecallout.3
    INSTALL doc/pcrecompat.3
    INSTALL doc/pcrematching.3
    INSTALL doc/pcrepartial.3
    INSTALL doc/pcrepattern.3
    INSTALL doc/pcreperform.3
    INSTALL doc/pcreposix.3
    INSTALL doc/pcreprecompile.3
    INSTALL doc/pcresample.3
    INSTALL doc/pcrestack.3
    INSTALL doc/pcresyntax.3
    INSTALL pcre.h
make[2]: Leaving directory `/C/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl/crawl-ref/source/contrib/pcre'
make[2]: Entering directory `/C/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl/crawl-ref/source/contrib/zlib'
    CC adler32.o
    CC compress.o
    CC crc32.o
    CC gzio.o
    CC uncompr.o
    CC deflate.o
    CC trees.o
    CC zutil.o
    CC inflate.o
    CC infback.o
    CC inftrees.o
    CC inffast.o
    AR libz.a
    RANLIB libz.a
make[2]: Leaving directory `/C/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl/crawl-ref/source/contrib/zlib'
make[2]: Entering directory `/C/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl/crawl-ref/source/contrib/zlib'
    INSTALL zlib.h
    INSTALL zconf.h
    CC adler32.o
    CC compress.o
    CC crc32.o
    CC gzio.o
    CC uncompr.o
    CC deflate.o
    CC trees.o
    CC zutil.o
    CC inflate.o
    CC infback.o
    CC inftrees.o
    CC inffast.o
    AR libz.a
    RANLIB libz.a
    INSTALL libz.a
make[2]: Leaving directory `/C/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl/crawl-ref/source/contrib/zlib'
make[2]: Entering directory `/C/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl/crawl-ref/source/contrib/freetype'
    CC src/base/ftbase.o
    CC src/base/ftbbox.o
    CC src/base/ftbdf.o
    CC src/base/ftbitmap.o
    CC src/base/ftdebug.o
    CC src/base/ftfstype.o
    CC src/base/ftglyph.o
    CC src/base/ftgasp.o
    CC src/base/ftinit.o
    CC src/base/ftsystem.o
    CC src/autofit/autofit.o
    CC src/cache/ftcache.o
    CC src/sfnt/sfnt.o
    CC src/smooth/ftgrays.o
    CC src/smooth/ftsmooth.o
    CC src/truetype/truetype.o
    AR libfreetype.a
    RANLIB libfreetype.a
make[2]: Leaving directory `/C/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl/crawl-ref/source/contrib/freetype'
make[2]: Entering directory `/C/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl/crawl-ref/source/contrib/freetype'
    INSTALL include/freetype/config/ftconfig.h
    INSTALL include/freetype/config/ftheader.h
    INSTALL include/freetype/config/ftmodule.h
    INSTALL include/freetype/config/ftoption.h
    INSTALL include/freetype/config/ftstdlib.h
    INSTALL include/freetype/freetype.h
    INSTALL include/freetype/ftadvanc.h
    INSTALL include/freetype/ftbbox.h
    INSTALL include/freetype/ftbdf.h
    INSTALL include/freetype/ftbitmap.h
    INSTALL include/freetype/ftcache.h
    INSTALL include/freetype/ftchapters.h
    INSTALL include/freetype/ftcid.h
    INSTALL include/freetype/fterrdef.h
    INSTALL include/freetype/fterrors.h
    INSTALL include/freetype/ftgasp.h
    INSTALL include/freetype/ftglyph.h
    INSTALL include/freetype/ftgxval.h
    INSTALL include/freetype/ftgzip.h
    INSTALL include/freetype/ftimage.h
    INSTALL include/freetype/ftincrem.h
    INSTALL include/freetype/ftlcdfil.h
    INSTALL include/freetype/ftlist.h
    INSTALL include/freetype/ftlzw.h
    INSTALL include/freetype/ftmac.h
    INSTALL include/freetype/ftmm.h
    INSTALL include/freetype/ftmodapi.h
    INSTALL include/freetype/ftmoderr.h
    INSTALL include/freetype/ftotval.h
    INSTALL include/freetype/ftoutln.h
    INSTALL include/freetype/ftpfr.h
    INSTALL include/freetype/ftrender.h
    INSTALL include/freetype/ftsizes.h
    INSTALL include/freetype/ftsnames.h
    INSTALL include/freetype/ftstroke.h
    INSTALL include/freetype/ftsynth.h
    INSTALL include/freetype/ftsystem.h
    INSTALL include/freetype/fttrigon.h
    INSTALL include/freetype/fttypes.h
    INSTALL include/freetype/ftwinfnt.h
    INSTALL include/freetype/ftxf86.h
    INSTALL include/freetype/internal/autohint.h
    INSTALL include/freetype/internal/ftcalc.h
    INSTALL include/freetype/internal/ftdebug.h
    INSTALL include/freetype/internal/ftdriver.h
    INSTALL include/freetype/internal/ftgloadr.h
    INSTALL include/freetype/internal/ftmemory.h
    INSTALL include/freetype/internal/ftobjs.h
    INSTALL include/freetype/internal/ftpic.h
    INSTALL include/freetype/internal/ftrfork.h
    INSTALL include/freetype/internal/ftserv.h
    INSTALL include/freetype/internal/ftstream.h
    INSTALL include/freetype/internal/fttrace.h
    INSTALL include/freetype/internal/ftvalid.h
    INSTALL include/freetype/internal/internal.h
    INSTALL include/freetype/internal/pcftypes.h
    INSTALL include/freetype/internal/psaux.h
    INSTALL include/freetype/internal/pshints.h
    INSTALL include/freetype/internal/services/svbdf.h
    INSTALL include/freetype/internal/services/svcid.h
    INSTALL include/freetype/internal/services/svgldict.h
    INSTALL include/freetype/internal/services/svgxval.h
    INSTALL include/freetype/internal/services/svkern.h
    INSTALL include/freetype/internal/services/svmm.h
    INSTALL include/freetype/internal/services/svotval.h
    INSTALL include/freetype/internal/services/svpfr.h
    INSTALL include/freetype/internal/services/svpostnm.h
    INSTALL include/freetype/internal/services/svpscmap.h
    INSTALL include/freetype/internal/services/svpsinfo.h
    INSTALL include/freetype/internal/services/svsfnt.h
    INSTALL include/freetype/internal/services/svttcmap.h
    INSTALL include/freetype/internal/services/svtteng.h
    INSTALL include/freetype/internal/services/svttglyf.h
    INSTALL include/freetype/internal/services/svwinfnt.h
    INSTALL include/freetype/internal/services/svxf86nm.h
    INSTALL include/freetype/internal/sfnt.h
    INSTALL include/freetype/internal/t1types.h
    INSTALL include/freetype/internal/tttypes.h
    INSTALL include/freetype/t1tables.h
    INSTALL include/freetype/ttnameid.h
    INSTALL include/freetype/tttables.h
    INSTALL include/freetype/tttags.h
    INSTALL include/freetype/ttunpat.h
    INSTALL include/ft2build.h
    CC src/base/ftbase.o
    CC src/base/ftbbox.o
    CC src/base/ftbdf.o
    CC src/base/ftbitmap.o
    CC src/base/ftdebug.o
    CC src/base/ftfstype.o
    CC src/base/ftglyph.o
    CC src/base/ftgasp.o
    CC src/base/ftinit.o
    CC src/base/ftsystem.o
    CC src/autofit/autofit.o
    CC src/cache/ftcache.o
    CC src/sfnt/sfnt.o
    CC src/smooth/ftgrays.o
    CC src/smooth/ftsmooth.o
    CC src/truetype/truetype.o
    AR libfreetype.a
    RANLIB libfreetype.a
    INSTALL libfreetype.a
make[2]: Leaving directory `/C/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl/crawl-ref/source/contrib/freetype'
make[2]: Entering directory `/C/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl/crawl-ref/source/contrib/sdl'
    CC src/SDL.o
    CC src/SDL_error.o
    CC src/SDL_fatal.o
    CC src/audio/SDL_audio.o
    CC src/audio/SDL_audiocvt.o
    CC src/audio/SDL_audiodev.o
    CC src/audio/SDL_mixer.o
    CC src/audio/SDL_mixer_MMX.o
    CC src/audio/SDL_mixer_MMX_VC.o
    CC src/audio/SDL_mixer_m68k.o
    CC src/audio/SDL_wave.o
    CC src/cdrom/SDL_cdrom.o
    CC src/cpuinfo/SDL_cpuinfo.o
    CC src/events/SDL_active.o
    CC src/events/SDL_events.o
    CC src/events/SDL_expose.o
    CC src/events/SDL_keyboard.o
    CC src/events/SDL_mouse.o
    CC src/events/SDL_quit.o
    CC src/events/SDL_resize.o
    CC src/file/SDL_rwops.o
    CC src/joystick/SDL_joystick.o
    CC src/stdlib/SDL_getenv.o
    CC src/stdlib/SDL_iconv.o
    CC src/stdlib/SDL_malloc.o
    CC src/stdlib/SDL_qsort.o
    CC src/stdlib/SDL_stdlib.o
    CC src/stdlib/SDL_string.o
    CC src/thread/SDL_thread.o
    CC src/timer/SDL_timer.o
    CC src/video/SDL_RLEaccel.o
    CC src/video/SDL_blit.o
    CC src/video/SDL_blit_0.o
    CC src/video/SDL_blit_1.o
    CC src/video/SDL_blit_A.o
    CC src/video/SDL_blit_N.o
    CC src/video/SDL_bmp.o
    CC src/video/SDL_cursor.o
    CC src/video/SDL_gamma.o
    CC src/video/SDL_pixels.o
    CC src/video/SDL_stretch.o
    CC src/video/SDL_surface.o
    CC src/video/SDL_video.o
    CC src/video/SDL_yuv.o
    CC src/video/SDL_yuv_mmx.o
    CC src/video/SDL_yuv_sw.o
    CC src/audio/disk/SDL_diskaudio.o
    CC src/audio/dummy/SDL_dummyaudio.o
    CC src/video/dummy/SDL_nullevents.o
    CC src/video/dummy/SDL_nullmouse.o
    CC src/video/dummy/SDL_nullvideo.o
    CC src/joystick/dummy/SDL_sysjoystick.o
    CC src/cdrom/dummy/SDL_syscdrom.o
    CC src/timer/dummy/SDL_systimer.o
    CC src/loadso/dummy/SDL_sysloadso.o
    CC src/audio/windib/SDL_dibaudio.o
    CC src/cdrom/win32/SDL_syscdrom.o
    CC src/joystick/win32/SDL_mmjoystick.o
    CC src/loadso/win32/SDL_sysloadso.o
    CC src/thread/win32/SDL_sysmutex.o
    CC src/thread/win32/SDL_syssem.o
    CC src/thread/win32/SDL_systhread.o
    CC src/timer/win32/SDL_systimer.o
    CC src/video/wincommon/SDL_sysevents.o
    CC src/video/wincommon/SDL_sysmouse.o
    CC src/video/wincommon/SDL_syswm.o
    CC src/video/wincommon/SDL_wingl.o
    CC src/video/windib/SDL_dibevents.o
src/video/windib/SDL_dibevents.c: In function 'DIB_CreateWindow':
src/video/windib/SDL_dibevents.c:659: warning: cast to pointer from integer of d
ifferent size
    CC src/video/windib/SDL_dibvideo.o
    AR libSDL.a
    RANLIB libSDL.a
    CC src/main/win32/SDL_win32_main.o
    AR libSDLmain.a
    RANLIB libSDLmain.a
make[2]: Leaving directory `/C/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl/crawl-ref/source/contrib/sdl'
make[2]: Entering directory `/C/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl/crawl-ref/source/contrib/sdl'
    INSTALL docs/man3/SDLKey.3
    INSTALL docs/man3/SDL_ActiveEvent.3
    INSTALL docs/man3/SDL_AddTimer.3
    INSTALL docs/man3/SDL_AudioCVT.3
    INSTALL docs/man3/SDL_AudioSpec.3
    INSTALL docs/man3/SDL_BlitSurface.3
    INSTALL docs/man3/SDL_BuildAudioCVT.3
    INSTALL docs/man3/SDL_CD.3
    INSTALL docs/man3/SDL_CDClose.3
    INSTALL docs/man3/SDL_CDEject.3
    INSTALL docs/man3/SDL_CDName.3
    INSTALL docs/man3/SDL_CDNumDrives.3
    INSTALL docs/man3/SDL_CDOpen.3
    INSTALL docs/man3/SDL_CDPause.3
    INSTALL docs/man3/SDL_CDPlay.3
    INSTALL docs/man3/SDL_CDPlayTracks.3
    INSTALL docs/man3/SDL_CDResume.3
    INSTALL docs/man3/SDL_CDStatus.3
    INSTALL docs/man3/SDL_CDStop.3
    INSTALL docs/man3/SDL_CDtrack.3
    INSTALL docs/man3/SDL_CloseAudio.3
    INSTALL docs/man3/SDL_Color.3
    INSTALL docs/man3/SDL_CondBroadcast.3
    INSTALL docs/man3/SDL_CondSignal.3
    INSTALL docs/man3/SDL_CondWait.3
    INSTALL docs/man3/SDL_CondWaitTimeout.3
    INSTALL docs/man3/SDL_ConvertAudio.3
    INSTALL docs/man3/SDL_ConvertSurface.3
    INSTALL docs/man3/SDL_CreateCond.3
    INSTALL docs/man3/SDL_CreateCursor.3
    INSTALL docs/man3/SDL_CreateMutex.3
    INSTALL docs/man3/SDL_CreateRGBSurface.3
    INSTALL docs/man3/SDL_CreateRGBSurfaceFrom.3
    INSTALL docs/man3/SDL_CreateSemaphore.3
    INSTALL docs/man3/SDL_CreateThread.3
    INSTALL docs/man3/SDL_CreateYUVOverlay.3
    INSTALL docs/man3/SDL_Delay.3
    INSTALL docs/man3/SDL_DestroyCond.3
    INSTALL docs/man3/SDL_DestroyMutex.3
    INSTALL docs/man3/SDL_DestroySemaphore.3
    INSTALL docs/man3/SDL_DisplayFormat.3
    INSTALL docs/man3/SDL_DisplayFormatAlpha.3
    INSTALL docs/man3/SDL_DisplayYUVOverlay.3
    INSTALL docs/man3/SDL_EnableKeyRepeat.3
    INSTALL docs/man3/SDL_EnableUNICODE.3
    INSTALL docs/man3/SDL_Event.3
    INSTALL docs/man3/SDL_EventState.3
    INSTALL docs/man3/SDL_ExposeEvent.3
    INSTALL docs/man3/SDL_FillRect.3
    INSTALL docs/man3/SDL_Flip.3
    INSTALL docs/man3/SDL_FreeCursor.3
    INSTALL docs/man3/SDL_FreeSurface.3
    INSTALL docs/man3/SDL_FreeWAV.3
    INSTALL docs/man3/SDL_FreeYUVOverlay.3
    INSTALL docs/man3/SDL_GL_GetAttribute.3
    INSTALL docs/man3/SDL_GL_GetProcAddress.3
    INSTALL docs/man3/SDL_GL_LoadLibrary.3
    INSTALL docs/man3/SDL_GL_SetAttribute.3
    INSTALL docs/man3/SDL_GL_SwapBuffers.3
    INSTALL docs/man3/SDL_GLattr.3
    INSTALL docs/man3/SDL_GetAppState.3
    INSTALL docs/man3/SDL_GetAudioStatus.3
    INSTALL docs/man3/SDL_GetClipRect.3
    INSTALL docs/man3/SDL_GetCursor.3
    INSTALL docs/man3/SDL_GetError.3
    INSTALL docs/man3/SDL_GetEventFilter.3
    INSTALL docs/man3/SDL_GetGamma.3
    INSTALL docs/man3/SDL_GetGammaRamp.3
    INSTALL docs/man3/SDL_GetKeyName.3
    INSTALL docs/man3/SDL_GetKeyState.3
    INSTALL docs/man3/SDL_GetModState.3
    INSTALL docs/man3/SDL_GetMouseState.3
    INSTALL docs/man3/SDL_GetRGB.3
    INSTALL docs/man3/SDL_GetRGBA.3
    INSTALL docs/man3/SDL_GetRelativeMouseState.3
    INSTALL docs/man3/SDL_GetThreadID.3
    INSTALL docs/man3/SDL_GetTicks.3
    INSTALL docs/man3/SDL_GetVideoInfo.3
    INSTALL docs/man3/SDL_GetVideoSurface.3
    INSTALL docs/man3/SDL_Init.3
    INSTALL docs/man3/SDL_InitSubSystem.3
    INSTALL docs/man3/SDL_JoyAxisEvent.3
    INSTALL docs/man3/SDL_JoyBallEvent.3
    INSTALL docs/man3/SDL_JoyButtonEvent.3
    INSTALL docs/man3/SDL_JoyHatEvent.3
    INSTALL docs/man3/SDL_JoystickClose.3
    INSTALL docs/man3/SDL_JoystickEventState.3
    INSTALL docs/man3/SDL_JoystickGetAxis.3
    INSTALL docs/man3/SDL_JoystickGetBall.3
    INSTALL docs/man3/SDL_JoystickGetButton.3
    INSTALL docs/man3/SDL_JoystickGetHat.3
    INSTALL docs/man3/SDL_JoystickIndex.3
    INSTALL docs/man3/SDL_JoystickName.3
    INSTALL docs/man3/SDL_JoystickNumAxes.3
    INSTALL docs/man3/SDL_JoystickNumBalls.3
    INSTALL docs/man3/SDL_JoystickNumButtons.3
    INSTALL docs/man3/SDL_JoystickNumHats.3
    INSTALL docs/man3/SDL_JoystickOpen.3
    INSTALL docs/man3/SDL_JoystickOpened.3
    INSTALL docs/man3/SDL_JoystickUpdate.3
    INSTALL docs/man3/SDL_KeyboardEvent.3
    INSTALL docs/man3/SDL_KillThread.3
    INSTALL docs/man3/SDL_ListModes.3
    INSTALL docs/man3/SDL_LoadBMP.3
    INSTALL docs/man3/SDL_LoadWAV.3
    INSTALL docs/man3/SDL_LockAudio.3
    INSTALL docs/man3/SDL_LockSurface.3
    INSTALL docs/man3/SDL_LockYUVOverlay.3
    INSTALL docs/man3/SDL_MapRGB.3
    INSTALL docs/man3/SDL_MapRGBA.3
    INSTALL docs/man3/SDL_MixAudio.3
    INSTALL docs/man3/SDL_MouseButtonEvent.3
    INSTALL docs/man3/SDL_MouseMotionEvent.3
    INSTALL docs/man3/SDL_NumJoysticks.3
    INSTALL docs/man3/SDL_OpenAudio.3
    INSTALL docs/man3/SDL_Overlay.3
    INSTALL docs/man3/SDL_Palette.3
    INSTALL docs/man3/SDL_PauseAudio.3
    INSTALL docs/man3/SDL_PeepEvents.3
    INSTALL docs/man3/SDL_PixelFormat.3
    INSTALL docs/man3/SDL_PollEvent.3
    INSTALL docs/man3/SDL_PumpEvents.3
    INSTALL docs/man3/SDL_PushEvent.3
    INSTALL docs/man3/SDL_Quit.3
    INSTALL docs/man3/SDL_QuitEvent.3
    INSTALL docs/man3/SDL_QuitSubSystem.3
    INSTALL docs/man3/SDL_RWFromFile.3
    INSTALL docs/man3/SDL_Rect.3
    INSTALL docs/man3/SDL_RemoveTimer.3
    INSTALL docs/man3/SDL_ResizeEvent.3
    INSTALL docs/man3/SDL_SaveBMP.3
    INSTALL docs/man3/SDL_SemPost.3
    INSTALL docs/man3/SDL_SemTryWait.3
    INSTALL docs/man3/SDL_SemValue.3
    INSTALL docs/man3/SDL_SemWait.3
    INSTALL docs/man3/SDL_SemWaitTimeout.3
    INSTALL docs/man3/SDL_SetAlpha.3
    INSTALL docs/man3/SDL_SetClipRect.3
    INSTALL docs/man3/SDL_SetColorKey.3
    INSTALL docs/man3/SDL_SetColors.3
    INSTALL docs/man3/SDL_SetCursor.3
    INSTALL docs/man3/SDL_SetEventFilter.3
    INSTALL docs/man3/SDL_SetGamma.3
    INSTALL docs/man3/SDL_SetGammaRamp.3
    INSTALL docs/man3/SDL_SetModState.3
    INSTALL docs/man3/SDL_SetPalette.3
    INSTALL docs/man3/SDL_SetTimer.3
    INSTALL docs/man3/SDL_SetVideoMode.3
    INSTALL docs/man3/SDL_ShowCursor.3
    INSTALL docs/man3/SDL_Surface.3
    INSTALL docs/man3/SDL_SysWMEvent.3
    INSTALL docs/man3/SDL_ThreadID.3
    INSTALL docs/man3/SDL_UnlockAudio.3
    INSTALL docs/man3/SDL_UnlockSurface.3
    INSTALL docs/man3/SDL_UnlockYUVOverlay.3
    INSTALL docs/man3/SDL_UpdateRect.3
    INSTALL docs/man3/SDL_UpdateRects.3
    INSTALL docs/man3/SDL_UserEvent.3
    INSTALL docs/man3/SDL_VideoDriverName.3
    INSTALL docs/man3/SDL_VideoInfo.3
    INSTALL docs/man3/SDL_VideoModeOK.3
    INSTALL docs/man3/SDL_WM_GetCaption.3
    INSTALL docs/man3/SDL_WM_GrabInput.3
    INSTALL docs/man3/SDL_WM_IconifyWindow.3
    INSTALL docs/man3/SDL_WM_SetCaption.3
    INSTALL docs/man3/SDL_WM_SetIcon.3
    INSTALL docs/man3/SDL_WM_ToggleFullScreen.3
    INSTALL docs/man3/SDL_WaitEvent.3
    INSTALL docs/man3/SDL_WaitThread.3
    INSTALL docs/man3/SDL_WarpMouse.3
    INSTALL docs/man3/SDL_WasInit.3
    INSTALL docs/man3/SDL_keysym.3
    INSTALL docs/man3/SDL_mutexP.3
    INSTALL docs/man3/SDL_mutexV.3
    INSTALL include/SDL.h
    INSTALL include/SDL_active.h
    INSTALL include/SDL_audio.h
    INSTALL include/SDL_byteorder.h
    INSTALL include/SDL_cdrom.h
    INSTALL include/SDL_config.h
    INSTALL include/SDL_config_dreamcast.h
    INSTALL include/SDL_config_linux.h
    INSTALL include/SDL_config_macos.h
    INSTALL include/SDL_config_macosx.h
    INSTALL include/SDL_config_mingw.h
    INSTALL include/SDL_config_minimal.h
    INSTALL include/SDL_config_nds.h
    INSTALL include/SDL_config_os2.h
    INSTALL include/SDL_config_symbian.h
    INSTALL include/SDL_config_win32.h
    INSTALL include/SDL_copying.h
    INSTALL include/SDL_cpuinfo.h
    INSTALL include/SDL_endian.h
    INSTALL include/SDL_error.h
    INSTALL include/SDL_events.h
    INSTALL include/SDL_getenv.h
    INSTALL include/SDL_joystick.h
    INSTALL include/SDL_keyboard.h
    INSTALL include/SDL_keysym.h
    INSTALL include/SDL_loadso.h
    INSTALL include/SDL_main.h
    INSTALL include/SDL_mouse.h
    INSTALL include/SDL_mutex.h
    INSTALL include/SDL_name.h
    INSTALL include/SDL_opengl.h
    INSTALL include/SDL_platform.h
    INSTALL include/SDL_quit.h
    INSTALL include/SDL_rwops.h
    INSTALL include/SDL_stdinc.h
    INSTALL include/SDL_syswm.h
    INSTALL include/SDL_thread.h
    INSTALL include/SDL_timer.h
    INSTALL include/SDL_types.h
    INSTALL include/SDL_version.h
    INSTALL include/SDL_video.h
    INSTALL include/begin_code.h
    INSTALL include/close_code.h
    CC src/SDL.o
    CC src/SDL_error.o
    CC src/SDL_fatal.o
    CC src/audio/SDL_audio.o
    CC src/audio/SDL_audiocvt.o
    CC src/audio/SDL_audiodev.o
    CC src/audio/SDL_mixer.o
    CC src/audio/SDL_mixer_MMX.o
    CC src/audio/SDL_mixer_MMX_VC.o
    CC src/audio/SDL_mixer_m68k.o
    CC src/audio/SDL_wave.o
    CC src/cdrom/SDL_cdrom.o
    CC src/cpuinfo/SDL_cpuinfo.o
    CC src/events/SDL_active.o
    CC src/events/SDL_events.o
    CC src/events/SDL_expose.o
    CC src/events/SDL_keyboard.o
    CC src/events/SDL_mouse.o
    CC src/events/SDL_quit.o
    CC src/events/SDL_resize.o
    CC src/file/SDL_rwops.o
    CC src/joystick/SDL_joystick.o
    CC src/stdlib/SDL_getenv.o
    CC src/stdlib/SDL_iconv.o
    CC src/stdlib/SDL_malloc.o
    CC src/stdlib/SDL_qsort.o
    CC src/stdlib/SDL_stdlib.o
    CC src/stdlib/SDL_string.o
    CC src/thread/SDL_thread.o
    CC src/timer/SDL_timer.o
    CC src/video/SDL_RLEaccel.o
    CC src/video/SDL_blit.o
    CC src/video/SDL_blit_0.o
    CC src/video/SDL_blit_1.o
    CC src/video/SDL_blit_A.o
    CC src/video/SDL_blit_N.o
    CC src/video/SDL_bmp.o
    CC src/video/SDL_cursor.o
    CC src/video/SDL_gamma.o
    CC src/video/SDL_pixels.o
    CC src/video/SDL_stretch.o
    CC src/video/SDL_surface.o
    CC src/video/SDL_video.o
    CC src/video/SDL_yuv.o
    CC src/video/SDL_yuv_mmx.o
    CC src/video/SDL_yuv_sw.o
    CC src/audio/disk/SDL_diskaudio.o
    CC src/audio/dummy/SDL_dummyaudio.o
    CC src/video/dummy/SDL_nullevents.o
    CC src/video/dummy/SDL_nullmouse.o
    CC src/video/dummy/SDL_nullvideo.o
    CC src/joystick/dummy/SDL_sysjoystick.o
    CC src/cdrom/dummy/SDL_syscdrom.o
    CC src/timer/dummy/SDL_systimer.o
    CC src/loadso/dummy/SDL_sysloadso.o
    CC src/audio/windib/SDL_dibaudio.o
    CC src/cdrom/win32/SDL_syscdrom.o
    CC src/joystick/win32/SDL_mmjoystick.o
    CC src/loadso/win32/SDL_sysloadso.o
    CC src/thread/win32/SDL_sysmutex.o
    CC src/thread/win32/SDL_syssem.o
    CC src/thread/win32/SDL_systhread.o
    CC src/timer/win32/SDL_systimer.o
    CC src/video/wincommon/SDL_sysevents.o
    CC src/video/wincommon/SDL_sysmouse.o
    CC src/video/wincommon/SDL_syswm.o
    CC src/video/wincommon/SDL_wingl.o
    CC src/video/windib/SDL_dibevents.o
src/video/windib/SDL_dibevents.c: In function 'DIB_CreateWindow':
src/video/windib/SDL_dibevents.c:659: warning: cast to pointer from integer of d
ifferent size
    CC src/video/windib/SDL_dibvideo.o
    AR libSDL.a
    RANLIB libSDL.a
    INSTALL libSDL.a
    CC src/main/win32/SDL_win32_main.o
    AR libSDLmain.a
    RANLIB libSDLmain.a
    INSTALL libSDLmain.a
make[2]: Leaving directory `/C/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl/crawl-ref/source/contrib/sdl'
make[2]: Entering directory `/C/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl/crawl-ref/source/contrib/libpng'
    CC png.o
    CC pngset.o
    CC pngget.o
    CC pngrutil.o
    CC pngtrans.o
    CC pngwutil.o
    CC pngread.o
    CC pngrio.o
    CC pngwio.o
    CC pngwrite.o
    CC pngrtran.o
    CC pngwtran.o
    CC pngmem.o
    CC pngerror.o
    CC pngpread.o
    AR libpng.a
    RANLIB libpng.a
make[2]: Leaving directory `/C/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl/crawl-ref/source/contrib/libpng'
make[2]: Entering directory `/C/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl/crawl-ref/source/contrib/libpng'
    INSTALL png.h
    INSTALL pngconf.h
    CC png.o
    CC pngset.o
    CC pngget.o
    CC pngrutil.o
    CC pngtrans.o
    CC pngwutil.o
    CC pngread.o
    CC pngrio.o
    CC pngwio.o
    CC pngwrite.o
    CC pngrtran.o
    CC pngwtran.o
    CC pngmem.o
    CC pngerror.o
    CC pngpread.o
    AR libpng.a
    RANLIB libpng.a
    INSTALL libpng.a
make[2]: Leaving directory `/C/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl/crawl-ref/source/contrib/libpng'
make[2]: Entering directory `/C/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl/crawl-ref/source/contrib/sdl-image'
    CC IMG.o
    CC IMG_bmp.o
IMG_bmp.c: In function 'LoadICOCUR_RW':
IMG_bmp.c:581: warning: unused variable 'dwBytesInRes'
IMG_bmp.c:580: warning: unused variable 'wBitCount'
IMG_bmp.c:579: warning: unused variable 'wPlanes'
IMG_bmp.c:578: warning: unused variable 'bReserved'
    CC IMG_gif.o
    CC IMG_ImageIO.o
    CC IMG_jpg.o
    CC IMG_lbm.o
    CC IMG_pcx.o
    CC IMG_png.o
IMG_png.c: In function 'IMG_LoadPNG_RW':
IMG_png.c:350: warning: 'jmpbuf' is deprecated (declared at ../install/mingw32/i
nclude/png.h:1061)
IMG_png.c:419: warning: 'channels' is deprecated (declared at ../install/mingw32
/include/png.h:647)
IMG_png.c:421: warning: 'channels' is deprecated (declared at ../install/mingw32
/include/png.h:647)
IMG_png.c:429: warning: 'channels' is deprecated (declared at ../install/mingw32
/include/png.h:647)
IMG_png.c:477: warning: 'num_palette' is deprecated (declared at ../install/ming
w32/include/png.h:637)
IMG_png.c:478: warning: 'num_palette' is deprecated (declared at ../install/ming
w32/include/png.h:637)
IMG_png.c:479: warning: 'num_palette' is deprecated (declared at ../install/ming
w32/include/png.h:637)
IMG_png.c:480: warning: 'palette' is deprecated (declared at ../install/mingw32/
include/png.h:636)
IMG_png.c:481: warning: 'palette' is deprecated (declared at ../install/mingw32/
include/png.h:636)
IMG_png.c:482: warning: 'palette' is deprecated (declared at ../install/mingw32/
include/png.h:636)
    CC IMG_pnm.o
    CC IMG_tga.o
    CC IMG_tif.o
    CC IMG_xcf.o
    CC IMG_xpm.o
    CC IMG_xv.o
    AR libSDL_image.a
    RANLIB libSDL_image.a
make[2]: Leaving directory `/C/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl/crawl-ref/source/contrib/sdl-image'
make[2]: Entering directory `/C/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl/crawl-ref/source/contrib/sdl-image'
    INSTALL SDL_image.h
    CC IMG.o
    CC IMG_bmp.o
IMG_bmp.c: In function 'LoadICOCUR_RW':
IMG_bmp.c:581: warning: unused variable 'dwBytesInRes'
IMG_bmp.c:580: warning: unused variable 'wBitCount'
IMG_bmp.c:579: warning: unused variable 'wPlanes'
IMG_bmp.c:578: warning: unused variable 'bReserved'
    CC IMG_gif.o
    CC IMG_ImageIO.o
    CC IMG_jpg.o
    CC IMG_lbm.o
    CC IMG_pcx.o
    CC IMG_png.o
IMG_png.c: In function 'IMG_LoadPNG_RW':
IMG_png.c:350: warning: 'jmpbuf' is deprecated (declared at ../install/mingw32/i
nclude/png.h:1061)
IMG_png.c:419: warning: 'channels' is deprecated (declared at ../install/mingw32
/include/png.h:647)
IMG_png.c:421: warning: 'channels' is deprecated (declared at ../install/mingw32
/include/png.h:647)
IMG_png.c:429: warning: 'channels' is deprecated (declared at ../install/mingw32
/include/png.h:647)
IMG_png.c:477: warning: 'num_palette' is deprecated (declared at ../install/ming
w32/include/png.h:637)
IMG_png.c:478: warning: 'num_palette' is deprecated (declared at ../install/ming
w32/include/png.h:637)
IMG_png.c:479: warning: 'num_palette' is deprecated (declared at ../install/ming
w32/include/png.h:637)
IMG_png.c:480: warning: 'palette' is deprecated (declared at ../install/mingw32/
include/png.h:636)
IMG_png.c:481: warning: 'palette' is deprecated (declared at ../install/mingw32/
include/png.h:636)
IMG_png.c:482: warning: 'palette' is deprecated (declared at ../install/mingw32/
include/png.h:636)
    CC IMG_pnm.o
    CC IMG_tga.o
    CC IMG_tif.o
    CC IMG_xcf.o
    CC IMG_xpm.o
    CC IMG_xv.o
    AR libSDL_image.a
    RANLIB libSDL_image.a
    INSTALL libSDL_image.a
make[2]: Leaving directory `/C/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl/crawl-ref/source/contrib/sdl-image'
make[1]: Nothing to be done for `sdl'.
make[1]: Nothing to be done for `libpng'.
make[1]: Nothing to be done for `zlib'.
make[2]: Entering directory `/C/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl/crawl-ref/source/contrib/lua/src'
    CC lapi.o
    CC lcode.o
    CC ldebug.o
    CC ldo.o
    CC ldump.o
    CC lfunc.o
    CC lgc.o
    CC llex.o
    CC lmem.o
    CC lobject.o
    CC lopcodes.o
    CC lparser.o
    CC lstate.o
    CC lstring.o
    CC ltable.o
    CC ltm.o
    CC lundump.o
    CC lvm.o
    CC lzio.o
    CC lauxlib.o
    CC lbaselib.o
    CC ldblib.o
    CC liolib.o
    CC lmathlib.o
    CC loslib.o
    CC ltablib.o
    CC lstrlib.o
    CC loadlib.o
    CC linit.o
    AR liblua.a
    RANLIB liblua.a
make[2]: Leaving directory `/C/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl/crawl-ref/source/contrib/lua/src'
make[2]: Entering directory `/C/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl/crawl-ref/source/contrib/lua/src'
    INSTALL lua.h
    INSTALL luaconf.h
    INSTALL lualib.h
    INSTALL lauxlib.h
    CC lapi.o
    CC lcode.o
    CC ldebug.o
    CC ldo.o
    CC ldump.o
    CC lfunc.o
    CC lgc.o
    CC llex.o
    CC lmem.o
    CC lobject.o
    CC lopcodes.o
    CC lparser.o
    CC lstate.o
    CC lstring.o
    CC ltable.o
    CC ltm.o
    CC lundump.o
    CC lvm.o
    CC lzio.o
    CC lauxlib.o
    CC lbaselib.o
    CC ldblib.o
    CC liolib.o
    CC lmathlib.o
    CC loslib.o
    CC ltablib.o
    CC lstrlib.o
    CC loadlib.o
    CC linit.o
    AR liblua.a
    RANLIB liblua.a
    INSTALL liblua.a
make[2]: Leaving directory `/C/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl/crawl-ref/source/contrib/lua/src'
make[2]: Entering directory `/C/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl/crawl-ref/source/contrib/sqlite'
    CC sqlite3.o
    AR libsqlite3.a
    RANLIB libsqlite3.a
make[2]: Leaving directory `/C/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl/crawl-ref/source/contrib/sqlite'
make[2]: Entering directory `/C/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl/crawl-ref/source/contrib/sqlite'
    INSTALL sqlite3.h
    CC sqlite3.o
    AR libsqlite3.a
    RANLIB libsqlite3.a
    INSTALL libsqlite3.a
make[2]: Leaving directory `/C/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl/crawl-ref/source/contrib/sqlite'
make[1]: Leaving directory `/C/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl/crawl-ref/source/contrib'
    GEN art-data.h
    GEN dc-unrand.txt
    GEN tiledef-unrand.cc
make -C rltiles all ARCH=mingw32
make[1]: Entering directory `/C/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl/crawl-ref/source/rltiles'
    CXX tool/tile_colour.o
    CXX tool/tile.o
    CXX tool/tile_page.o
    CXX tool/tile_list_processor.o
    CXX tool/main.o
    LINK tool/tilegen.elf
    GEN main
Error: couldn't open 'tiledef-main.h' for write.
Error: failed to write data for 'dc-main.txt'
    GEN dngn
Error: couldn't open 'tiledef-dngn.h' for write.
Error: failed to write data for 'dc-dngn.txt'
    GEN floor
Error: couldn't open 'tiledef-floor.h' for write.
Error: failed to write data for 'dc-floor.txt'
    GEN wall
Error: couldn't open 'tiledef-wall.h' for write.
Error: failed to write data for 'dc-wall.txt'
    GEN feat
Error: couldn't open 'tiledef-feat.h' for write.
Error: failed to write data for 'dc-feat.txt'
    GEN player
Error: couldn't open 'tiledef-player.h' for write.
Error: failed to write data for 'dc-player.txt'
    GEN gui
Error: couldn't open 'tiledef-gui.h' for write.
Error: failed to write data for 'dc-gui.txt'
    GEN icons
Error: couldn't open 'tiledef-icons.h' for write.
Error: failed to write data for 'dc-icons.txt'
make[1]: Leaving directory `/C/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl/crawl-ref/source/rltiles'
    DEPEND zotdef.d
    DEPEND xom.d
    DEPEND wiz-you.d
    DEPEND wiz-mon.d
    DEPEND wiz-item.d
    DEPEND wiz-fsim.d
    DEPEND wiz-dgn.d
    DEPEND wcwidth.d
    DEPEND viewmap.d
    DEPEND viewgeom.d
    DEPEND viewchar.d
    DEPEND view.d
make[1]: Entering directory `/C/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl/crawl-ref/source/util'
    YACC levcomp.tab.c
make[1]: Leaving directory `/C/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl/crawl-ref/source/util'
    DEPEND util/levcomp.tab.d
make[1]: Entering directory `/C/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl/crawl-ref/source/util'
    LEX levcomp.lex.cc
make[1]: Leaving directory `/C/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl/crawl-ref/source/util'
    DEPEND util/levcomp.lex.d
    DEPEND unicode.d
    DEPEND tutorial.d
    DEPEND travel.d
    DEPEND traps.d
    DEPEND transform.d
    DEPEND terrain.d
    DEPEND teleport.d
    DEPEND target.d
    DEPEND tagstring.d
    DEPEND tags.d
tags.cc:59:27: error: tiledef-dngn.h: No such file or directory
tags.cc:60:29: error: tiledef-player.h: No such file or directory
    DEPEND syscalls.d
    DEPEND stuff.d
    DEPEND store.d
    DEPEND status.d
    DEPEND state.d
    DEPEND stash.d
    DEPEND startup.d
    DEPEND stairs.d
    DEPEND sqldbm.d
    DEPEND sprint.d
    DEPEND spl-zap.d
    DEPEND spl-wpnench.d
    DEPEND spl-util.d
    DEPEND spl-transloc.d
    DEPEND spl-tornado.d
    DEPEND spl-summoning.d
    DEPEND spl-selfench.d
    DEPEND spl-other.d
    DEPEND spl-monench.d
    DEPEND spl-miscast.d
    DEPEND spl-goditem.d
    DEPEND spl-damage.d
    DEPEND spl-clouds.d
    DEPEND spl-cast.d
    DEPEND spl-book.d
    DEPEND species.d
    DEPEND skills2.d
    DEPEND skills.d
    DEPEND skill_menu.d
    DEPEND showsymb.d
    DEPEND show.d
    DEPEND shout.d
    DEPEND shopping.d
    DEPEND rng.d
    DEPEND religion.d
    DEPEND ray.d
    DEPEND random.d
    DEPEND random-var.d
    DEPEND quiver.d
    DEPEND potion.d
    DEPEND player.d
    DEPEND player-stats.d
    DEPEND player-equip.d
    DEPEND player-act.d
    DEPEND place.d
    DEPEND place-info.d
    DEPEND pattern.d
    DEPEND package.d
    DEPEND output.d
    DEPEND ouch.d
    DEPEND orb.d
    DEPEND notes.d
    DEPEND ng-wanderer.d
    DEPEND ng-setup.d
    DEPEND ng-restr.d
    DEPEND ng-input.d
    DEPEND ng-init.d
    DEPEND newgame.d
    DEPEND mutation.d
    DEPEND monster.d
    DEPEND mon_resist_def.d
    GEN mon-mst.h
    DEPEND mon-util.d
    DEPEND mon-transit.d
    DEPEND mon-stuff.d
    DEPEND mon-stealth.d
    DEPEND mon-speak.d
    DEPEND mon-project.d
    DEPEND mon-place.d
mon-place.cc:52:29: error: tiledef-player.h: No such file or directory
    DEPEND mon-pick.d
    DEPEND mon-pathfind.d
    DEPEND mon-movetarget.d
    DEPEND mon-iter.d
    DEPEND mon-info.d
    DEPEND mon-grow.d
    DEPEND mon-gear.d
    DEPEND mon-death.d
    DEPEND mon-clone.d
    DEPEND mon-cast.d
    DEPEND mon-behv.d
    DEPEND mon-act.d
    DEPEND mon-abil.d
    DEPEND mislead.d
    DEPEND misc.d
    DEPEND mgen_data.d
    DEPEND message.d
    DEPEND message-stream.d
    DEPEND menu.d
menu.cc:28:27: error: tiledef-dngn.h: No such file or directory
menu.cc:29:28: error: tiledef-icons.h: No such file or directory
menu.cc:30:27: error: tiledef-main.h: No such file or directory
menu.cc:31:29: error: tiledef-player.h: No such file or directory
    DEPEND maps.d
    DEPEND mapmark.d
    DEPEND mapdef.d
mapdef.cc:52:26: error: tiledef-dngn.h: No such file or directory
mapdef.cc:53:28: error: tiledef-player.h: No such file or directory
    DEPEND map_knowledge.d
    DEPEND makeitem.d
    DEPEND main.d
main.cc:135:27: error: tiledef-dngn.h: No such file or directory
    DEPEND macro.d
    DEPEND luaterp.d
    DEPEND losparam.d
    DEPEND losglobal.d
    DEPEND los_def.d
    DEPEND los.d
    DEPEND libutil.d
    DEPEND lev-pand.d
    DEPEND l_you.d
    DEPEND l_view.d
    DEPEND l_travel.d
    DEPEND l_subvault.d
    DEPEND l_spells.d
    DEPEND l_option.d
    DEPEND l_mons.d
    DEPEND l_moninf.d
    DEPEND l_mapmrk.d
    DEPEND l_mapgrd.d
    DEPEND l_los.d
    DEPEND l_item.d
    DEPEND l_global.d
    DEPEND l_food.d
    DEPEND l_file.d
    DEPEND l_feat.d
    DEPEND l_dgntil.d
l_dgntil.cc:19:26: error: tiledef-dngn.h: No such file or directory
    DEPEND l_dgnmon.d
    DEPEND l_dgnlvl.d
    DEPEND l_dgnit.d
    DEPEND l_dgngrd.d
    DEPEND l_dgnevt.d
    DEPEND l_dgnbld.d
    DEPEND l_dgn.d
l_dgn.cc:27:27: error: tiledef-dngn.h: No such file or directory
    DEPEND l_debug.d
    DEPEND l_crawl.d
    DEPEND l_colour.d
    DEPEND kills.d
    DEPEND jobs.d
    DEPEND items.d
    DEPEND itemprop.d
    DEPEND itemname.d
    DEPEND item_use.d
    DEPEND invent.d
invent.cc:42:28: error: tiledef-icons.h: No such file or directory
invent.cc:43:27: error: tiledef-main.h: No such file or directory
invent.cc:44:27: error: tiledef-dngn.h: No such file or directory
    DEPEND initfile.d
    DEPEND hiscores.d
    DEPEND hints.d
    DEPEND godwrath.d
    DEPEND godprayer.d
    DEPEND godpassive.d
    DEPEND goditem.d
    DEPEND godconduct.d
    DEPEND godabil.d
godabil.cc:65:26: error: tiledef-main.h: No such file or directory
    DEPEND ghost.d
    DEPEND geom2d.d
    DEPEND fprop.d
    DEPEND format.d
    DEPEND food.d
    DEPEND fineff.d
    DEPEND files.d
files.cc:83:29: error: tiledef-player.h: No such file or directory
    DEPEND fight.d
    DEPEND feature.d
    DEPEND fearmonger.d
    DEPEND exercise.d
    DEPEND exclude.d
    DEPEND evoke.d
    DEPEND errors.d
    DEPEND effects.d
    DEPEND dungeon.d
dungeon.cc:72:27: error: tiledef-dngn.h: No such file or directory
    DEPEND dlua.d
    DEPEND directn.d
    DEPEND dgnevent.d
    DEPEND dgn-swamp.d
    DEPEND dgn-shoals.d
    DEPEND dgn-overview.d
    DEPEND dgn-layouts.d
    DEPEND dgn-labyrinth.d
    DEPEND dgn-height.d
    DEPEND dgl-message.d
    DEPEND describe.d
    DEPEND delay.d
    DEPEND decks.d
    DEPEND dbg-util.d
    DEPEND dbg-scan.d
    DEPEND dbg-maps.d
    DEPEND dbg-asrt.d
    DEPEND database.d
    DEPEND dactions.d
    DEPEND ctest.d
    DEPEND crash-u.d
    DEPEND coordit.d
    DEPEND coord.d
    DEPEND coord-circle.d
    DEPEND command.d
    DEPEND colour.d
    DEPEND cluautil.d
    DEPEND clua.d
    DEPEND cloud.d
cloud.cc:36:25: error: tiledef-gui.h: No such file or directory
cloud.cc:37:26: error: tiledef-main.h: No such file or directory
    DEPEND cio.d
    DEPEND chardump.d
    DEPEND cellular.d
    DEPEND branch.d
    DEPEND bitary.d
    DEPEND behold.d
    DEPEND beam.d
    DEPEND attitude-change.d
    DEPEND asg.d
    DEPEND artefact.d
    DEPEND arena.d
    DEPEND areas.d
    DEPEND actor.d
    DEPEND actor-los.d
    DEPEND act-iter.d
    DEPEND acquire.d
    DEPEND abyss.d
abyss.cc:48:27: error: tiledef-dngn.h: No such file or directory
    DEPEND abl-show.d
make -C rltiles all ARCH=mingw32
make[1]: Entering directory `/C/Documents and Settings/danielg/My Documents/C++/
DungeonCrawl/crawl/crawl-ref/source/rltiles'
    CXX tool/tile_colour.o
    CXX tool/tile.o
    CXX tool/tile_page.o
    CXX tool/tile_list_processor.o
    CXX tool/main.o
    LINK tool/tilegen.elf
    GEN main
Error: couldn't open 'tiledef-main.h' for write.
Error: failed to write data for 'dc-main.txt'
    GEN dngn
Error: couldn't open 'tiledef-dngn.h' for write.
Error: failed to write data for 'dc-dngn.txt'
    GEN floor
Error: couldn't open 'tiledef-floor.h' for write.
Error: failed to write data for 'dc-floor.txt'
    GEN wall
Error: couldn't open 'tiledef-wall.h' for write.
Error: failed to write data for 'dc-wall.txt'
    GEN feat
Error: couldn't open 'tiledef-feat.h' for write.
Error: failed to write data for 'dc-feat.txt'
    GEN player
Error: couldn't open 'tiledef-player.h' for write.
Error: failed to write data for 'dc-player.txt'
    GEN gui
Error: couldn't open 'tiledef-gui.h' for write.
Error: failed to write data for 'dc-gui.txt'
    GEN icons
Error: couldn't open 'tiledef-icons.h' for write.
Error: failed to write data for 'dc-icons.txt'
make[1]: Leaving directory `/C/Documents and Settings/danielg/My Documents/C++/D
ungeonCrawl/crawl/crawl-ref/source/rltiles'
    COPY dat/tiles/floor.png
    COPY dat/tiles/wall.png
    COPY dat/tiles/feat.png
    COPY dat/tiles/main.png
    COPY dat/tiles/player.png
    COPY dat/tiles/gui.png
    COPY dat/tiles/icons.png
    CXX abl-show.o
    CXX abyss.o
abyss.cc:48:27: error: tiledef-dngn.h: No such file or directory
abyss.cc: In function 'void _corrupt_square(const corrupt_env&, const coord_def&
)':
abyss.cc:1734: error: 'TILE_WALL_UNDEAD' was not declared in this scope
abyss.cc:1735: error: 'tile_dngn_count' was not declared in this scope
abyss.cc:1739: error: 'TILE_FLOOR_NERVES' was not declared in this scope
abyss.cc:1740: error: 'tile_dngn_count' was not declared in this scope
make: *** [abyss.o] Error 1

DANIELG@GPXCHD420-02 /C/Documents and Settings/danielg/My Documents/C++/DungeonC
rawl/crawl/crawl-ref/source (master)
$


What is responsible for auto generating those header files ? That might help me troubleshooting the problem.

Thanks again for your patience and help !

Temple Termagant

Posts: 10

Joined: Saturday, 23rd July 2011, 11:31

Post Thursday, 4th August 2011, 09:25

Re: Help with compiling

Well... This is what happens when I post while exhausted... I overlooked the actual problem. For whatever reason, msys isn't being allowed to actually create those files when it tries during compilation. What version of windows are you on? I'm guessing Vista?

Temple Termagant

Posts: 11

Joined: Monday, 1st August 2011, 16:00

Post Thursday, 4th August 2011, 09:50

Re: Help with compiling

Hmmm that's interesting. I'm on Windows XP Pro. BUT, because there's a sad BUT... I don't have admin rights. And I guess this might then cause the trouble... :( But I'm sure there must be a way around. Cause creating files shouldn't be a problem unless it's in a "protected" folder, like system32...

Temple Termagant

Posts: 11

Joined: Monday, 1st August 2011, 16:00

Post Thursday, 4th August 2011, 16:18

Re: Help with compiling

Any idea which program is responsible of auto-generating these files ?

Dungeon Master

Posts: 125

Joined: Sunday, 8th May 2011, 21:54

Post Thursday, 4th August 2011, 16:55

Re: Help with compiling

That'd be rltiles/tool/tilegen.elf. It's called for each of the dc-*.txt files in the rltiles folder.
It's interesting that the tool seems to manage to write the png files (the floor.png, wall.png etc. exist in rltiles/, right?), but then fails for the headers.

Temple Termagant

Posts: 11

Joined: Monday, 1st August 2011, 16:00

Post Friday, 5th August 2011, 06:25

Re: Help with compiling

Yes that's right, the .png files are there. I had a look at makefile in rltiles/ and saw when tilegen.elf got called. I'm really a noob with makefiles and was wondering if someone could tell me how to let tilegen.elf print out as much info as possible in order to understand what is wrong. I guess it must be related with this part :
  Code:
ifneq ($(findstring $(MAKEFLAGS),s),s)
ifndef V
        QUIET_CXX      = @echo '   ' CXX $@;
        QUIET_GEN      = @echo '   ' GEN $(lastword $(subst -, ,$*));
        QUIET_LINK     = @echo '   ' LINK $@;
        export V
endif
endif

BASE_OBJECTS := tile_colour.o tile.o tile_page.o tile_list_processor.o main.o
OBJECTS := $(BASE_OBJECTS:%=$(TOOLDIR)/%)

all: $(TILEGEN) $(HEADERS) $(SOURCE) $(IMAGES) $(JAVASCRIPT)

%.png tiledef-%.h tiledef-%.cc tileinfo-%.js: dc-%.txt | $(TILEGEN)
   $(QUIET_GEN)$(TILEGEN) $<

These QUIET variables could probably give me what I need.

Thanks again for everybody's help ! :)

Temple Termagant

Posts: 11

Joined: Monday, 1st August 2011, 16:00

Post Friday, 5th August 2011, 06:52

Re: Help with compiling

UPDATE : I tried make TILES=Y V=Y for more verbose. I could see indeed that tilegen.elf dc-main.txt is the first command to create problems. So it seems tilegen.elf can't create a new file :
  Code:
$ tool/tilegen.elf dc-main.txt
Error: couldn't open 'tiledef-main.h' for write.
Error: failed to write data for 'dc-main.txt'

Now looking up some UNIX commands, I did a ls -l on the source/ dir.
  Code:
drwxr-xr-x   11 DANIELG  Administ        0 Aug  2 20:57 rltiles/

So it seems I have rights to write in this directory, unless tilegen.elf is considered to be from a group ??
And inside rltiles/
  Code:
-rw-r--r--    1 DANIELG  Administ     3270 Aug  2 20:36 Makefile
drwxr-xr-x   13 DANIELG  Administ        0 Aug  2 20:36 UNUSED/
-rw-r--r--    1 DANIELG  Administ      578 Aug  2 20:36 dc-commands.txt
-rw-r--r--    1 DANIELG  Administ     9522 Aug  2 20:36 dc-corpse.txt
-rw-r--r--    1 DANIELG  Administ      544 Aug  2 20:36 dc-demon.txt
drwxr-xr-x   12 DANIELG  Administ        0 Aug  2 20:36 dc-dngn/
-rw-r--r--    1 DANIELG  Administ       76 Aug  2 20:36 dc-dngn.txt
-rw-r--r--    1 DANIELG  Administ    12026 Aug  2 20:36 dc-feat.txt
-rw-r--r--    1 DANIELG  Administ     9705 Aug  2 20:36 dc-floor.txt
-rw-r--r--    1 DANIELG  Administ     1934 Aug  2 20:36 dc-gui.txt
-rw-r--r--    1 DANIELG  Administ     2048 Aug  2 20:36 dc-icons.txt
-rw-r--r--    1 DANIELG  Administ    21344 Aug  2 20:36 dc-item.txt
-rw-r--r--    1 DANIELG  Administ      237 Aug  2 20:36 dc-main.txt
drwxr-xr-x    6 DANIELG  Administ        0 Aug  2 20:36 dc-misc/
-rw-r--r--    1 DANIELG  Administ     2715 Aug  2 20:36 dc-misc.txt
drwxr-xr-x   20 DANIELG  Administ        0 Aug  2 20:36 dc-mon/
-rw-r--r--    1 DANIELG  Administ    21794 Aug  2 20:36 dc-mon.txt
-rw-r--r--    1 DANIELG  Administ    20653 Aug  2 20:36 dc-player.txt
-rw-r--r--    1 DANIELG  Administ     1890 Aug  2 20:36 dc-skills.txt
-rw-r--r--    1 DANIELG  Administ     4825 Aug  2 20:36 dc-spells.txt
-rw-r--r--    1 DANIELG  Administ     5821 Aug  2 20:36 dc-tentacles.txt
-rw-r--r--    1 DANIELG  Administ     2992 Aug  4 10:15 dc-unrand.txt
-rw-r--r--    1 DANIELG  Administ    14222 Aug  2 20:36 dc-wall.txt
-rw-r--r--    1 DANIELG  Administ     2226 Aug  2 20:36 dc-zombie.txt
-rw-r--r--    1 DANIELG  Administ        0 Aug  5 08:31 dngn.png
drwxr-xr-x    2 DANIELG  Administ        0 Aug  2 20:36 effect/
-rw-r--r--    1 DANIELG  Administ   216620 Aug  5 08:31 feat.png
-rw-r--r--    1 DANIELG  Administ   393405 Aug  5 08:31 floor.png
drwxr-xr-x    6 DANIELG  Administ        0 Aug  2 20:37 gui/
-rw-r--r--    1 DANIELG  Administ   122919 Aug  5 08:31 gui.png
-rw-r--r--    1 DANIELG  Administ     9781 Aug  5 08:31 icons.png
drwxr-xr-x   14 DANIELG  Administ        0 Aug  2 20:37 item/
-rw-r--r--    1 DANIELG  Administ      431 Aug  2 20:37 license.txt
-rw-r--r--    1 DANIELG  Administ   438111 Aug  5 08:40 main.png
drwxr-xr-x   20 DANIELG  Administ        0 Aug  2 20:37 player/
-rw-r--r--    1 DANIELG  Administ   693060 Aug  5 08:31 player.png
-rw-r--r--    1 DANIELG  Administ    11033 Aug  4 10:15 tiledef-unrand.cc
-rw-r--r--    1 DANIELG  Administ      141 Aug  2 20:37 tiledef-unrand.h
-rw-r--r--    1 DANIELG  Administ     2376 Aug  2 20:37 tiledef_defines.h
-rw-r--r--    1 DANIELG  Administ      923 Aug  2 20:37 tilegen-Info.plist
drwxr-xr-x    2 DANIELG  Administ        0 Aug  4 10:20 tool/
-rw-r--r--    1 DANIELG  Administ   365918 Aug  5 08:31 wall.png

Also I had a look under Windows, and (of course) I have all the rights to write in the My Documents folder.
If someone has some idea, I would appreciate ! Some more tests to do ?

Blades Runner

Posts: 554

Joined: Tuesday, 25th January 2011, 14:24

Post Friday, 5th August 2011, 12:28

Re: Help with compiling

If you're trying to compile this in your "My Documents" folder, perhaps you should try moving it to a folder with a normal path (e.g. C:\CRAWLSOURCE or something). There are a lot of hidden flags on My Documents and it doesn't really exist where it looks like it does. One of those redirections may be confusing the compiler somewhere.

Temple Termagant

Posts: 11

Joined: Monday, 1st August 2011, 16:00

Post Friday, 5th August 2011, 13:18

Re: Help with compiling

I tried that, thinking it might indeed solve the problem. But no... :(

I tried to use the "cat" command in MSYS, and I can create a file. So I'm really wondering what the problem can be. Not sure anymore it's a privilege problem. I keep on investigating. Thanks everyone for your ideas !

Temple Termagant

Posts: 10

Joined: Saturday, 23rd July 2011, 11:31

Post Friday, 5th August 2011, 13:25

Re: Help with compiling

A long shot here... But, perhaps try creating dummy files? Save an empty file as "tiledef-main.h" and see what happens?

Temple Termagant

Posts: 11

Joined: Monday, 1st August 2011, 16:00

Post Saturday, 6th August 2011, 18:40

Re: Help with compiling

I tried it before you suggested it. ;) Unfortunately it didn't work.

Now I could see that cmd.exe has restricted privilege on my laptop : only read/execute privileges. So I believe that's the reason for this problem... For some reasons I can create file through msys but when the .elf file executes, it's (I guess) using at some stage the cmd.exe process and it cannot create files...

I guess I'm only left with the option to create a partition with Linux... :(

Temple Termagant

Posts: 10

Joined: Saturday, 23rd July 2011, 11:31

Post Saturday, 6th August 2011, 23:42

Re: Help with compiling

Wait... You can add a Linux partition, yet have no admin privileges on the system..?

I'm a bit confused...

Temple Termagant

Posts: 11

Joined: Monday, 1st August 2011, 16:00

Post Sunday, 7th August 2011, 18:37

Re: Help with compiling

No you're right, I can't do that. But I could do a bootable Ubuntu on a USB stick... I tried it once and it worked. :D I'm pretty busy for the moment for my work, but I will certainly keep you posted, to let you know how this works.

Side question : I use CodeBlocks to develop. Do you add "manually" all the dependencies there to compile the new code and see if it works ? Because I assume you don't write code and then run the makefile to see if it's working well... Sorry if this is really a noob question.

Temple Termagant

Posts: 10

Joined: Saturday, 23rd July 2011, 11:31

Post Sunday, 7th August 2011, 21:24

Re: Help with compiling

I'm not familiar with CodeBlocks myself, but with the IDEs I've used I've had to configure them to support the project I'm compiling(adding in libraries and such)... You might have better luck pointing CodeBlocks build command to just run the makefile through MinGW. But, like I said, not familiar with it.

Return to Coding

Who is online

Users browsing this forum: No registered users and 4 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.