| I have almost but not quite completed the 5.08 beta Windows installers. Some surprises:
-- CsoundAC built with Microsoft Visual C++ 2008 does not work. The problem manifests itself as double variables declared on the stack in static class methods being initialized as denorms, and remaining as denorms even though assigned to, which later on causes a fatal crash.
This may be related to compiler warning C4275 (an exported class was derived from a class that was not exported), which is said to potentially corrupt data in such classes. The CsoundAC classes are (or were) exported, but some of them either are derived from std::vector which is not exported, or contain as members static std:: classes that are not exported.
I changed the CsoundAC classes to not be exported, as recommended by Microsoft, but the problem persists. Either I also need to change the csnd module classes to not be exported (which means building them only in a static library that _csnd.pyd links with), or I need to make some more extensive changes in the csnd and CsoundAC class designs, or warning C4275 is not the cause of the problem.
-- Probably for similar reasons, the CsoundVST.dll produced by MSVC 2008 also does not work.
-- With the MinGW build, the above problems do not occur, but on the other hand some of the opcode libraries are failing to load in Csound (date.dll and pvs_ops.dll).
As a result of the first two problems, I am reverting to MinGW 4.2.1 for the installers. As soon as the last problem mentioned above has been debugged, I will be able to upload the installers.
Any insights or suggestions are welcome.
In spite of these problems, people who simply want the Csound and the Csound API in a easy-to-debug-and-link Microsoft build should now be able to build from sources in CVS.
Regards,
Mike
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |