You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a MinGW build to the GitLab CI pipeline. Fedora's MinGW can already build exiv2 as a static library, dynamic linking is still broken though. Todo @D4N
Remove the templating of BasicError and drop WError, instead convert the wchar_t string to a char_t string in the few cases where this class is actually used. Then we can drop the awkward function BasicError<charT>::setMsg() which is exported from a template function. This hopefully fixes dynamic linking on MinGW. See: [WIP] Fix the Error type #685.
Run the test suite for MinGW with wine on Linux. Notes:
Wine requires X to be running, so we'll probably have to use something like Xvfb.
set export WINEDEBUG=-all otherwise wine logs to stderr
The MinGW dlls are by default not known by wine, they have to be added to WINEPATH. On Fedora this results in: export WINEPATH=/usr/x86_64-w64-mingw32/sys-root/mingw/bin/
Wine seems to change the line ending, at least the python test complain about whitespace changes at the end of all lines. This can be probably fixed by a simple search & replace when running under wine.
The text was updated successfully, but these errors were encountered:
Required steps for MinGW cross compilation support:
BasicError
and dropWError
, instead convert thewchar_t
string to achar_t
string in the few cases where this class is actually used. Then we can drop the awkward functionBasicError<charT>::setMsg()
which is exported from a template function. This hopefully fixes dynamic linking on MinGW. See: [WIP] Fix the Error type #685.export WINEDEBUG=-all
otherwise wine logs to stderrWINEPATH
. On Fedora this results in:export WINEPATH=/usr/x86_64-w64-mingw32/sys-root/mingw/bin/
The text was updated successfully, but these errors were encountered: