[Cs-dev] MinGW / Qt SDK woes
Date | 2013-07-25 15:10 |
From | Michael Gogins |
Subject | [Cs-dev] MinGW / Qt SDK woes |
Attachments | None None |
The problems I've been having seem partly to be due to this bug in MinGW which is used by the prebuilt Qt SDK. This may also affect MinGW 4.8.0 from mingw-builds. Some MinGW libraries that applications link with export both InterlockedCompareExchange@12 and _InterlockedCompareExchange. The bug is described here:
By comparison, earlier versions of MinGW export only InterlockedCompareExchange@12. Obviously this is an extremely serious bug, as it makes it very difficult to package Qt based applications; they have to have their own copy of the MinGW libraries used to link Qt, and to come first in the PATH. It is very tricky to get the PATH correct, it does not seem to be enough to simply set the variable, you have to run the app from the same directory as the Qt DLLs and their copy of the MinGW DLLs. This is not suitable for regular users.
Until there is a prebuilt version of Qt where this is fixed, I will have to obtain a MinGW toolchain that does not have this problem, and then build everything (Qt libraries, Csound, all other C++ based Csound dependencies such as FLTK) with that toolchain. That is going to take some time but at least I understand the issues better.
Regards, Mike =========================== Michael GoginsIrreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com |
Date | 2013-07-25 16:03 |
From | Andres Cabrera |
Subject | Re: [Cs-dev] MinGW / Qt SDK woes |
Attachments | None None |
Ouch! What a tricky build... Thanks again for all this effort. Cheers, Andrés On Thu, Jul 25, 2013 at 7:10 AM, Michael Gogins <michael.gogins@gmail.com> wrote:
|