[Cs-dev] Csound 6 and MnGW 4.8.1
Date | 2013-08-02 17:50 |
From | Michael Gogins |
Subject | [Cs-dev] Csound 6 and MnGW 4.8.1 |
Attachments | None None |
I have run into another problem with Csound 6 on Windows built with MinGW 4.8.1. It seems that the libstdc++-6.dll that this compiler uses and that I install with Csound is not compatible with another libstdc++-6.dll that I found in my Windows SysWOW64 directory (evidently installed there by some other installer).
This incompatible DLL causes CsoundAC to crash (specifically, ofstream can't open). I proved this by compiling an all C++ piece of mine and then running it. The piece crashed with the SysWOW64 DLL and ran with the MinGW DLL
This might be OK if I can convince my piece or the CsoundAC binaries to always load the MinGW libstdc++-6.dll. Does anyone know how to do this? Running the piece in the Csound bin directory where the MinGW DLLs are does work, but this is awkward, and too much to ask for most users.
Removing the MinGW DLL from SysWOW64 caused my user profile to become corrupted and cost me 2 hours of work to restore it. =========================== Michael GoginsIrreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com |
Date | 2013-08-02 18:45 |
From | andy fillebrown |
Subject | Re: [Cs-dev] Csound 6 and MnGW 4.8.1 |
Attachments | None None |
Maybe try using a manifest? On Fri, Aug 2, 2013 at 12:50 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
|
Date | 2013-08-02 19:11 |
From | Michael Gogins |
Subject | Re: [Cs-dev] Csound 6 and MnGW 4.8.1 |
Attachments | None None |
Thanks for the suggestion. It seems that the Windows operating systems may silently load libraries from other than expected locations. This would explain several funny things I saw recently. I am investigating and may attempt a manifest file. Regards, Mike =========================== Michael GoginsIrreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Fri, Aug 2, 2013 at 1:45 PM, andy fillebrown <andy.fillebrown@gmail.com> wrote:
|