Csound Csound-dev Csound-tekno Search About

[Cs-dev] Csound 6 and MnGW 4.8.1

Date2013-08-02 17:50
FromMichael Gogins
Subject[Cs-dev] Csound 6 and MnGW 4.8.1
AttachmentsNone  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 Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com

Date2013-08-02 18:45
Fromandy fillebrown
SubjectRe: [Cs-dev] Csound 6 and MnGW 4.8.1
AttachmentsNone  None  
Maybe try using a manifest?


On Fri, Aug 2, 2013 at 12:50 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
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 Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



Date2013-08-02 19:11
FromMichael Gogins
SubjectRe: [Cs-dev] Csound 6 and MnGW 4.8.1
AttachmentsNone  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 Gogins
Irreducible 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:
Maybe try using a manifest?


On Fri, Aug 2, 2013 at 12:50 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
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 Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel