Temple Termagant
Posts: 11
Joined: Monday, 1st August 2011, 16:00
Help with compiling
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.