mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] SDL2 refuses to build


From: Tony Theodore
Subject: Re: [Mingw-cross-env-list] SDL2 refuses to build
Date: Thu, 1 May 2014 03:30:25 +1000


On 1 May 2014, at 00:49, Old Man <address@hidden> wrote:

Although sdl2 build successfully, the SDL2_net/ttf/mixer/image libraries complain about missing "winresrc.h" files. The problem is almost identical to a prior one I had building SDL_net/ttf/mixer/image several months ago (branch stable, 04fe9ffeef4c20fc2336bdce93de8cf75f8b0003).

I fixed the problem then by manually using windres to compile version.rc, but that doesn't work anymore (throws something about version.o being unportable, then fails with memory addressing). Normally, I would sit in my own corner and complain about my idiocy for not having taken the steps to fix it properly then, but SDL_mixer compiles successfully now, with no alterations required (on the current master branch). I am still using the exact same install of slackware as well.

Here are the steps to reproduce the successful build of SDL_mixer, and the failing build of SDL2_mixer:
git clone https://github.com/mxe/mxe.git && cd mxe
git checkout cdcd611b1daf538bce2ba02663a2c7c61f67b4b0
<Copy my settings.mk into the mxe directory>
make sdl_mixer sdl2_mixer

To sum it up: I'm having a problem with SDL2_mixer that I used to have with SDL_mixer. In the past several months, SDL_mixer has been made to work properly, but I can't identify what was changed in order to patch SDL2_Mixer appropiately.
Attached are the logfiles (good and bad) and my settings.mk

Looks like some conflicts with native packages:

    configure:10874: checking for windres
    configure:10890: found /usr/bin/windres

and 

    checking for smpeg2-config... /usr/local/bin/smpeg2-config
    -I/usr/local/include -I/usr/local/include/smpeg2 

There is a typo in sdl2_mixer.mk, it’s missing a line continuation (“\”) on line 39. Could you try adding that and specifying “SMPEG_CONFIG='$(PREFIX)/$(TARGET)/bin/smpeg2-config'” as a configure option? (Unfortunately, I can’t test this myself at the moment)

Cheers,

Tony



reply via email to

[Prev in Thread] Current Thread [Next in Thread]