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

Bug#594380: New mingw-w64 package



On 01/05/11 21:08, Stephen Kitt wrote:
Hi Eugen,

I see you were asking about gcc-mingw32 and mingw-w64 recently. The
new mingw-w64 package suite (mingw-w64, gcc-mingw-w64 and
binutils-mingw-w64) is now available in unstable.

I would love to know if the new packages meet your requirements.

Thank you very much. I noticed it a few days ago. I was also pleased to see the package description updated to reflect both 32 and 64 bits.

Compiling ptlib (in 32 bit mode) leads to one error (compared to classical mingw32): it does not find AMGetErrorTextA function. I looked a bit on Internet without finding anything useful. In fact, this function is found in errors.h, but mingw-w64 does not provide this header.

Again compared to mingw32, some headers are not found anymore, however ptlib compiled when I commented them out, I think they were the following: evcode.h, edevdefs.h, audevcod.h, dvdevcod.h.

Two additional questions, fixed by my commit http://opalvoip.svn.sourceforge.net/viewvc/opalvoip/ptlib/trunk/src/ptlib/msos/directshow.cxx?r1=25527&r2=25637: 1. that file includes Ks.h and KsMedia.h (upstream uses Windows to compile it), while both mingw32 and mingw-w64 provide ks.h and ksmedia.h (lowercase) instead, which work by the way. Why are they in lowercase?

2. Also, QueryInterface method exists with only one parameter too (instead of the usual two), see http://support.microsoft.com/kb/194862 for ex. But mingw-w64 does not accept it, so I was forced to make ifdef to add the same method but with two parameters.

There might be other errors, I will do a full compile and come back to you.

Best regards,
--
Eugen



Reply to: