Angband Forums

Angband Forums (http://angband.oook.cz/forum/index.php)
-   Vanilla (http://angband.oook.cz/forum/forumdisplay.php?f=3)
-   -   Build failures on stripped Windows (mingw) (http://angband.oook.cz/forum/showthread.php?t=5989)

Pete Mack April 10, 2013 05:18

Build failures on stripped Windows (mingw)
 
Been a very long time, so I tried a mingw build from master.


I am seeing make-file errors for non-existing version directory and compile errors for missing png features.
What do I need to add (without installing Cygwin)?

Following the instructions in Compiling.txt:

$ sh autogen.sh
$ sh configure --enable-win
$ make

Entering directory src.
cat: ../version: No such file or directory
cat: ../version: No such file or directory
Entering directory monster.
Leaving directory monster.
Entering directory object.
Leaving directory object.
Entering directory player.
Leaving directory player.
cat: ../version: No such file or directory
cat: ../version: No such file or directory

win/readpng.c:22:17: fatal error: png.h: No such file or directory
compilation terminated.
win/scrnshot.c:20:17: fatal error: png.h: No such file or directory
compilation terminated.
Successfully generated dependencies.
cat: ../version: No such file or directory
Leaving directory player.
[snip additional examples]

Nick April 10, 2013 08:08

The simple way is not to use the buildsystem, but just
Code:

cd src
make -f Makefile.win MINGW=yes

I suspect if you want to use the buildsystem you need to install libpng.


All times are GMT +1. The time now is 11:20.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.