|
From: | Old Man |
Subject: | Re: [Mingw-cross-env-list] SDL2 refuses to build |
Date: | Wed, 30 Apr 2014 13:40:24 -0600 |
On 1 May 2014, at 00:49, Old Man <address@hidden> wrote:make sdl_mixer sdl2_mixer<Copy my settings.mk into the mxe directory>git checkout cdcd611b1daf538bce2ba02663a2c7c61f67b4b0git clone https://github.com/mxe/mxe.git && cd mxeAlthough 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).Here are the steps to reproduce the successful build of SDL_mixer, and the failing build of SDL2_mixer:
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.
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.mkLooks like some conflicts with native packages:configure:10874: checking for windresconfigure:10890: found /usr/bin/windresandchecking for smpeg2-config... /usr/local/bin/smpeg2-config…-I/usr/local/include -I/usr/local/include/smpeg2There 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
[Prev in Thread] | Current Thread | [Next in Thread] |