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

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

[Mingw-cross-env-list] libmatio static build


From: Michael Schellenberger Costa
Subject: [Mingw-cross-env-list] libmatio static build
Date: Wed, 08 Apr 2015 09:52:57 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

I am trying to cross compile some code including the matio MATLAB
interface with mat file version 7.3. Sadly i am unable to make it compil
e.

I tried the simplest possible testcase with the example code from the
matio user_guide.

It compiles fine with qmake/make under linux/gcc. However if i try to
cross compile I get a bunch of errors of the sort:

/opt/mxe/tmp-matio-x86_64-w64-mingw32.static/matio-1.5.2/src/mat.c:326:
undefined
reference to `H5Fclose'

I attached the full log.

I have tried to recompile HDF5 libraries with the
"--enable-static-exec" flag and setting "--with-hdf5='$(PREFIX)'" ,
'--enable-mat73=yes" and "--enable-static" for libmatio. However, with
no success.

Any further recommendations?

Best wishes
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJVJN5ZAAoJECfkpCAi2eFKeZwIALAw1U8xY5gp5Goj/QOb/fMX
LgB3HlN4WtuK/HX6w1ZAI2JkkoYwwqCToUwUz9oSNXSZPFXEeSrwyYp5/TJkxXk8
CtTxW9FZ4Kz/IvgT8kgQsSrap9Dt3dqxLpJTJ1eApllLtb5FClElwCQVzY84MrGR
sTk5++ZiZ3jvmwNsdqr0CfDKKOrvRwJL3c2Iz6h2ecnKHnAnVWRJSvO/kpMvUEhG
bWYwP5ttmHibT3PsbkqxMrrpK2QGQSEUcLILGmzp/pyHEE1IHHHPcj5X9kQIosnH
rD1/9RPwR/g1kB3nlQ8PEodXjFhZBuk92qmsERq0Gn36T4HTSmU4VPD02edS2oM=
=nAwh
-----END PGP SIGNATURE-----

Attachment: log_MATIO
Description: Text document

Attachment: log_MATIO.sig
Description: PGP signature


reply via email to

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