Closed miurahr closed 5 years ago
This is a defect of mingw, at least in that version, that doesn't fully implement C++11 (the threading part). I believe there's a workaround by using the i686-w64-mingw32-gcc-5.3-posix variant (or the other way round i686-w64-mingw32-gcc-5.3-win32) I believe @robe hit that issue with a native mingw build. Perhaps she remembers the solution ?
Thank you for information.
Because mingw-w64 5.3.1 is a standard version on Ubuntu 16.04 LTS, Iit is better to add it in documentation, but who use mingw would be developer so ticket here is enough. I'd like to close here as known issue.
It is resolved by specifing
$ CXX="x86_64-w64-mingw32-g++-posix" CC="x86_64-w64-mingw32-gcc-posix" ./configure
Expected behavior and actual behavior.
Travis-CI mingw-w64 test (on trusty) is passed, but when I run a mingw-w64 cross compilation on Mint Linux 18.3 64bit (equivalent with Ubuntu Linux 16.04 LTS Xenial) using mingw-w64 5.3.1, it fails with error as follows.
Steps to reproduce the problem.
Add PPA
Install following standard and custom packages
run configure
got
Operating system
Mint Linux 18.3 64bit (equivalent with Ubuntu 16.04 64 bit)
GDAL version and provenance
master(449b5ce7eca)