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] MXE and SDL2


From: Dave Lawrence
Subject: Re: [Mingw-cross-env-list] MXE and SDL2
Date: Wed, 20 Aug 2014 17:14:16 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Hi Tim,

All the following with development branch (for SDL2), so maybe I
should expect breakage? Is there a simpler way I could just but SDL2
into stable?

======== sdl2 doesn't build with "make":

# make sdl2 --jobs=4 JOBS=4 --keep-going
[target]   i686-pc-mingw32.static with 1 goal from command line
[no-build] sdl2

======== sdl2 does build with w64 shared:

# make sdl2 --jobs=4 JOBS=4 --keep-going  MXE_TARGETS='i686-w64-mingw32.shared'
[target]   i686-w64-mingw32.shared with 1 goal from command line
[build]    pkgconf
[build]    gcc-gmp
[build]    mingw-w64
[done]     pkgconf
[build]    binutils
[done]     mingw-w64
[done]     gcc-gmp
[build]    gcc-isl
[build]    gcc-mpfr
[done]     gcc-mpfr
[build]    gcc-mpc
[done]     gcc-isl
[build]    gcc-cloog
[done]     gcc-mpc
[done]     binutils
[done]     gcc-cloog
[build]    gcc
[done]     gcc
[build]    libiconv
[done]     libiconv
[build]    sdl2
[done]     sdl2

======== sdl1 also OK with w64 shared:

# make sdl --jobs=4 JOBS=4 --keep-going  MXE_TARGETS='i686-w64-mingw32.shared'
[target]   i686-w64-mingw32.shared with 1 goal from command line
[build]    sdl
[done]     sdl

======== but libsndfile fails with w64 shared:

# make libsndfile --jobs=4 JOBS=4 --keep-going  
MXE_TARGETS='i686-w64-mingw32.shared'
[target]   i686-w64-mingw32.shared with 1 goal from command line
[build]    ogg
[build]    sqlite
[done]     ogg
[build]    flac
[build]    vorbis
[done]     vorbis
[done]     sqlite
[done]     flac
[build]    libsndfile

Failed to build package libsndfile!
------------------------------------------------------------
make[3]: Leaving directory 
`/root/mxe/tmp-libsndfile-i686-w64-mingw32.shared/libsndfile-1.0.25'
make[2]: *** [install-recursive] Error 1
make[2]: Target `install' not remade because of errors.
make[2]: Leaving directory 
`/root/mxe/tmp-libsndfile-i686-w64-mingw32.shared/libsndfile-1.0.25'
make[1]: *** [build-only-libsndfile_i686-w64-mingw32.shared] Error 2
make[1]: Leaving directory `/root/mxe'

======== sdl2 ok with w64 static

# time make sdl2 --jobs=4 JOBS=4 --keep-going  
MXE_TARGETS='i686-w64-mingw32.static'
[target]   i686-w64-mingw32.static with 1 goal from command line
[build]    pkgconf
[build]    gcc-gmp
[build]    mingw-w64
[done]     pkgconf
[build]    binutils
[done]     mingw-w64
[done]     gcc-gmp
[build]    gcc-isl
[build]    gcc-mpfr
[done]     gcc-mpfr
[build]    gcc-mpc
[done]     gcc-isl
[build]    gcc-cloog
[done]     binutils
[done]     gcc-mpc
[done]     gcc-cloog
[build]    gcc
[done]     gcc
[build]    libiconv
[done]     libiconv
[build]    sdl2
[done]     sdl2

real    12m21.837s
user    33m3.060s
sys     2m31.909s

======== sdl ok with w64 static

# time make sdl --jobs=4 JOBS=4 --keep-going  
MXE_TARGETS='i686-w64-mingw32.static'
[target]   i686-w64-mingw32.static with 1 goal from command line
[build]    sdl
[done]     sdl

======== libsndfile failes with w64 static

# time make libsndfile --jobs=4 JOBS=4 --keep-going  
MXE_TARGETS='i686-w64-mingw32.static'
[target]   i686-w64-mingw32.static with 1 goal from command line
[build]    ogg
[build]    sqlite
[done]     ogg
[build]    flac
[build]    vorbis
[done]     vorbis
[done]     sqlite
[done]     flac
[build]    libsndfile

Failed to build package libsndfile!
------------------------------------------------------------
make[3]: Leaving directory 
`/root/mxe/tmp-libsndfile-i686-w64-mingw32.static/libsndfile-1.0.25'
make[2]: *** [install-recursive] Error 1
make[2]: Target `install' not remade because of errors.
make[2]: Leaving directory 
`/root/mxe/tmp-libsndfile-i686-w64-mingw32.static/libsndfile-1.0.25'
make[1]: *** [build-only-libsndfile_i686-w64-mingw32.static] Error 2
make[1]: Leaving directory `/root/mxe'

============================================================


On Wed, Aug 20, 2014 at 08:04:09AM -0700, Timothy Gu wrote:
> If you followed
> htmlpreview.github.io/?https://github.com/mxe/mxe/blob/master/index.html#tutorial
> you should be fine. MXE is designed for people who don't want errors.
> 
> Can you show the log for your first failing package (libsndfile)?
> 
> On Wed, Aug 20, 2014 at 3:25 AM, Dave Lawrence <address@hidden> wrote:
> > Hi,
> >
> > I've been trying to get SDL2 compiled for MXE but not having much
> > luck. I'm using the 'master' (development) but keeping running into
> > various build problems (libsndfile... sdl_image... to name a couple)
> > with vanilla 'make' or with MXE_TARGETS='i686-w64-mingw32.static' or
> > '.shared'
> >
> > Hoping someone can offer some basic guidance on how I should be
> > building mxe?
> >
> > Thanks,
> >
> >

-- 
.  Dave Lawrence  .  Tel: +44 1628 491960  .  Net:  address@hidden  .
|  Alphawave Ltd  |  Fax: +44 1628 491961  |  Web: www.alphawave.net  |

Attachment: log-libsndfile
Description: Text document


reply via email to

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