[Top][All Lists]

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

Re: [Mingw-cross-env-list] mxe shared library build

From: Rashad M
Subject: Re: [Mingw-cross-env-list] mxe shared library build
Date: Sun, 1 Jun 2014 22:27:56 +0200

Hi again,

Not working for me:

done]     winpthreads
[no-op]    pthreads
[done]     pthreads
[build]    hdf5

Failed to build package hdf5!
make[2]: Leaving directory `/home/rashad/packages/mxe/tmp-hdf5/hdf5-1.8.11/src'
(echo 'mkdir i686-pc-mingw32.shared'; echo 'H5detect.exe > i686-pc-mingw32.shared\H5Tinit.c'; echo 'H5make_libsettings.exe > i686-pc-mingw32.shared\H5lib_settings.c';) > '/home/rashad/packages/mxe/usr/i686-pc-mingw32.shared/bin/hdf5-create-settings.bat'
cp '/home/rashad/packages/mxe/tmp-hdf5/hdf5-1.8.11/mxe-generated-sources/i686-pc-mingw32.shared/'*.c '/home/rashad/packages/mxe/tmp-hdf5/hdf5-1.8.11/src/'
cp: cannot stat ‘/home/rashad/packages/mxe/tmp-hdf5/hdf5-1.8.11/mxe-generated-sources/i686-pc-mingw32.shared/*.c’: No such file or directory
make[1]: *** [build-only-hdf5_i686-pc-mingw32.shared] Error 1
make[1]: Leaving directory `/home/rashad/packages/mxe'
real 0m27.619s
user 0m18.688s
sys 0m3.489s
[log]      /home/rashad/packages/mxe/log/hdf5

make: *** [/home/rashad/packages/mxe/usr/i686-pc-mingw32.shared/installed/hdf5] Error 1

On Sun, Jun 1, 2014 at 10:18 PM, Rashad M <address@hidden> wrote:
Thanks Timothy for your swift response. I will check this soon but anyway a search and replace is not needed which i am very reluctant.

On Sun, Jun 1, 2014 at 10:11 PM, Timothy Gu <address@hidden> wrote:

Hi Rashad,

Many MXE packages in master branch already support shared build like this:

make MXE_TARGETS=i686-pc-mingw32.shared

However, gdal is not one of the supported shared package, so currently you cannot build gdal in shared mode.


Timothy Gu

Sent from my Nexus 7.

On Jun 1, 2014 1:04 PM, "Rashad M" <address@hidden> wrote:
Hi all,

How do I enable shared library build for packages from MXE? I was trying to build package gdal. When I looked mxe/src/gdal.mk, I found that shared libs are disabled and inside mxe/usr/i686-pc-mingw32/lib I can find a lot of static libs. Is there way to enable shared libraries for every packages other than modifying the .mk files?



reply via email to

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