Build failures on stripped Windows (mingw)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Pete Mack
    Prophet
    • Apr 2007
    • 6883

    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
    Vanilla maintainer
    • Apr 2007
    • 9631

    #2
    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.
    One for the Dark Lord on his dark throne
    In the Land of Mordor where the Shadows lie.

    Comment

    Working...
    😀
    😂
    🥰
    😘
    🤢
    😎
    😞
    😡
    👍
    👎