[FFmpeg-devel] [RFC FIX] Build error with ffmpeg 3.1.3 (and current git) on cygwin

Michael Fritscher michael.fritscher at telematik-zentrum.de
Thu Sep 22 14:37:14 EEST 2016


Hi,

ok, I rephrase it: I have the issue that HAVE_SETDLLDIRECTORY is 
defined, but _WIN32 is not if compiling under cygwin (fresh install, no 
mingw).

SetDllDirectory() is called whenever HAVE_SETDLLDIRECTORY is defined, 
there is no check for _WIN32.

The configure script seems to test windows.h for SetDllDirectory without 
a test of running in a _WIN32 environment:
 > check_func_headers windows.h SetDllDirectory

So cygwin has the situation that the compiler (or the headers) doesn't 
set _WIN32, but have windows.h (c:\cygwin64\usr\include\w32api\windows.h).

Best regards,
Michael Fritscher

-- 
ZfT - Zentrum für Telematik e.V.
Michael Fritscher
Magdalene-Schoch-Straße 5
97074 Würzburg
Tel: +49 (931) 615 633 - 57
Fax: +49 (931) 615 633 - 11
Email: michael.fritscher at telematik-zentrum.de
Web: http://www.telematik-zentrum.de

Vorstand:
Prof. Dr. Klaus Schilling, Hans-Joachim Leistner
Sitz: Gerbrunn
USt.-ID Nr.: DE 257 244 580, Steuer-Nr.:  257/111/70203
Amtsgericht Würzburg, Vereinsregister-Nr.: VR 200 167
-------------- next part --------------
A non-text attachment was scrubbed...
Name: michael_fritscher.vcf
Type: text/x-vcard
Size: 340 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160922/1674c372/attachment.vcf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4423 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160922/1674c372/attachment.bin>


More information about the ffmpeg-devel mailing list