Csound Csound-dev Csound-tekno Search About

[Cs-dev] Csound 6 on WIndows

Date2013-08-22 02:50
FromMichael Gogins
Subject[Cs-dev] Csound 6 on WIndows
AttachmentsNone  None  
Csound 6 on Windows is in a sorry state. The CsoundPerformanceThread test fails on my PC. Compositions I wrote in C++ fail. CsoundQt fails.The Java examples fail. Of course everything builds, the regular Csound examples run, and the debugger is not telling me much.

I would like to hear if there are problems, or not, on other people's PCs with the current Csound 6 installer.

I have found an open source thing like valgrind for WIndows, Dr. Memory. I am using it but no help so far... it does report errors but I am not yet sure how to interpret them or whether they are serious.

I have found an open source static code analysis thing for Windows, CppCheck. I am using it but no help so far.

Regards,
Mike


===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com

Date2013-08-22 03:29
FromSteven Yi
SubjectRe: [Cs-dev] Csound 6 on WIndows
Hi Michael,

This is certainly a very concerning matter. I'm wondering if you had
the same issues before switching to mingwbuilds?  It seems like mingw
was strictly 32-bit, while mingwbuilds has some support for x86_64 as
well.  (I'm not sure if that's correct, but that was my first
impression.)

The only things I've tested on Windows were Blue related, so the
already known Java issue.

I'm going to try to setup mingwbuild tomorrow to see if I can get a
compilation going there.  With mingw, which has gcc 4.7.2, I'm unable
to do a build without disabling atomic builtins. Even then, I get some
errors about missing __printf__.  Anyways, hopefully can get setup
tomorrow.

steven

On Wed, Aug 21, 2013 at 9:50 PM, Michael Gogins
 wrote:
> Csound 6 on Windows is in a sorry state. The CsoundPerformanceThread test
> fails on my PC. Compositions I wrote in C++ fail. CsoundQt fails.The Java
> examples fail. Of course everything builds, the regular Csound examples run,
> and the debugger is not telling me much.
>
> I would like to hear if there are problems, or not, on other people's PCs
> with the current Csound 6 installer.
>
> I have found an open source thing like valgrind for WIndows, Dr. Memory. I
> am using it but no help so far... it does report errors but I am not yet
> sure how to interpret them or whether they are serious.
>
> I have found an open source static code analysis thing for Windows,
> CppCheck. I am using it but no help so far.
>
> Regards,
> Mike
>
>
> ===========================
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-08-22 04:13
FromMichael Gogins
SubjectRe: [Cs-dev] Csound 6 on WIndows
AttachmentsNone  None  

I looked at MinGW issue tracking for 4.8.1 and nothing jumped out.

I may need to pull earlier code and see if and when these problems crept in.

If that doesn't work, then back to 4.7.2 from MinGW.

On Aug 21, 2013 10:29 PM, "Steven Yi" <stevenyi@gmail.com> wrote:
Hi Michael,

This is certainly a very concerning matter. I'm wondering if you had
the same issues before switching to mingwbuilds?  It seems like mingw
was strictly 32-bit, while mingwbuilds has some support for x86_64 as
well.  (I'm not sure if that's correct, but that was my first
impression.)

The only things I've tested on Windows were Blue related, so the
already known Java issue.

I'm going to try to setup mingwbuild tomorrow to see if I can get a
compilation going there.  With mingw, which has gcc 4.7.2, I'm unable
to do a build without disabling atomic builtins. Even then, I get some
errors about missing __printf__.  Anyways, hopefully can get setup
tomorrow.

steven

On Wed, Aug 21, 2013 at 9:50 PM, Michael Gogins
<michael.gogins@gmail.com> wrote:
> Csound 6 on Windows is in a sorry state. The CsoundPerformanceThread test
> fails on my PC. Compositions I wrote in C++ fail. CsoundQt fails.The Java
> examples fail. Of course everything builds, the regular Csound examples run,
> and the debugger is not telling me much.
>
> I would like to hear if there are problems, or not, on other people's PCs
> with the current Csound 6 installer.
>
> I have found an open source thing like valgrind for WIndows, Dr. Memory. I
> am using it but no help so far... it does report errors but I am not yet
> sure how to interpret them or whether they are serious.
>
> I have found an open source static code analysis thing for Windows,
> CppCheck. I am using it but no help so far.
>
> Regards,
> Mike
>
>
> ===========================
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Date2013-08-22 07:28
FromOeyvind Brandtsegg
SubjectRe: [Cs-dev] Csound 6 on WIndows
I do have some problems with it that are hard to track down.
In very large orchestras (e.g. Hadron, ImproSculpt, and a new sound
installation that I'm working on) I get segfaults that I have problems
isolating. When I strip down the orchestra the segfault seems to
vanish. I *think* it might have to do with race conditions, but as I'm
not sure if problem lies in my Csound orchestra code or in Csound
itself, so I have been unable to report properly on this. The
orchestras do run fine with Csound5.
best
Oeyvind

2013/8/22 Michael Gogins :
> Csound 6 on Windows is in a sorry state. The CsoundPerformanceThread test
> fails on my PC. Compositions I wrote in C++ fail. CsoundQt fails.The Java
> examples fail. Of course everything builds, the regular Csound examples run,
> and the debugger is not telling me much.
>
> I would like to hear if there are problems, or not, on other people's PCs
> with the current Csound 6 installer.
>
> I have found an open source thing like valgrind for WIndows, Dr. Memory. I
> am using it but no help so far... it does report errors but I am not yet
> sure how to interpret them or whether they are serious.
>
> I have found an open source static code analysis thing for Windows,
> CppCheck. I am using it but no help so far.
>
> Regards,
> Mike
>
>
> ===========================
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-- 

Oeyvind Brandtsegg
Professor of Music Technology
NTNU
7491 Trondheim
Norway
Cell: +47 92 203 205

http://flyndresang.no/
http://www.partikkelaudio.com/
http://soundcloud.com/brandtsegg
http://soundcloud.com/t-emp

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-08-22 16:10
FromMichael Gogins
SubjectRe: [Cs-dev] Csound 6 on WIndows
AttachmentsNone  None  
Actually Steven, I think my idea was not so great. It might be better, if you already have 4.7.2 on Windows, to see if that will run before switching to 4.8.1. What do you think?

Best,
Mike


===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Thu, Aug 22, 2013 at 2:28 AM, Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no> wrote:
I do have some problems with it that are hard to track down.
In very large orchestras (e.g. Hadron, ImproSculpt, and a new sound
installation that I'm working on) I get segfaults that I have problems
isolating. When I strip down the orchestra the segfault seems to
vanish. I *think* it might have to do with race conditions, but as I'm
not sure if problem lies in my Csound orchestra code or in Csound
itself, so I have been unable to report properly on this. The
orchestras do run fine with Csound5.
best
Oeyvind

2013/8/22 Michael Gogins <michael.gogins@gmail.com>:
> Csound 6 on Windows is in a sorry state. The CsoundPerformanceThread test
> fails on my PC. Compositions I wrote in C++ fail. CsoundQt fails.The Java
> examples fail. Of course everything builds, the regular Csound examples run,
> and the debugger is not telling me much.
>
> I would like to hear if there are problems, or not, on other people's PCs
> with the current Csound 6 installer.
>
> I have found an open source thing like valgrind for WIndows, Dr. Memory. I
> am using it but no help so far... it does report errors but I am not yet
> sure how to interpret them or whether they are serious.
>
> I have found an open source static code analysis thing for Windows,
> CppCheck. I am using it but no help so far.
>
> Regards,
> Mike
>
>
> ===========================
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



--

Oeyvind Brandtsegg
Professor of Music Technology
NTNU
7491 Trondheim
Norway
Cell: +47 92 203 205

http://flyndresang.no/
http://www.partikkelaudio.com/
http://soundcloud.com/brandtsegg
http://soundcloud.com/t-emp

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2013-08-22 16:15
FromSteven Yi
SubjectRe: [Cs-dev] Csound 6 on WIndows
Hi Michael,

That sounds good.  I haven't begun work on mingwbuild yet so you
caught me just before I did anything.  I'll load up Win7 shortly and
see if I can get a complete build now. I'll relay anything here I
find.

Thanks!
steven

On Thu, Aug 22, 2013 at 11:10 AM, Michael Gogins
 wrote:
> Actually Steven, I think my idea was not so great. It might be better, if
> you already have 4.7.2 on Windows, to see if that will run before switching
> to 4.8.1. What do you think?
>
> Best,
> Mike
>
>
> ===========================
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
>
>
> On Thu, Aug 22, 2013 at 2:28 AM, Oeyvind Brandtsegg
>  wrote:
>>
>> I do have some problems with it that are hard to track down.
>> In very large orchestras (e.g. Hadron, ImproSculpt, and a new sound
>> installation that I'm working on) I get segfaults that I have problems
>> isolating. When I strip down the orchestra the segfault seems to
>> vanish. I *think* it might have to do with race conditions, but as I'm
>> not sure if problem lies in my Csound orchestra code or in Csound
>> itself, so I have been unable to report properly on this. The
>> orchestras do run fine with Csound5.
>> best
>> Oeyvind
>>
>> 2013/8/22 Michael Gogins :
>> > Csound 6 on Windows is in a sorry state. The CsoundPerformanceThread
>> > test
>> > fails on my PC. Compositions I wrote in C++ fail. CsoundQt fails.The
>> > Java
>> > examples fail. Of course everything builds, the regular Csound examples
>> > run,
>> > and the debugger is not telling me much.
>> >
>> > I would like to hear if there are problems, or not, on other people's
>> > PCs
>> > with the current Csound 6 installer.
>> >
>> > I have found an open source thing like valgrind for WIndows, Dr. Memory.
>> > I
>> > am using it but no help so far... it does report errors but I am not yet
>> > sure how to interpret them or whether they are serious.
>> >
>> > I have found an open source static code analysis thing for Windows,
>> > CppCheck. I am using it but no help so far.
>> >
>> > Regards,
>> > Mike
>> >
>> >
>> > ===========================
>> > Michael Gogins
>> > Irreducible Productions
>> > http://michaelgogins.tumblr.com
>> > Michael dot Gogins at gmail dot com
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > Introducing Performance Central, a new site from SourceForge and
>> > AppDynamics. Performance Central is your source for news, insights,
>> > analysis and resources for efficient Application Performance Management.
>> > Visit us today!
>> >
>> > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>> > _______________________________________________
>> > Csound-devel mailing list
>> > Csound-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >
>>
>>
>>
>> --
>>
>> Oeyvind Brandtsegg
>> Professor of Music Technology
>> NTNU
>> 7491 Trondheim
>> Norway
>> Cell: +47 92 203 205
>>
>> http://flyndresang.no/
>> http://www.partikkelaudio.com/
>> http://soundcloud.com/brandtsegg
>> http://soundcloud.com/t-emp
>>
>>
>> ------------------------------------------------------------------------------
>> Introducing Performance Central, a new site from SourceForge and
>> AppDynamics. Performance Central is your source for news, insights,
>> analysis and resources for efficient Application Performance Management.
>> Visit us today!
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-08-22 19:58
FromSteven Yi
SubjectRe: [Cs-dev] Csound 6 on WIndows
Update: I got Csound 6 to build on Windows using mingw gcc 4.7.2. I
had to build with -DUSE_ATOMIC_BUILTIN=0 and -DUSE_GETTEXT=0.
Unfortunately I'm still getting the same issue with Java:

$ java -cp ".;csnd6.jar" API6Test
Exception in thread "main" java.lang.UnsatisfiedLinkError: csnd6.csnd6JNI.swig_m
odule_init()V
        at csnd6.csnd6JNI.swig_module_init(Native Method)
        at csnd6.csnd6JNI.(csnd6JNI.java:1075)
        at csnd6.csnd6Constants.(csnd6Constants.java:12)
        at API6Test.main(API6Test.java:6)

I checked the generated cxx and java files on OSX and Windows and they
look the same.  With nm.exe I see symbols listed so I'm guessing it's
not an export issue, but my memory about all this might be faulty.

I see I have swig 2.0.10 on OSX and 2.0.4 on Windows.  I'll try
updating but as the source files look the same to me, I'm not sure
it'll do much. At least I'm starting to get somewhere here, I'll
report anything further.

On Thu, Aug 22, 2013 at 11:15 AM, Steven Yi  wrote:
> Hi Michael,
>
> That sounds good.  I haven't begun work on mingwbuild yet so you
> caught me just before I did anything.  I'll load up Win7 shortly and
> see if I can get a complete build now. I'll relay anything here I
> find.
>
> Thanks!
> steven
>
> On Thu, Aug 22, 2013 at 11:10 AM, Michael Gogins
>  wrote:
>> Actually Steven, I think my idea was not so great. It might be better, if
>> you already have 4.7.2 on Windows, to see if that will run before switching
>> to 4.8.1. What do you think?
>>
>> Best,
>> Mike
>>
>>
>> ===========================
>> Michael Gogins
>> Irreducible Productions
>> http://michaelgogins.tumblr.com
>> Michael dot Gogins at gmail dot com
>>
>>
>> On Thu, Aug 22, 2013 at 2:28 AM, Oeyvind Brandtsegg
>>  wrote:
>>>
>>> I do have some problems with it that are hard to track down.
>>> In very large orchestras (e.g. Hadron, ImproSculpt, and a new sound
>>> installation that I'm working on) I get segfaults that I have problems
>>> isolating. When I strip down the orchestra the segfault seems to
>>> vanish. I *think* it might have to do with race conditions, but as I'm
>>> not sure if problem lies in my Csound orchestra code or in Csound
>>> itself, so I have been unable to report properly on this. The
>>> orchestras do run fine with Csound5.
>>> best
>>> Oeyvind
>>>
>>> 2013/8/22 Michael Gogins :
>>> > Csound 6 on Windows is in a sorry state. The CsoundPerformanceThread
>>> > test
>>> > fails on my PC. Compositions I wrote in C++ fail. CsoundQt fails.The
>>> > Java
>>> > examples fail. Of course everything builds, the regular Csound examples
>>> > run,
>>> > and the debugger is not telling me much.
>>> >
>>> > I would like to hear if there are problems, or not, on other people's
>>> > PCs
>>> > with the current Csound 6 installer.
>>> >
>>> > I have found an open source thing like valgrind for WIndows, Dr. Memory.
>>> > I
>>> > am using it but no help so far... it does report errors but I am not yet
>>> > sure how to interpret them or whether they are serious.
>>> >
>>> > I have found an open source static code analysis thing for Windows,
>>> > CppCheck. I am using it but no help so far.
>>> >
>>> > Regards,
>>> > Mike
>>> >
>>> >
>>> > ===========================
>>> > Michael Gogins
>>> > Irreducible Productions
>>> > http://michaelgogins.tumblr.com
>>> > Michael dot Gogins at gmail dot com
>>> >
>>> >
>>> > ------------------------------------------------------------------------------
>>> > Introducing Performance Central, a new site from SourceForge and
>>> > AppDynamics. Performance Central is your source for news, insights,
>>> > analysis and resources for efficient Application Performance Management.
>>> > Visit us today!
>>> >
>>> > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>> > _______________________________________________
>>> > Csound-devel mailing list
>>> > Csound-devel@lists.sourceforge.net
>>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> >
>>>
>>>
>>>
>>> --
>>>
>>> Oeyvind Brandtsegg
>>> Professor of Music Technology
>>> NTNU
>>> 7491 Trondheim
>>> Norway
>>> Cell: +47 92 203 205
>>>
>>> http://flyndresang.no/
>>> http://www.partikkelaudio.com/
>>> http://soundcloud.com/brandtsegg
>>> http://soundcloud.com/t-emp
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Introducing Performance Central, a new site from SourceForge and
>>> AppDynamics. Performance Central is your source for news, insights,
>>> analysis and resources for efficient Application Performance Management.
>>> Visit us today!
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Introducing Performance Central, a new site from SourceForge and
>> AppDynamics. Performance Central is your source for news, insights,
>> analysis and resources for efficient Application Performance Management.
>> Visit us today!
>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-08-22 20:10
FromMichael Gogins
SubjectRe: [Cs-dev] Csound 6 on WIndows
AttachmentsNone  None  
Could you please run the tests/c/testPerfThread.exe unit test (or whatever it's called).

Also, it would be great if you could build the Qt 5.1 libraries with 4.7.2 and then build CsoundQt. The directions in my document should be good. You might have to edit qcs.pro a bit.

Your Java error is exactly what I saw. I did quite a bit of debugging and investigating with no results. I think we will have to do instruction level debugging of the load.


===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Thu, Aug 22, 2013 at 2:58 PM, Steven Yi <stevenyi@gmail.com> wrote:
Update: I got Csound 6 to build on Windows using mingw gcc 4.7.2. I
had to build with -DUSE_ATOMIC_BUILTIN=0 and -DUSE_GETTEXT=0.
Unfortunately I'm still getting the same issue with Java:

$ java -cp ".;csnd6.jar" API6Test
Exception in thread "main" java.lang.UnsatisfiedLinkError: csnd6.csnd6JNI.swig_m
odule_init()V
        at csnd6.csnd6JNI.swig_module_init(Native Method)
        at csnd6.csnd6JNI.<clinit>(csnd6JNI.java:1075)
        at csnd6.csnd6Constants.<clinit>(csnd6Constants.java:12)
        at API6Test.main(API6Test.java:6)

I checked the generated cxx and java files on OSX and Windows and they
look the same.  With nm.exe I see symbols listed so I'm guessing it's
not an export issue, but my memory about all this might be faulty.

I see I have swig 2.0.10 on OSX and 2.0.4 on Windows.  I'll try
updating but as the source files look the same to me, I'm not sure
it'll do much. At least I'm starting to get somewhere here, I'll
report anything further.

On Thu, Aug 22, 2013 at 11:15 AM, Steven Yi <stevenyi@gmail.com> wrote:
> Hi Michael,
>
> That sounds good.  I haven't begun work on mingwbuild yet so you
> caught me just before I did anything.  I'll load up Win7 shortly and
> see if I can get a complete build now. I'll relay anything here I
> find.
>
> Thanks!
> steven
>
> On Thu, Aug 22, 2013 at 11:10 AM, Michael Gogins
> <michael.gogins@gmail.com> wrote:
>> Actually Steven, I think my idea was not so great. It might be better, if
>> you already have 4.7.2 on Windows, to see if that will run before switching
>> to 4.8.1. What do you think?
>>
>> Best,
>> Mike
>>
>>
>> ===========================
>> Michael Gogins
>> Irreducible Productions
>> http://michaelgogins.tumblr.com
>> Michael dot Gogins at gmail dot com
>>
>>
>> On Thu, Aug 22, 2013 at 2:28 AM, Oeyvind Brandtsegg
>> <oyvind.brandtsegg@ntnu.no> wrote:
>>>
>>> I do have some problems with it that are hard to track down.
>>> In very large orchestras (e.g. Hadron, ImproSculpt, and a new sound
>>> installation that I'm working on) I get segfaults that I have problems
>>> isolating. When I strip down the orchestra the segfault seems to
>>> vanish. I *think* it might have to do with race conditions, but as I'm
>>> not sure if problem lies in my Csound orchestra code or in Csound
>>> itself, so I have been unable to report properly on this. The
>>> orchestras do run fine with Csound5.
>>> best
>>> Oeyvind
>>>
>>> 2013/8/22 Michael Gogins <michael.gogins@gmail.com>:
>>> > Csound 6 on Windows is in a sorry state. The CsoundPerformanceThread
>>> > test
>>> > fails on my PC. Compositions I wrote in C++ fail. CsoundQt fails.The
>>> > Java
>>> > examples fail. Of course everything builds, the regular Csound examples
>>> > run,
>>> > and the debugger is not telling me much.
>>> >
>>> > I would like to hear if there are problems, or not, on other people's
>>> > PCs
>>> > with the current Csound 6 installer.
>>> >
>>> > I have found an open source thing like valgrind for WIndows, Dr. Memory.
>>> > I
>>> > am using it but no help so far... it does report errors but I am not yet
>>> > sure how to interpret them or whether they are serious.
>>> >
>>> > I have found an open source static code analysis thing for Windows,
>>> > CppCheck. I am using it but no help so far.
>>> >
>>> > Regards,
>>> > Mike
>>> >
>>> >
>>> > ===========================
>>> > Michael Gogins
>>> > Irreducible Productions
>>> > http://michaelgogins.tumblr.com
>>> > Michael dot Gogins at gmail dot com
>>> >
>>> >
>>> > ------------------------------------------------------------------------------
>>> > Introducing Performance Central, a new site from SourceForge and
>>> > AppDynamics. Performance Central is your source for news, insights,
>>> > analysis and resources for efficient Application Performance Management.
>>> > Visit us today!
>>> >
>>> > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>> > _______________________________________________
>>> > Csound-devel mailing list
>>> > Csound-devel@lists.sourceforge.net
>>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> >
>>>
>>>
>>>
>>> --
>>>
>>> Oeyvind Brandtsegg
>>> Professor of Music Technology
>>> NTNU
>>> 7491 Trondheim
>>> Norway
>>> Cell: +47 92 203 205
>>>
>>> http://flyndresang.no/
>>> http://www.partikkelaudio.com/
>>> http://soundcloud.com/brandtsegg
>>> http://soundcloud.com/t-emp
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Introducing Performance Central, a new site from SourceForge and
>>> AppDynamics. Performance Central is your source for news, insights,
>>> analysis and resources for efficient Application Performance Management.
>>> Visit us today!
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Introducing Performance Central, a new site from SourceForge and
>> AppDynamics. Performance Central is your source for news, insights,
>> analysis and resources for efficient Application Performance Management.
>> Visit us today!
>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2013-08-22 20:14
FromSteven Yi
SubjectRe: [Cs-dev] Csound 6 on WIndows
I don't have CUnit installed, but I'll look at that next to run the
thread test.  Just to note, I'm running this all in a virtual machine,
so everything is running a bit slowly so things will take me a little
while to do.  I'm shuddering at building QT, let alone CsoundQT on top
of that. :)  Question: I don't remember, but what was the result of
using prebuilt QT?  And versions earlier than 5.x?



On Thu, Aug 22, 2013 at 3:10 PM, Michael Gogins
 wrote:
> Could you please run the tests/c/testPerfThread.exe unit test (or whatever
> it's called).
>
> Also, it would be great if you could build the Qt 5.1 libraries with 4.7.2
> and then build CsoundQt. The directions in my document should be good. You
> might have to edit qcs.pro a bit.
>
> Your Java error is exactly what I saw. I did quite a bit of debugging and
> investigating with no results. I think we will have to do instruction level
> debugging of the load.
>
>
> ===========================
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
>
>
> On Thu, Aug 22, 2013 at 2:58 PM, Steven Yi  wrote:
>>
>> Update: I got Csound 6 to build on Windows using mingw gcc 4.7.2. I
>> had to build with -DUSE_ATOMIC_BUILTIN=0 and -DUSE_GETTEXT=0.
>> Unfortunately I'm still getting the same issue with Java:
>>
>> $ java -cp ".;csnd6.jar" API6Test
>> Exception in thread "main" java.lang.UnsatisfiedLinkError:
>> csnd6.csnd6JNI.swig_m
>> odule_init()V
>>         at csnd6.csnd6JNI.swig_module_init(Native Method)
>>         at csnd6.csnd6JNI.(csnd6JNI.java:1075)
>>         at csnd6.csnd6Constants.(csnd6Constants.java:12)
>>         at API6Test.main(API6Test.java:6)
>>
>> I checked the generated cxx and java files on OSX and Windows and they
>> look the same.  With nm.exe I see symbols listed so I'm guessing it's
>> not an export issue, but my memory about all this might be faulty.
>>
>> I see I have swig 2.0.10 on OSX and 2.0.4 on Windows.  I'll try
>> updating but as the source files look the same to me, I'm not sure
>> it'll do much. At least I'm starting to get somewhere here, I'll
>> report anything further.
>>
>> On Thu, Aug 22, 2013 at 11:15 AM, Steven Yi  wrote:
>> > Hi Michael,
>> >
>> > That sounds good.  I haven't begun work on mingwbuild yet so you
>> > caught me just before I did anything.  I'll load up Win7 shortly and
>> > see if I can get a complete build now. I'll relay anything here I
>> > find.
>> >
>> > Thanks!
>> > steven
>> >
>> > On Thu, Aug 22, 2013 at 11:10 AM, Michael Gogins
>> >  wrote:
>> >> Actually Steven, I think my idea was not so great. It might be better,
>> >> if
>> >> you already have 4.7.2 on Windows, to see if that will run before
>> >> switching
>> >> to 4.8.1. What do you think?
>> >>
>> >> Best,
>> >> Mike
>> >>
>> >>
>> >> ===========================
>> >> Michael Gogins
>> >> Irreducible Productions
>> >> http://michaelgogins.tumblr.com
>> >> Michael dot Gogins at gmail dot com
>> >>
>> >>
>> >> On Thu, Aug 22, 2013 at 2:28 AM, Oeyvind Brandtsegg
>> >>  wrote:
>> >>>
>> >>> I do have some problems with it that are hard to track down.
>> >>> In very large orchestras (e.g. Hadron, ImproSculpt, and a new sound
>> >>> installation that I'm working on) I get segfaults that I have problems
>> >>> isolating. When I strip down the orchestra the segfault seems to
>> >>> vanish. I *think* it might have to do with race conditions, but as I'm
>> >>> not sure if problem lies in my Csound orchestra code or in Csound
>> >>> itself, so I have been unable to report properly on this. The
>> >>> orchestras do run fine with Csound5.
>> >>> best
>> >>> Oeyvind
>> >>>
>> >>> 2013/8/22 Michael Gogins :
>> >>> > Csound 6 on Windows is in a sorry state. The CsoundPerformanceThread
>> >>> > test
>> >>> > fails on my PC. Compositions I wrote in C++ fail. CsoundQt fails.The
>> >>> > Java
>> >>> > examples fail. Of course everything builds, the regular Csound
>> >>> > examples
>> >>> > run,
>> >>> > and the debugger is not telling me much.
>> >>> >
>> >>> > I would like to hear if there are problems, or not, on other
>> >>> > people's
>> >>> > PCs
>> >>> > with the current Csound 6 installer.
>> >>> >
>> >>> > I have found an open source thing like valgrind for WIndows, Dr.
>> >>> > Memory.
>> >>> > I
>> >>> > am using it but no help so far... it does report errors but I am not
>> >>> > yet
>> >>> > sure how to interpret them or whether they are serious.
>> >>> >
>> >>> > I have found an open source static code analysis thing for Windows,
>> >>> > CppCheck. I am using it but no help so far.
>> >>> >
>> >>> > Regards,
>> >>> > Mike
>> >>> >
>> >>> >
>> >>> > ===========================
>> >>> > Michael Gogins
>> >>> > Irreducible Productions
>> >>> > http://michaelgogins.tumblr.com
>> >>> > Michael dot Gogins at gmail dot com
>> >>> >
>> >>> >
>> >>> >
>> >>> > ------------------------------------------------------------------------------
>> >>> > Introducing Performance Central, a new site from SourceForge and
>> >>> > AppDynamics. Performance Central is your source for news, insights,
>> >>> > analysis and resources for efficient Application Performance
>> >>> > Management.
>> >>> > Visit us today!
>> >>> >
>> >>> >
>> >>> > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>> >>> > _______________________________________________
>> >>> > Csound-devel mailing list
>> >>> > Csound-devel@lists.sourceforge.net
>> >>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>> >
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>>
>> >>> Oeyvind Brandtsegg
>> >>> Professor of Music Technology
>> >>> NTNU
>> >>> 7491 Trondheim
>> >>> Norway
>> >>> Cell: +47 92 203 205
>> >>>
>> >>> http://flyndresang.no/
>> >>> http://www.partikkelaudio.com/
>> >>> http://soundcloud.com/brandtsegg
>> >>> http://soundcloud.com/t-emp
>> >>>
>> >>>
>> >>>
>> >>> ------------------------------------------------------------------------------
>> >>> Introducing Performance Central, a new site from SourceForge and
>> >>> AppDynamics. Performance Central is your source for news, insights,
>> >>> analysis and resources for efficient Application Performance
>> >>> Management.
>> >>> Visit us today!
>> >>>
>> >>>
>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>> >>> _______________________________________________
>> >>> Csound-devel mailing list
>> >>> Csound-devel@lists.sourceforge.net
>> >>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>
>> >>
>> >>
>> >>
>> >> ------------------------------------------------------------------------------
>> >> Introducing Performance Central, a new site from SourceForge and
>> >> AppDynamics. Performance Central is your source for news, insights,
>> >> analysis and resources for efficient Application Performance
>> >> Management.
>> >> Visit us today!
>> >>
>> >> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>> >> _______________________________________________
>> >> Csound-devel mailing list
>> >> Csound-devel@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>
>>
>>
>> ------------------------------------------------------------------------------
>> Introducing Performance Central, a new site from SourceForge and
>> AppDynamics. Performance Central is your source for news, insights,
>> analysis and resources for efficient Application Performance Management.
>> Visit us today!
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-08-22 20:17
FromMichael Gogins
SubjectRe: [Cs-dev] Csound 6 on WIndows
AttachmentsNone  None  
BTW, I saw the Java error when I was building with 4.7.2. I am not sure that I ever managed to test CsoundPerformanceThread in any of my Csound 6 builds with 4.7.2, only with 4.8.1. So, in terms of science experiments, if we can't rule out switching to 4.8.1 as a cause of the CsoundPerformanceThread bug, it won't make sense for me to revert to 4.7.2.

The use of macros in the Csound source code, and the use of pointer indexes instead of array indexing, is making it harder for me to debug the code.

Best,
Mike


===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Thu, Aug 22, 2013 at 3:10 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
Could you please run the tests/c/testPerfThread.exe unit test (or whatever it's called).

Also, it would be great if you could build the Qt 5.1 libraries with 4.7.2 and then build CsoundQt. The directions in my document should be good. You might have to edit qcs.pro a bit.

Your Java error is exactly what I saw. I did quite a bit of debugging and investigating with no results. I think we will have to do instruction level debugging of the load.


===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Thu, Aug 22, 2013 at 2:58 PM, Steven Yi <stevenyi@gmail.com> wrote:
Update: I got Csound 6 to build on Windows using mingw gcc 4.7.2. I
had to build with -DUSE_ATOMIC_BUILTIN=0 and -DUSE_GETTEXT=0.
Unfortunately I'm still getting the same issue with Java:

$ java -cp ".;csnd6.jar" API6Test
Exception in thread "main" java.lang.UnsatisfiedLinkError: csnd6.csnd6JNI.swig_m
odule_init()V
        at csnd6.csnd6JNI.swig_module_init(Native Method)
        at csnd6.csnd6JNI.<clinit>(csnd6JNI.java:1075)
        at csnd6.csnd6Constants.<clinit>(csnd6Constants.java:12)
        at API6Test.main(API6Test.java:6)

I checked the generated cxx and java files on OSX and Windows and they
look the same.  With nm.exe I see symbols listed so I'm guessing it's
not an export issue, but my memory about all this might be faulty.

I see I have swig 2.0.10 on OSX and 2.0.4 on Windows.  I'll try
updating but as the source files look the same to me, I'm not sure
it'll do much. At least I'm starting to get somewhere here, I'll
report anything further.

On Thu, Aug 22, 2013 at 11:15 AM, Steven Yi <stevenyi@gmail.com> wrote:
> Hi Michael,
>
> That sounds good.  I haven't begun work on mingwbuild yet so you
> caught me just before I did anything.  I'll load up Win7 shortly and
> see if I can get a complete build now. I'll relay anything here I
> find.
>
> Thanks!
> steven
>
> On Thu, Aug 22, 2013 at 11:10 AM, Michael Gogins
> <michael.gogins@gmail.com> wrote:
>> Actually Steven, I think my idea was not so great. It might be better, if
>> you already have 4.7.2 on Windows, to see if that will run before switching
>> to 4.8.1. What do you think?
>>
>> Best,
>> Mike
>>
>>
>> ===========================
>> Michael Gogins
>> Irreducible Productions
>> http://michaelgogins.tumblr.com
>> Michael dot Gogins at gmail dot com
>>
>>
>> On Thu, Aug 22, 2013 at 2:28 AM, Oeyvind Brandtsegg
>> <oyvind.brandtsegg@ntnu.no> wrote:
>>>
>>> I do have some problems with it that are hard to track down.
>>> In very large orchestras (e.g. Hadron, ImproSculpt, and a new sound
>>> installation that I'm working on) I get segfaults that I have problems
>>> isolating. When I strip down the orchestra the segfault seems to
>>> vanish. I *think* it might have to do with race conditions, but as I'm
>>> not sure if problem lies in my Csound orchestra code or in Csound
>>> itself, so I have been unable to report properly on this. The
>>> orchestras do run fine with Csound5.
>>> best
>>> Oeyvind
>>>
>>> 2013/8/22 Michael Gogins <michael.gogins@gmail.com>:
>>> > Csound 6 on Windows is in a sorry state. The CsoundPerformanceThread
>>> > test
>>> > fails on my PC. Compositions I wrote in C++ fail. CsoundQt fails.The
>>> > Java
>>> > examples fail. Of course everything builds, the regular Csound examples
>>> > run,
>>> > and the debugger is not telling me much.
>>> >
>>> > I would like to hear if there are problems, or not, on other people's
>>> > PCs
>>> > with the current Csound 6 installer.
>>> >
>>> > I have found an open source thing like valgrind for WIndows, Dr. Memory.
>>> > I
>>> > am using it but no help so far... it does report errors but I am not yet
>>> > sure how to interpret them or whether they are serious.
>>> >
>>> > I have found an open source static code analysis thing for Windows,
>>> > CppCheck. I am using it but no help so far.
>>> >
>>> > Regards,
>>> > Mike
>>> >
>>> >
>>> > ===========================
>>> > Michael Gogins
>>> > Irreducible Productions
>>> > http://michaelgogins.tumblr.com
>>> > Michael dot Gogins at gmail dot com
>>> >
>>> >
>>> > ------------------------------------------------------------------------------
>>> > Introducing Performance Central, a new site from SourceForge and
>>> > AppDynamics. Performance Central is your source for news, insights,
>>> > analysis and resources for efficient Application Performance Management.
>>> > Visit us today!
>>> >
>>> > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>> > _______________________________________________
>>> > Csound-devel mailing list
>>> > Csound-devel@lists.sourceforge.net
>>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> >
>>>
>>>
>>>
>>> --
>>>
>>> Oeyvind Brandtsegg
>>> Professor of Music Technology
>>> NTNU
>>> 7491 Trondheim
>>> Norway
>>> Cell: +47 92 203 205
>>>
>>> http://flyndresang.no/
>>> http://www.partikkelaudio.com/
>>> http://soundcloud.com/brandtsegg
>>> http://soundcloud.com/t-emp
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Introducing Performance Central, a new site from SourceForge and
>>> AppDynamics. Performance Central is your source for news, insights,
>>> analysis and resources for efficient Application Performance Management.
>>> Visit us today!
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Introducing Performance Central, a new site from SourceForge and
>> AppDynamics. Performance Central is your source for news, insights,
>> analysis and resources for efficient Application Performance Management.
>> Visit us today!
>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



Date2013-08-22 20:41
FromMichael Gogins
SubjectRe: [Cs-dev] Csound 6 on WIndows
AttachmentsNone  None  
I did not try versions of Qt earlier than 5.x.

The use of rebuilt Qt is out of the question here because of a bug in the bundled MinGW 4.8.0. Building Qt is not so bad but of course it is time consuming.

If you don't have CUnit then build the examples\cpp\ test whatever it is called, upon which the unit test is based. You can build it with a single command.

The thing I'm really dying to know right now is whether your build will run CsoundPerformanceThread without crashing. That would be evidence of some problem with MinGW 4.8.1.

Best,
Mike



===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Thu, Aug 22, 2013 at 3:17 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
BTW, I saw the Java error when I was building with 4.7.2. I am not sure that I ever managed to test CsoundPerformanceThread in any of my Csound 6 builds with 4.7.2, only with 4.8.1. So, in terms of science experiments, if we can't rule out switching to 4.8.1 as a cause of the CsoundPerformanceThread bug, it won't make sense for me to revert to 4.7.2.

The use of macros in the Csound source code, and the use of pointer indexes instead of array indexing, is making it harder for me to debug the code.

Best,
Mike


===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Thu, Aug 22, 2013 at 3:10 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
Could you please run the tests/c/testPerfThread.exe unit test (or whatever it's called).

Also, it would be great if you could build the Qt 5.1 libraries with 4.7.2 and then build CsoundQt. The directions in my document should be good. You might have to edit qcs.pro a bit.

Your Java error is exactly what I saw. I did quite a bit of debugging and investigating with no results. I think we will have to do instruction level debugging of the load.


===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Thu, Aug 22, 2013 at 2:58 PM, Steven Yi <stevenyi@gmail.com> wrote:
Update: I got Csound 6 to build on Windows using mingw gcc 4.7.2. I
had to build with -DUSE_ATOMIC_BUILTIN=0 and -DUSE_GETTEXT=0.
Unfortunately I'm still getting the same issue with Java:

$ java -cp ".;csnd6.jar" API6Test
Exception in thread "main" java.lang.UnsatisfiedLinkError: csnd6.csnd6JNI.swig_m
odule_init()V
        at csnd6.csnd6JNI.swig_module_init(Native Method)
        at csnd6.csnd6JNI.<clinit>(csnd6JNI.java:1075)
        at csnd6.csnd6Constants.<clinit>(csnd6Constants.java:12)
        at API6Test.main(API6Test.java:6)

I checked the generated cxx and java files on OSX and Windows and they
look the same.  With nm.exe I see symbols listed so I'm guessing it's
not an export issue, but my memory about all this might be faulty.

I see I have swig 2.0.10 on OSX and 2.0.4 on Windows.  I'll try
updating but as the source files look the same to me, I'm not sure
it'll do much. At least I'm starting to get somewhere here, I'll
report anything further.

On Thu, Aug 22, 2013 at 11:15 AM, Steven Yi <stevenyi@gmail.com> wrote:
> Hi Michael,
>
> That sounds good.  I haven't begun work on mingwbuild yet so you
> caught me just before I did anything.  I'll load up Win7 shortly and
> see if I can get a complete build now. I'll relay anything here I
> find.
>
> Thanks!
> steven
>
> On Thu, Aug 22, 2013 at 11:10 AM, Michael Gogins
> <michael.gogins@gmail.com> wrote:
>> Actually Steven, I think my idea was not so great. It might be better, if
>> you already have 4.7.2 on Windows, to see if that will run before switching
>> to 4.8.1. What do you think?
>>
>> Best,
>> Mike
>>
>>
>> ===========================
>> Michael Gogins
>> Irreducible Productions
>> http://michaelgogins.tumblr.com
>> Michael dot Gogins at gmail dot com
>>
>>
>> On Thu, Aug 22, 2013 at 2:28 AM, Oeyvind Brandtsegg
>> <oyvind.brandtsegg@ntnu.no> wrote:
>>>
>>> I do have some problems with it that are hard to track down.
>>> In very large orchestras (e.g. Hadron, ImproSculpt, and a new sound
>>> installation that I'm working on) I get segfaults that I have problems
>>> isolating. When I strip down the orchestra the segfault seems to
>>> vanish. I *think* it might have to do with race conditions, but as I'm
>>> not sure if problem lies in my Csound orchestra code or in Csound
>>> itself, so I have been unable to report properly on this. The
>>> orchestras do run fine with Csound5.
>>> best
>>> Oeyvind
>>>
>>> 2013/8/22 Michael Gogins <michael.gogins@gmail.com>:
>>> > Csound 6 on Windows is in a sorry state. The CsoundPerformanceThread
>>> > test
>>> > fails on my PC. Compositions I wrote in C++ fail. CsoundQt fails.The
>>> > Java
>>> > examples fail. Of course everything builds, the regular Csound examples
>>> > run,
>>> > and the debugger is not telling me much.
>>> >
>>> > I would like to hear if there are problems, or not, on other people's
>>> > PCs
>>> > with the current Csound 6 installer.
>>> >
>>> > I have found an open source thing like valgrind for WIndows, Dr. Memory.
>>> > I
>>> > am using it but no help so far... it does report errors but I am not yet
>>> > sure how to interpret them or whether they are serious.
>>> >
>>> > I have found an open source static code analysis thing for Windows,
>>> > CppCheck. I am using it but no help so far.
>>> >
>>> > Regards,
>>> > Mike
>>> >
>>> >
>>> > ===========================
>>> > Michael Gogins
>>> > Irreducible Productions
>>> > http://michaelgogins.tumblr.com
>>> > Michael dot Gogins at gmail dot com
>>> >
>>> >
>>> > ------------------------------------------------------------------------------
>>> > Introducing Performance Central, a new site from SourceForge and
>>> > AppDynamics. Performance Central is your source for news, insights,
>>> > analysis and resources for efficient Application Performance Management.
>>> > Visit us today!
>>> >
>>> > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>> > _______________________________________________
>>> > Csound-devel mailing list
>>> > Csound-devel@lists.sourceforge.net
>>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> >
>>>
>>>
>>>
>>> --
>>>
>>> Oeyvind Brandtsegg
>>> Professor of Music Technology
>>> NTNU
>>> 7491 Trondheim
>>> Norway
>>> Cell: +47 92 203 205
>>>
>>> http://flyndresang.no/
>>> http://www.partikkelaudio.com/
>>> http://soundcloud.com/brandtsegg
>>> http://soundcloud.com/t-emp
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Introducing Performance Central, a new site from SourceForge and
>>> AppDynamics. Performance Central is your source for news, insights,
>>> analysis and resources for efficient Application Performance Management.
>>> Visit us today!
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Introducing Performance Central, a new site from SourceForge and
>> AppDynamics. Performance Central is your source for news, insights,
>> analysis and resources for efficient Application Performance Management.
>> Visit us today!
>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




Date2013-08-22 20:50
FromSteven Yi
SubjectRe: [Cs-dev] Csound 6 on WIndows
I'm the process of trying to get the tests to compile, working with
some include path resolution issues (not finding my CUnit headers
installed to /usr/local/include in msys, using full path in
Custom.cmake, etc.).  It triggers a full rebuild every time I mess
about with Custom.cmake so it's been slow.  If this doesn't work I'll
do as you suggested and just compile the cpp test directly.

On Thu, Aug 22, 2013 at 3:41 PM, Michael Gogins
 wrote:
> I did not try versions of Qt earlier than 5.x.
>
> The use of rebuilt Qt is out of the question here because of a bug in the
> bundled MinGW 4.8.0. Building Qt is not so bad but of course it is time
> consuming.
>
> If you don't have CUnit then build the examples\cpp\ test whatever it is
> called, upon which the unit test is based. You can build it with a single
> command.
>
> The thing I'm really dying to know right now is whether your build will run
> CsoundPerformanceThread without crashing. That would be evidence of some
> problem with MinGW 4.8.1.
>
> Best,
> Mike
>
>
>
> ===========================
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
>
>
> On Thu, Aug 22, 2013 at 3:17 PM, Michael Gogins 
> wrote:
>>
>> BTW, I saw the Java error when I was building with 4.7.2. I am not sure
>> that I ever managed to test CsoundPerformanceThread in any of my Csound 6
>> builds with 4.7.2, only with 4.8.1. So, in terms of science experiments, if
>> we can't rule out switching to 4.8.1 as a cause of the
>> CsoundPerformanceThread bug, it won't make sense for me to revert to 4.7.2.
>>
>> The use of macros in the Csound source code, and the use of pointer
>> indexes instead of array indexing, is making it harder for me to debug the
>> code.
>>
>> Best,
>> Mike
>>
>>
>> ===========================
>> Michael Gogins
>> Irreducible Productions
>> http://michaelgogins.tumblr.com
>> Michael dot Gogins at gmail dot com
>>
>>
>> On Thu, Aug 22, 2013 at 3:10 PM, Michael Gogins 
>> wrote:
>>>
>>> Could you please run the tests/c/testPerfThread.exe unit test (or
>>> whatever it's called).
>>>
>>> Also, it would be great if you could build the Qt 5.1 libraries with
>>> 4.7.2 and then build CsoundQt. The directions in my document should be good.
>>> You might have to edit qcs.pro a bit.
>>>
>>> Your Java error is exactly what I saw. I did quite a bit of debugging and
>>> investigating with no results. I think we will have to do instruction level
>>> debugging of the load.
>>>
>>>
>>> ===========================
>>> Michael Gogins
>>> Irreducible Productions
>>> http://michaelgogins.tumblr.com
>>> Michael dot Gogins at gmail dot com
>>>
>>>
>>> On Thu, Aug 22, 2013 at 2:58 PM, Steven Yi  wrote:
>>>>
>>>> Update: I got Csound 6 to build on Windows using mingw gcc 4.7.2. I
>>>> had to build with -DUSE_ATOMIC_BUILTIN=0 and -DUSE_GETTEXT=0.
>>>> Unfortunately I'm still getting the same issue with Java:
>>>>
>>>> $ java -cp ".;csnd6.jar" API6Test
>>>> Exception in thread "main" java.lang.UnsatisfiedLinkError:
>>>> csnd6.csnd6JNI.swig_m
>>>> odule_init()V
>>>>         at csnd6.csnd6JNI.swig_module_init(Native Method)
>>>>         at csnd6.csnd6JNI.(csnd6JNI.java:1075)
>>>>         at csnd6.csnd6Constants.(csnd6Constants.java:12)
>>>>         at API6Test.main(API6Test.java:6)
>>>>
>>>> I checked the generated cxx and java files on OSX and Windows and they
>>>> look the same.  With nm.exe I see symbols listed so I'm guessing it's
>>>> not an export issue, but my memory about all this might be faulty.
>>>>
>>>> I see I have swig 2.0.10 on OSX and 2.0.4 on Windows.  I'll try
>>>> updating but as the source files look the same to me, I'm not sure
>>>> it'll do much. At least I'm starting to get somewhere here, I'll
>>>> report anything further.
>>>>
>>>> On Thu, Aug 22, 2013 at 11:15 AM, Steven Yi  wrote:
>>>> > Hi Michael,
>>>> >
>>>> > That sounds good.  I haven't begun work on mingwbuild yet so you
>>>> > caught me just before I did anything.  I'll load up Win7 shortly and
>>>> > see if I can get a complete build now. I'll relay anything here I
>>>> > find.
>>>> >
>>>> > Thanks!
>>>> > steven
>>>> >
>>>> > On Thu, Aug 22, 2013 at 11:10 AM, Michael Gogins
>>>> >  wrote:
>>>> >> Actually Steven, I think my idea was not so great. It might be
>>>> >> better, if
>>>> >> you already have 4.7.2 on Windows, to see if that will run before
>>>> >> switching
>>>> >> to 4.8.1. What do you think?
>>>> >>
>>>> >> Best,
>>>> >> Mike
>>>> >>
>>>> >>
>>>> >> ===========================
>>>> >> Michael Gogins
>>>> >> Irreducible Productions
>>>> >> http://michaelgogins.tumblr.com
>>>> >> Michael dot Gogins at gmail dot com
>>>> >>
>>>> >>
>>>> >> On Thu, Aug 22, 2013 at 2:28 AM, Oeyvind Brandtsegg
>>>> >>  wrote:
>>>> >>>
>>>> >>> I do have some problems with it that are hard to track down.
>>>> >>> In very large orchestras (e.g. Hadron, ImproSculpt, and a new sound
>>>> >>> installation that I'm working on) I get segfaults that I have
>>>> >>> problems
>>>> >>> isolating. When I strip down the orchestra the segfault seems to
>>>> >>> vanish. I *think* it might have to do with race conditions, but as
>>>> >>> I'm
>>>> >>> not sure if problem lies in my Csound orchestra code or in Csound
>>>> >>> itself, so I have been unable to report properly on this. The
>>>> >>> orchestras do run fine with Csound5.
>>>> >>> best
>>>> >>> Oeyvind
>>>> >>>
>>>> >>> 2013/8/22 Michael Gogins :
>>>> >>> > Csound 6 on Windows is in a sorry state. The
>>>> >>> > CsoundPerformanceThread
>>>> >>> > test
>>>> >>> > fails on my PC. Compositions I wrote in C++ fail. CsoundQt
>>>> >>> > fails.The
>>>> >>> > Java
>>>> >>> > examples fail. Of course everything builds, the regular Csound
>>>> >>> > examples
>>>> >>> > run,
>>>> >>> > and the debugger is not telling me much.
>>>> >>> >
>>>> >>> > I would like to hear if there are problems, or not, on other
>>>> >>> > people's
>>>> >>> > PCs
>>>> >>> > with the current Csound 6 installer.
>>>> >>> >
>>>> >>> > I have found an open source thing like valgrind for WIndows, Dr.
>>>> >>> > Memory.
>>>> >>> > I
>>>> >>> > am using it but no help so far... it does report errors but I am
>>>> >>> > not yet
>>>> >>> > sure how to interpret them or whether they are serious.
>>>> >>> >
>>>> >>> > I have found an open source static code analysis thing for
>>>> >>> > Windows,
>>>> >>> > CppCheck. I am using it but no help so far.
>>>> >>> >
>>>> >>> > Regards,
>>>> >>> > Mike
>>>> >>> >
>>>> >>> >
>>>> >>> > ===========================
>>>> >>> > Michael Gogins
>>>> >>> > Irreducible Productions
>>>> >>> > http://michaelgogins.tumblr.com
>>>> >>> > Michael dot Gogins at gmail dot com
>>>> >>> >
>>>> >>> >
>>>> >>> >
>>>> >>> > ------------------------------------------------------------------------------
>>>> >>> > Introducing Performance Central, a new site from SourceForge and
>>>> >>> > AppDynamics. Performance Central is your source for news,
>>>> >>> > insights,
>>>> >>> > analysis and resources for efficient Application Performance
>>>> >>> > Management.
>>>> >>> > Visit us today!
>>>> >>> >
>>>> >>> >
>>>> >>> > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>>> >>> > _______________________________________________
>>>> >>> > Csound-devel mailing list
>>>> >>> > Csound-devel@lists.sourceforge.net
>>>> >>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>> >>> >
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> --
>>>> >>>
>>>> >>> Oeyvind Brandtsegg
>>>> >>> Professor of Music Technology
>>>> >>> NTNU
>>>> >>> 7491 Trondheim
>>>> >>> Norway
>>>> >>> Cell: +47 92 203 205
>>>> >>>
>>>> >>> http://flyndresang.no/
>>>> >>> http://www.partikkelaudio.com/
>>>> >>> http://soundcloud.com/brandtsegg
>>>> >>> http://soundcloud.com/t-emp
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> ------------------------------------------------------------------------------
>>>> >>> Introducing Performance Central, a new site from SourceForge and
>>>> >>> AppDynamics. Performance Central is your source for news, insights,
>>>> >>> analysis and resources for efficient Application Performance
>>>> >>> Management.
>>>> >>> Visit us today!
>>>> >>>
>>>> >>>
>>>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>>> >>> _______________________________________________
>>>> >>> Csound-devel mailing list
>>>> >>> Csound-devel@lists.sourceforge.net
>>>> >>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>> >>
>>>> >>
>>>> >>
>>>> >>
>>>> >> ------------------------------------------------------------------------------
>>>> >> Introducing Performance Central, a new site from SourceForge and
>>>> >> AppDynamics. Performance Central is your source for news, insights,
>>>> >> analysis and resources for efficient Application Performance
>>>> >> Management.
>>>> >> Visit us today!
>>>> >>
>>>> >> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>>> >> _______________________________________________
>>>> >> Csound-devel mailing list
>>>> >> Csound-devel@lists.sourceforge.net
>>>> >> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>> >>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Introducing Performance Central, a new site from SourceForge and
>>>> AppDynamics. Performance Central is your source for news, insights,
>>>> analysis and resources for efficient Application Performance Management.
>>>> Visit us today!
>>>>
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>
>
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-08-22 20:57
FromMichael Gogins
SubjectRe: [Cs-dev] Csound 6 on WIndows
AttachmentsNone  None  
I meant, the use of PRE-built Qt is out of the question.

Mike


===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Thu, Aug 22, 2013 at 3:41 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
I did not try versions of Qt earlier than 5.x.

The use of rebuilt Qt is out of the question here because of a bug in the bundled MinGW 4.8.0. Building Qt is not so bad but of course it is time consuming.

If you don't have CUnit then build the examples\cpp\ test whatever it is called, upon which the unit test is based. You can build it with a single command.

The thing I'm really dying to know right now is whether your build will run CsoundPerformanceThread without crashing. That would be evidence of some problem with MinGW 4.8.1.

Best,
Mike



===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Thu, Aug 22, 2013 at 3:17 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
BTW, I saw the Java error when I was building with 4.7.2. I am not sure that I ever managed to test CsoundPerformanceThread in any of my Csound 6 builds with 4.7.2, only with 4.8.1. So, in terms of science experiments, if we can't rule out switching to 4.8.1 as a cause of the CsoundPerformanceThread bug, it won't make sense for me to revert to 4.7.2.

The use of macros in the Csound source code, and the use of pointer indexes instead of array indexing, is making it harder for me to debug the code.

Best,
Mike


===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Thu, Aug 22, 2013 at 3:10 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
Could you please run the tests/c/testPerfThread.exe unit test (or whatever it's called).

Also, it would be great if you could build the Qt 5.1 libraries with 4.7.2 and then build CsoundQt. The directions in my document should be good. You might have to edit qcs.pro a bit.

Your Java error is exactly what I saw. I did quite a bit of debugging and investigating with no results. I think we will have to do instruction level debugging of the load.


===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Thu, Aug 22, 2013 at 2:58 PM, Steven Yi <stevenyi@gmail.com> wrote:
Update: I got Csound 6 to build on Windows using mingw gcc 4.7.2. I
had to build with -DUSE_ATOMIC_BUILTIN=0 and -DUSE_GETTEXT=0.
Unfortunately I'm still getting the same issue with Java:

$ java -cp ".;csnd6.jar" API6Test
Exception in thread "main" java.lang.UnsatisfiedLinkError: csnd6.csnd6JNI.swig_m
odule_init()V
        at csnd6.csnd6JNI.swig_module_init(Native Method)
        at csnd6.csnd6JNI.<clinit>(csnd6JNI.java:1075)
        at csnd6.csnd6Constants.<clinit>(csnd6Constants.java:12)
        at API6Test.main(API6Test.java:6)

I checked the generated cxx and java files on OSX and Windows and they
look the same.  With nm.exe I see symbols listed so I'm guessing it's
not an export issue, but my memory about all this might be faulty.

I see I have swig 2.0.10 on OSX and 2.0.4 on Windows.  I'll try
updating but as the source files look the same to me, I'm not sure
it'll do much. At least I'm starting to get somewhere here, I'll
report anything further.

On Thu, Aug 22, 2013 at 11:15 AM, Steven Yi <stevenyi@gmail.com> wrote:
> Hi Michael,
>
> That sounds good.  I haven't begun work on mingwbuild yet so you
> caught me just before I did anything.  I'll load up Win7 shortly and
> see if I can get a complete build now. I'll relay anything here I
> find.
>
> Thanks!
> steven
>
> On Thu, Aug 22, 2013 at 11:10 AM, Michael Gogins
> <michael.gogins@gmail.com> wrote:
>> Actually Steven, I think my idea was not so great. It might be better, if
>> you already have 4.7.2 on Windows, to see if that will run before switching
>> to 4.8.1. What do you think?
>>
>> Best,
>> Mike
>>
>>
>> ===========================
>> Michael Gogins
>> Irreducible Productions
>> http://michaelgogins.tumblr.com
>> Michael dot Gogins at gmail dot com
>>
>>
>> On Thu, Aug 22, 2013 at 2:28 AM, Oeyvind Brandtsegg
>> <oyvind.brandtsegg@ntnu.no> wrote:
>>>
>>> I do have some problems with it that are hard to track down.
>>> In very large orchestras (e.g. Hadron, ImproSculpt, and a new sound
>>> installation that I'm working on) I get segfaults that I have problems
>>> isolating. When I strip down the orchestra the segfault seems to
>>> vanish. I *think* it might have to do with race conditions, but as I'm
>>> not sure if problem lies in my Csound orchestra code or in Csound
>>> itself, so I have been unable to report properly on this. The
>>> orchestras do run fine with Csound5.
>>> best
>>> Oeyvind
>>>
>>> 2013/8/22 Michael Gogins <michael.gogins@gmail.com>:
>>> > Csound 6 on Windows is in a sorry state. The CsoundPerformanceThread
>>> > test
>>> > fails on my PC. Compositions I wrote in C++ fail. CsoundQt fails.The
>>> > Java
>>> > examples fail. Of course everything builds, the regular Csound examples
>>> > run,
>>> > and the debugger is not telling me much.
>>> >
>>> > I would like to hear if there are problems, or not, on other people's
>>> > PCs
>>> > with the current Csound 6 installer.
>>> >
>>> > I have found an open source thing like valgrind for WIndows, Dr. Memory.
>>> > I
>>> > am using it but no help so far... it does report errors but I am not yet
>>> > sure how to interpret them or whether they are serious.
>>> >
>>> > I have found an open source static code analysis thing for Windows,
>>> > CppCheck. I am using it but no help so far.
>>> >
>>> > Regards,
>>> > Mike
>>> >
>>> >
>>> > ===========================
>>> > Michael Gogins
>>> > Irreducible Productions
>>> > http://michaelgogins.tumblr.com
>>> > Michael dot Gogins at gmail dot com
>>> >
>>> >
>>> > ------------------------------------------------------------------------------
>>> > Introducing Performance Central, a new site from SourceForge and
>>> > AppDynamics. Performance Central is your source for news, insights,
>>> > analysis and resources for efficient Application Performance Management.
>>> > Visit us today!
>>> >
>>> > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>> > _______________________________________________
>>> > Csound-devel mailing list
>>> > Csound-devel@lists.sourceforge.net
>>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> >
>>>
>>>
>>>
>>> --
>>>
>>> Oeyvind Brandtsegg
>>> Professor of Music Technology
>>> NTNU
>>> 7491 Trondheim
>>> Norway
>>> Cell: +47 92 203 205
>>>
>>> http://flyndresang.no/
>>> http://www.partikkelaudio.com/
>>> http://soundcloud.com/brandtsegg
>>> http://soundcloud.com/t-emp
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Introducing Performance Central, a new site from SourceForge and
>>> AppDynamics. Performance Central is your source for news, insights,
>>> analysis and resources for efficient Application Performance Management.
>>> Visit us today!
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Introducing Performance Central, a new site from SourceForge and
>> AppDynamics. Performance Central is your source for news, insights,
>> analysis and resources for efficient Application Performance Management.
>> Visit us today!
>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel





Date2013-08-22 21:08
FromSteven Yi
SubjectRe: [Cs-dev] Csound 6 on WIndows
Hi Michael,

I ended up doing the self-compile and it seems to have successfully
run the test.  Output is below. Is this the correct test?
(tests/c/perfthread_test.cpp)

steven



Steven@Steven-PC ~/csound6/tests/c
$ ./a.exe


     CUnit - A unit testing framework for C - Version 2.1-2
     http://cunit.sourceforge.net/


Suite: perfthread tests
  Test: Test Performance Thread ...virtual_keyboard real time MIDI plugin for Cs
ound
0dBFS level = 32768.0
Csound version 6.00.1 (double samples) Aug  7 2013
libsndfile-1.0.25
rtaudio: PortAudio module enabled ...
using callback interface
rtmidi: PortMIDI module enabled
Csound version 6.00.1 (double samples) Aug  7 2013
graphics suppressed, ascii substituted
0dBFS level = 32768.0
orch now loaded
audio buffered in 4096 sample-frame blocks
PortAudio V19-devel (built Aug  3 2013 12:54:43)
   0: dac0 (Microsoft Sound Mapper - Output)
   1: dac1 (Headphones (High Definition Aud)
   2: dac2 (Speakers (High Definition Audio)
   3: dac3 (Primary Sound Driver)
   4: dac4 (Headphones (High Definition Audio Device))
   5: dac5 (Speakers (High Definition Audio Device))
PortAudio: selected output device 'Headphones (High Definition Aud'
writing 4096 sample blks of 64-bit floats to dac
SECTION 1:
new alloc for instr 1:
B  0.000 ..  1.000 T  1.000 TT  1.000 M:   9445.1
Score finished in csoundPerformKsmps().
inactive allocs returned to freespace
end of score.              overall amps:   9445.1
           overall samples out of range:        0
0 errors in performance
Elapsed time at end of performance: real: 2.908s, CPU: 2.915s
closing device
11 4096 sample blks of 64-bit floats written to dac
passed

Run Summary:    Type  Total    Ran Passed Failed Inactive
              suites      1      1    n/a      0        0
               tests      1      1      1      0        0
             asserts      0      0      0      0      n/a

Elapsed time =    9.141 seconds

Steven@Steven-PC ~/csound6/tests/c

On Thu, Aug 22, 2013 at 3:57 PM, Michael Gogins
 wrote:
> I meant, the use of PRE-built Qt is out of the question.
>
> Mike
>
>
> ===========================
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
>
>
> On Thu, Aug 22, 2013 at 3:41 PM, Michael Gogins 
> wrote:
>>
>> I did not try versions of Qt earlier than 5.x.
>>
>> The use of rebuilt Qt is out of the question here because of a bug in the
>> bundled MinGW 4.8.0. Building Qt is not so bad but of course it is time
>> consuming.
>>
>> If you don't have CUnit then build the examples\cpp\ test whatever it is
>> called, upon which the unit test is based. You can build it with a single
>> command.
>>
>> The thing I'm really dying to know right now is whether your build will
>> run CsoundPerformanceThread without crashing. That would be evidence of some
>> problem with MinGW 4.8.1.
>>
>> Best,
>> Mike
>>
>>
>>
>> ===========================
>> Michael Gogins
>> Irreducible Productions
>> http://michaelgogins.tumblr.com
>> Michael dot Gogins at gmail dot com
>>
>>
>> On Thu, Aug 22, 2013 at 3:17 PM, Michael Gogins 
>> wrote:
>>>
>>> BTW, I saw the Java error when I was building with 4.7.2. I am not sure
>>> that I ever managed to test CsoundPerformanceThread in any of my Csound 6
>>> builds with 4.7.2, only with 4.8.1. So, in terms of science experiments, if
>>> we can't rule out switching to 4.8.1 as a cause of the
>>> CsoundPerformanceThread bug, it won't make sense for me to revert to 4.7.2.
>>>
>>> The use of macros in the Csound source code, and the use of pointer
>>> indexes instead of array indexing, is making it harder for me to debug the
>>> code.
>>>
>>> Best,
>>> Mike
>>>
>>>
>>> ===========================
>>> Michael Gogins
>>> Irreducible Productions
>>> http://michaelgogins.tumblr.com
>>> Michael dot Gogins at gmail dot com
>>>
>>>
>>> On Thu, Aug 22, 2013 at 3:10 PM, Michael Gogins
>>>  wrote:
>>>>
>>>> Could you please run the tests/c/testPerfThread.exe unit test (or
>>>> whatever it's called).
>>>>
>>>> Also, it would be great if you could build the Qt 5.1 libraries with
>>>> 4.7.2 and then build CsoundQt. The directions in my document should be good.
>>>> You might have to edit qcs.pro a bit.
>>>>
>>>> Your Java error is exactly what I saw. I did quite a bit of debugging
>>>> and investigating with no results. I think we will have to do instruction
>>>> level debugging of the load.
>>>>
>>>>
>>>> ===========================
>>>> Michael Gogins
>>>> Irreducible Productions
>>>> http://michaelgogins.tumblr.com
>>>> Michael dot Gogins at gmail dot com
>>>>
>>>>
>>>> On Thu, Aug 22, 2013 at 2:58 PM, Steven Yi  wrote:
>>>>>
>>>>> Update: I got Csound 6 to build on Windows using mingw gcc 4.7.2. I
>>>>> had to build with -DUSE_ATOMIC_BUILTIN=0 and -DUSE_GETTEXT=0.
>>>>> Unfortunately I'm still getting the same issue with Java:
>>>>>
>>>>> $ java -cp ".;csnd6.jar" API6Test
>>>>> Exception in thread "main" java.lang.UnsatisfiedLinkError:
>>>>> csnd6.csnd6JNI.swig_m
>>>>> odule_init()V
>>>>>         at csnd6.csnd6JNI.swig_module_init(Native Method)
>>>>>         at csnd6.csnd6JNI.(csnd6JNI.java:1075)
>>>>>         at csnd6.csnd6Constants.(csnd6Constants.java:12)
>>>>>         at API6Test.main(API6Test.java:6)
>>>>>
>>>>> I checked the generated cxx and java files on OSX and Windows and they
>>>>> look the same.  With nm.exe I see symbols listed so I'm guessing it's
>>>>> not an export issue, but my memory about all this might be faulty.
>>>>>
>>>>> I see I have swig 2.0.10 on OSX and 2.0.4 on Windows.  I'll try
>>>>> updating but as the source files look the same to me, I'm not sure
>>>>> it'll do much. At least I'm starting to get somewhere here, I'll
>>>>> report anything further.
>>>>>
>>>>> On Thu, Aug 22, 2013 at 11:15 AM, Steven Yi  wrote:
>>>>> > Hi Michael,
>>>>> >
>>>>> > That sounds good.  I haven't begun work on mingwbuild yet so you
>>>>> > caught me just before I did anything.  I'll load up Win7 shortly and
>>>>> > see if I can get a complete build now. I'll relay anything here I
>>>>> > find.
>>>>> >
>>>>> > Thanks!
>>>>> > steven
>>>>> >
>>>>> > On Thu, Aug 22, 2013 at 11:10 AM, Michael Gogins
>>>>> >  wrote:
>>>>> >> Actually Steven, I think my idea was not so great. It might be
>>>>> >> better, if
>>>>> >> you already have 4.7.2 on Windows, to see if that will run before
>>>>> >> switching
>>>>> >> to 4.8.1. What do you think?
>>>>> >>
>>>>> >> Best,
>>>>> >> Mike
>>>>> >>
>>>>> >>
>>>>> >> ===========================
>>>>> >> Michael Gogins
>>>>> >> Irreducible Productions
>>>>> >> http://michaelgogins.tumblr.com
>>>>> >> Michael dot Gogins at gmail dot com
>>>>> >>
>>>>> >>
>>>>> >> On Thu, Aug 22, 2013 at 2:28 AM, Oeyvind Brandtsegg
>>>>> >>  wrote:
>>>>> >>>
>>>>> >>> I do have some problems with it that are hard to track down.
>>>>> >>> In very large orchestras (e.g. Hadron, ImproSculpt, and a new sound
>>>>> >>> installation that I'm working on) I get segfaults that I have
>>>>> >>> problems
>>>>> >>> isolating. When I strip down the orchestra the segfault seems to
>>>>> >>> vanish. I *think* it might have to do with race conditions, but as
>>>>> >>> I'm
>>>>> >>> not sure if problem lies in my Csound orchestra code or in Csound
>>>>> >>> itself, so I have been unable to report properly on this. The
>>>>> >>> orchestras do run fine with Csound5.
>>>>> >>> best
>>>>> >>> Oeyvind
>>>>> >>>
>>>>> >>> 2013/8/22 Michael Gogins :
>>>>> >>> > Csound 6 on Windows is in a sorry state. The
>>>>> >>> > CsoundPerformanceThread
>>>>> >>> > test
>>>>> >>> > fails on my PC. Compositions I wrote in C++ fail. CsoundQt
>>>>> >>> > fails.The
>>>>> >>> > Java
>>>>> >>> > examples fail. Of course everything builds, the regular Csound
>>>>> >>> > examples
>>>>> >>> > run,
>>>>> >>> > and the debugger is not telling me much.
>>>>> >>> >
>>>>> >>> > I would like to hear if there are problems, or not, on other
>>>>> >>> > people's
>>>>> >>> > PCs
>>>>> >>> > with the current Csound 6 installer.
>>>>> >>> >
>>>>> >>> > I have found an open source thing like valgrind for WIndows, Dr.
>>>>> >>> > Memory.
>>>>> >>> > I
>>>>> >>> > am using it but no help so far... it does report errors but I am
>>>>> >>> > not yet
>>>>> >>> > sure how to interpret them or whether they are serious.
>>>>> >>> >
>>>>> >>> > I have found an open source static code analysis thing for
>>>>> >>> > Windows,
>>>>> >>> > CppCheck. I am using it but no help so far.
>>>>> >>> >
>>>>> >>> > Regards,
>>>>> >>> > Mike
>>>>> >>> >
>>>>> >>> >
>>>>> >>> > ===========================
>>>>> >>> > Michael Gogins
>>>>> >>> > Irreducible Productions
>>>>> >>> > http://michaelgogins.tumblr.com
>>>>> >>> > Michael dot Gogins at gmail dot com
>>>>> >>> >
>>>>> >>> >
>>>>> >>> >
>>>>> >>> > ------------------------------------------------------------------------------
>>>>> >>> > Introducing Performance Central, a new site from SourceForge and
>>>>> >>> > AppDynamics. Performance Central is your source for news,
>>>>> >>> > insights,
>>>>> >>> > analysis and resources for efficient Application Performance
>>>>> >>> > Management.
>>>>> >>> > Visit us today!
>>>>> >>> >
>>>>> >>> >
>>>>> >>> > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>>>> >>> > _______________________________________________
>>>>> >>> > Csound-devel mailing list
>>>>> >>> > Csound-devel@lists.sourceforge.net
>>>>> >>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>> >>> >
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> --
>>>>> >>>
>>>>> >>> Oeyvind Brandtsegg
>>>>> >>> Professor of Music Technology
>>>>> >>> NTNU
>>>>> >>> 7491 Trondheim
>>>>> >>> Norway
>>>>> >>> Cell: +47 92 203 205
>>>>> >>>
>>>>> >>> http://flyndresang.no/
>>>>> >>> http://www.partikkelaudio.com/
>>>>> >>> http://soundcloud.com/brandtsegg
>>>>> >>> http://soundcloud.com/t-emp
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> ------------------------------------------------------------------------------
>>>>> >>> Introducing Performance Central, a new site from SourceForge and
>>>>> >>> AppDynamics. Performance Central is your source for news, insights,
>>>>> >>> analysis and resources for efficient Application Performance
>>>>> >>> Management.
>>>>> >>> Visit us today!
>>>>> >>>
>>>>> >>>
>>>>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>>>> >>> _______________________________________________
>>>>> >>> Csound-devel mailing list
>>>>> >>> Csound-devel@lists.sourceforge.net
>>>>> >>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>> >>
>>>>> >>
>>>>> >>
>>>>> >>
>>>>> >> ------------------------------------------------------------------------------
>>>>> >> Introducing Performance Central, a new site from SourceForge and
>>>>> >> AppDynamics. Performance Central is your source for news, insights,
>>>>> >> analysis and resources for efficient Application Performance
>>>>> >> Management.
>>>>> >> Visit us today!
>>>>> >>
>>>>> >> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>>>> >> _______________________________________________
>>>>> >> Csound-devel mailing list
>>>>> >> Csound-devel@lists.sourceforge.net
>>>>> >> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>> >>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Introducing Performance Central, a new site from SourceForge and
>>>>> AppDynamics. Performance Central is your source for news, insights,
>>>>> analysis and resources for efficient Application Performance
>>>>> Management.
>>>>> Visit us today!
>>>>>
>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>
>>
>
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-08-22 21:24
FromMichael Gogins
SubjectRe: [Cs-dev] Csound 6 on WIndows
AttachmentsNone  None  
Thanks, Steven. That's a big help. Yes, that's the correct test. 

I think this points to MinGW 4.8.1 being a factor in a number of issues including CsoundPerformanceThread, CsoundQt which uses CsoundPerformanceThread, possibly large orchestras and C++ compositions. That of course does not mean CsoundPerformanceThread couldn't be got to work with 4.8.1, but why bother?

I suppose I will have to revert my system to MinGW 4.7.2. It's a fair amount of work. Did you use the MinGW-get version? Please run gcc -v and email me the result. I need to know whether you used dwarf2 or sjlj, Posix threads or Windows threads, etc.

It would still be helpful if you could build Qt and try it...

Best,
Mike




===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Thu, Aug 22, 2013 at 4:08 PM, Steven Yi <stevenyi@gmail.com> wrote:
Hi Michael,

I ended up doing the self-compile and it seems to have successfully
run the test.  Output is below. Is this the correct test?
(tests/c/perfthread_test.cpp)

steven



Steven@Steven-PC ~/csound6/tests/c
$ ./a.exe


     CUnit - A unit testing framework for C - Version 2.1-2
     http://cunit.sourceforge.net/


Suite: perfthread tests
  Test: Test Performance Thread ...virtual_keyboard real time MIDI plugin for Cs
ound
0dBFS level = 32768.0
Csound version 6.00.1 (double samples) Aug  7 2013
libsndfile-1.0.25
rtaudio: PortAudio module enabled ...
using callback interface
rtmidi: PortMIDI module enabled
Csound version 6.00.1 (double samples) Aug  7 2013
graphics suppressed, ascii substituted
0dBFS level = 32768.0
orch now loaded
audio buffered in 4096 sample-frame blocks
PortAudio V19-devel (built Aug  3 2013 12:54:43)
   0: dac0 (Microsoft Sound Mapper - Output)
   1: dac1 (Headphones (High Definition Aud)
   2: dac2 (Speakers (High Definition Audio)
   3: dac3 (Primary Sound Driver)
   4: dac4 (Headphones (High Definition Audio Device))
   5: dac5 (Speakers (High Definition Audio Device))
PortAudio: selected output device 'Headphones (High Definition Aud'
writing 4096 sample blks of 64-bit floats to dac
SECTION 1:
new alloc for instr 1:
B  0.000 ..  1.000 T  1.000 TT  1.000 M:   9445.1
Score finished in csoundPerformKsmps().
inactive allocs returned to freespace
end of score.              overall amps:   9445.1
           overall samples out of range:        0
0 errors in performance
Elapsed time at end of performance: real: 2.908s, CPU: 2.915s
closing device
11 4096 sample blks of 64-bit floats written to dac
passed

Run Summary:    Type  Total    Ran Passed Failed Inactive
              suites      1      1    n/a      0        0
               tests      1      1      1      0        0
             asserts      0      0      0      0      n/a

Elapsed time =    9.141 seconds

Steven@Steven-PC ~/csound6/tests/c

On Thu, Aug 22, 2013 at 3:57 PM, Michael Gogins
<michael.gogins@gmail.com> wrote:
> I meant, the use of PRE-built Qt is out of the question.
>
> Mike
>
>
> ===========================
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
>
>
> On Thu, Aug 22, 2013 at 3:41 PM, Michael Gogins <michael.gogins@gmail.com>
> wrote:
>>
>> I did not try versions of Qt earlier than 5.x.
>>
>> The use of rebuilt Qt is out of the question here because of a bug in the
>> bundled MinGW 4.8.0. Building Qt is not so bad but of course it is time
>> consuming.
>>
>> If you don't have CUnit then build the examples\cpp\ test whatever it is
>> called, upon which the unit test is based. You can build it with a single
>> command.
>>
>> The thing I'm really dying to know right now is whether your build will
>> run CsoundPerformanceThread without crashing. That would be evidence of some
>> problem with MinGW 4.8.1.
>>
>> Best,
>> Mike
>>
>>
>>
>> ===========================
>> Michael Gogins
>> Irreducible Productions
>> http://michaelgogins.tumblr.com
>> Michael dot Gogins at gmail dot com
>>
>>
>> On Thu, Aug 22, 2013 at 3:17 PM, Michael Gogins <michael.gogins@gmail.com>
>> wrote:
>>>
>>> BTW, I saw the Java error when I was building with 4.7.2. I am not sure
>>> that I ever managed to test CsoundPerformanceThread in any of my Csound 6
>>> builds with 4.7.2, only with 4.8.1. So, in terms of science experiments, if
>>> we can't rule out switching to 4.8.1 as a cause of the
>>> CsoundPerformanceThread bug, it won't make sense for me to revert to 4.7.2.
>>>
>>> The use of macros in the Csound source code, and the use of pointer
>>> indexes instead of array indexing, is making it harder for me to debug the
>>> code.
>>>
>>> Best,
>>> Mike
>>>
>>>
>>> ===========================
>>> Michael Gogins
>>> Irreducible Productions
>>> http://michaelgogins.tumblr.com
>>> Michael dot Gogins at gmail dot com
>>>
>>>
>>> On Thu, Aug 22, 2013 at 3:10 PM, Michael Gogins
>>> <michael.gogins@gmail.com> wrote:
>>>>
>>>> Could you please run the tests/c/testPerfThread.exe unit test (or
>>>> whatever it's called).
>>>>
>>>> Also, it would be great if you could build the Qt 5.1 libraries with
>>>> 4.7.2 and then build CsoundQt. The directions in my document should be good.
>>>> You might have to edit qcs.pro a bit.
>>>>
>>>> Your Java error is exactly what I saw. I did quite a bit of debugging
>>>> and investigating with no results. I think we will have to do instruction
>>>> level debugging of the load.
>>>>
>>>>
>>>> ===========================
>>>> Michael Gogins
>>>> Irreducible Productions
>>>> http://michaelgogins.tumblr.com
>>>> Michael dot Gogins at gmail dot com
>>>>
>>>>
>>>> On Thu, Aug 22, 2013 at 2:58 PM, Steven Yi <stevenyi@gmail.com> wrote:
>>>>>
>>>>> Update: I got Csound 6 to build on Windows using mingw gcc 4.7.2. I
>>>>> had to build with -DUSE_ATOMIC_BUILTIN=0 and -DUSE_GETTEXT=0.
>>>>> Unfortunately I'm still getting the same issue with Java:
>>>>>
>>>>> $ java -cp ".;csnd6.jar" API6Test
>>>>> Exception in thread "main" java.lang.UnsatisfiedLinkError:
>>>>> csnd6.csnd6JNI.swig_m
>>>>> odule_init()V
>>>>>         at csnd6.csnd6JNI.swig_module_init(Native Method)
>>>>>         at csnd6.csnd6JNI.<clinit>(csnd6JNI.java:1075)
>>>>>         at csnd6.csnd6Constants.<clinit>(csnd6Constants.java:12)
>>>>>         at API6Test.main(API6Test.java:6)
>>>>>
>>>>> I checked the generated cxx and java files on OSX and Windows and they
>>>>> look the same.  With nm.exe I see symbols listed so I'm guessing it's
>>>>> not an export issue, but my memory about all this might be faulty.
>>>>>
>>>>> I see I have swig 2.0.10 on OSX and 2.0.4 on Windows.  I'll try
>>>>> updating but as the source files look the same to me, I'm not sure
>>>>> it'll do much. At least I'm starting to get somewhere here, I'll
>>>>> report anything further.
>>>>>
>>>>> On Thu, Aug 22, 2013 at 11:15 AM, Steven Yi <stevenyi@gmail.com> wrote:
>>>>> > Hi Michael,
>>>>> >
>>>>> > That sounds good.  I haven't begun work on mingwbuild yet so you
>>>>> > caught me just before I did anything.  I'll load up Win7 shortly and
>>>>> > see if I can get a complete build now. I'll relay anything here I
>>>>> > find.
>>>>> >
>>>>> > Thanks!
>>>>> > steven
>>>>> >
>>>>> > On Thu, Aug 22, 2013 at 11:10 AM, Michael Gogins
>>>>> > <michael.gogins@gmail.com> wrote:
>>>>> >> Actually Steven, I think my idea was not so great. It might be
>>>>> >> better, if
>>>>> >> you already have 4.7.2 on Windows, to see if that will run before
>>>>> >> switching
>>>>> >> to 4.8.1. What do you think?
>>>>> >>
>>>>> >> Best,
>>>>> >> Mike
>>>>> >>
>>>>> >>
>>>>> >> ===========================
>>>>> >> Michael Gogins
>>>>> >> Irreducible Productions
>>>>> >> http://michaelgogins.tumblr.com
>>>>> >> Michael dot Gogins at gmail dot com
>>>>> >>
>>>>> >>
>>>>> >> On Thu, Aug 22, 2013 at 2:28 AM, Oeyvind Brandtsegg
>>>>> >> <oyvind.brandtsegg@ntnu.no> wrote:
>>>>> >>>
>>>>> >>> I do have some problems with it that are hard to track down.
>>>>> >>> In very large orchestras (e.g. Hadron, ImproSculpt, and a new sound
>>>>> >>> installation that I'm working on) I get segfaults that I have
>>>>> >>> problems
>>>>> >>> isolating. When I strip down the orchestra the segfault seems to
>>>>> >>> vanish. I *think* it might have to do with race conditions, but as
>>>>> >>> I'm
>>>>> >>> not sure if problem lies in my Csound orchestra code or in Csound
>>>>> >>> itself, so I have been unable to report properly on this. The
>>>>> >>> orchestras do run fine with Csound5.
>>>>> >>> best
>>>>> >>> Oeyvind
>>>>> >>>
>>>>> >>> 2013/8/22 Michael Gogins <michael.gogins@gmail.com>:
>>>>> >>> > Csound 6 on Windows is in a sorry state. The
>>>>> >>> > CsoundPerformanceThread
>>>>> >>> > test
>>>>> >>> > fails on my PC. Compositions I wrote in C++ fail. CsoundQt
>>>>> >>> > fails.The
>>>>> >>> > Java
>>>>> >>> > examples fail. Of course everything builds, the regular Csound
>>>>> >>> > examples
>>>>> >>> > run,
>>>>> >>> > and the debugger is not telling me much.
>>>>> >>> >
>>>>> >>> > I would like to hear if there are problems, or not, on other
>>>>> >>> > people's
>>>>> >>> > PCs
>>>>> >>> > with the current Csound 6 installer.
>>>>> >>> >
>>>>> >>> > I have found an open source thing like valgrind for WIndows, Dr.
>>>>> >>> > Memory.
>>>>> >>> > I
>>>>> >>> > am using it but no help so far... it does report errors but I am
>>>>> >>> > not yet
>>>>> >>> > sure how to interpret them or whether they are serious.
>>>>> >>> >
>>>>> >>> > I have found an open source static code analysis thing for
>>>>> >>> > Windows,
>>>>> >>> > CppCheck. I am using it but no help so far.
>>>>> >>> >
>>>>> >>> > Regards,
>>>>> >>> > Mike
>>>>> >>> >
>>>>> >>> >
>>>>> >>> > ===========================
>>>>> >>> > Michael Gogins
>>>>> >>> > Irreducible Productions
>>>>> >>> > http://michaelgogins.tumblr.com
>>>>> >>> > Michael dot Gogins at gmail dot com
>>>>> >>> >
>>>>> >>> >
>>>>> >>> >
>>>>> >>> > ------------------------------------------------------------------------------
>>>>> >>> > Introducing Performance Central, a new site from SourceForge and
>>>>> >>> > AppDynamics. Performance Central is your source for news,
>>>>> >>> > insights,
>>>>> >>> > analysis and resources for efficient Application Performance
>>>>> >>> > Management.
>>>>> >>> > Visit us today!
>>>>> >>> >
>>>>> >>> >
>>>>> >>> > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>>>> >>> > _______________________________________________
>>>>> >>> > Csound-devel mailing list
>>>>> >>> > Csound-devel@lists.sourceforge.net
>>>>> >>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>> >>> >
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> --
>>>>> >>>
>>>>> >>> Oeyvind Brandtsegg
>>>>> >>> Professor of Music Technology
>>>>> >>> NTNU
>>>>> >>> 7491 Trondheim
>>>>> >>> Norway
>>>>> >>> Cell: +47 92 203 205
>>>>> >>>
>>>>> >>> http://flyndresang.no/
>>>>> >>> http://www.partikkelaudio.com/
>>>>> >>> http://soundcloud.com/brandtsegg
>>>>> >>> http://soundcloud.com/t-emp
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> ------------------------------------------------------------------------------
>>>>> >>> Introducing Performance Central, a new site from SourceForge and
>>>>> >>> AppDynamics. Performance Central is your source for news, insights,
>>>>> >>> analysis and resources for efficient Application Performance
>>>>> >>> Management.
>>>>> >>> Visit us today!
>>>>> >>>
>>>>> >>>
>>>>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>>>> >>> _______________________________________________
>>>>> >>> Csound-devel mailing list
>>>>> >>> Csound-devel@lists.sourceforge.net
>>>>> >>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>> >>
>>>>> >>
>>>>> >>
>>>>> >>
>>>>> >> ------------------------------------------------------------------------------
>>>>> >> Introducing Performance Central, a new site from SourceForge and
>>>>> >> AppDynamics. Performance Central is your source for news, insights,
>>>>> >> analysis and resources for efficient Application Performance
>>>>> >> Management.
>>>>> >> Visit us today!
>>>>> >>
>>>>> >> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>>>> >> _______________________________________________
>>>>> >> Csound-devel mailing list
>>>>> >> Csound-devel@lists.sourceforge.net
>>>>> >> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>> >>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Introducing Performance Central, a new site from SourceForge and
>>>>> AppDynamics. Performance Central is your source for news, insights,
>>>>> analysis and resources for efficient Application Performance
>>>>> Management.
>>>>> Visit us today!
>>>>>
>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>
>>
>
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2013-08-22 23:48
Fromandy fillebrown
SubjectRe: [Cs-dev] Csound 6 on WIndows
AttachmentsNone  None  
The only two modules you should need from Qt are Core and Gui.  All the other modules can be deleted from the source tree before building.


On Thu, Aug 22, 2013 at 4:24 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
Thanks, Steven. That's a big help. Yes, that's the correct test. 

I think this points to MinGW 4.8.1 being a factor in a number of issues including CsoundPerformanceThread, CsoundQt which uses CsoundPerformanceThread, possibly large orchestras and C++ compositions. That of course does not mean CsoundPerformanceThread couldn't be got to work with 4.8.1, but why bother?

I suppose I will have to revert my system to MinGW 4.7.2. It's a fair amount of work. Did you use the MinGW-get version? Please run gcc -v and email me the result. I need to know whether you used dwarf2 or sjlj, Posix threads or Windows threads, etc.

It would still be helpful if you could build Qt and try it...

Best,
Mike




===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Thu, Aug 22, 2013 at 4:08 PM, Steven Yi <stevenyi@gmail.com> wrote:
Hi Michael,

I ended up doing the self-compile and it seems to have successfully
run the test.  Output is below. Is this the correct test?
(tests/c/perfthread_test.cpp)

steven



Steven@Steven-PC ~/csound6/tests/c
$ ./a.exe


     CUnit - A unit testing framework for C - Version 2.1-2
     http://cunit.sourceforge.net/


Suite: perfthread tests
  Test: Test Performance Thread ...virtual_keyboard real time MIDI plugin for Cs
ound
0dBFS level = 32768.0
Csound version 6.00.1 (double samples) Aug  7 2013
libsndfile-1.0.25
rtaudio: PortAudio module enabled ...
using callback interface
rtmidi: PortMIDI module enabled
Csound version 6.00.1 (double samples) Aug  7 2013
graphics suppressed, ascii substituted
0dBFS level = 32768.0
orch now loaded
audio buffered in 4096 sample-frame blocks
PortAudio V19-devel (built Aug  3 2013 12:54:43)
   0: dac0 (Microsoft Sound Mapper - Output)
   1: dac1 (Headphones (High Definition Aud)
   2: dac2 (Speakers (High Definition Audio)
   3: dac3 (Primary Sound Driver)
   4: dac4 (Headphones (High Definition Audio Device))
   5: dac5 (Speakers (High Definition Audio Device))
PortAudio: selected output device 'Headphones (High Definition Aud'
writing 4096 sample blks of 64-bit floats to dac
SECTION 1:
new alloc for instr 1:
B  0.000 ..  1.000 T  1.000 TT  1.000 M:   9445.1
Score finished in csoundPerformKsmps().
inactive allocs returned to freespace
end of score.              overall amps:   9445.1
           overall samples out of range:        0
0 errors in performance
Elapsed time at end of performance: real: 2.908s, CPU: 2.915s
closing device
11 4096 sample blks of 64-bit floats written to dac
passed

Run Summary:    Type  Total    Ran Passed Failed Inactive
              suites      1      1    n/a      0        0
               tests      1      1      1      0        0
             asserts      0      0      0      0      n/a

Elapsed time =    9.141 seconds

Steven@Steven-PC ~/csound6/tests/c

On Thu, Aug 22, 2013 at 3:57 PM, Michael Gogins
<michael.gogins@gmail.com> wrote:
> I meant, the use of PRE-built Qt is out of the question.
>
> Mike
>
>
> ===========================
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
>
>
> On Thu, Aug 22, 2013 at 3:41 PM, Michael Gogins <michael.gogins@gmail.com>
> wrote:
>>
>> I did not try versions of Qt earlier than 5.x.
>>
>> The use of rebuilt Qt is out of the question here because of a bug in the
>> bundled MinGW 4.8.0. Building Qt is not so bad but of course it is time
>> consuming.
>>
>> If you don't have CUnit then build the examples\cpp\ test whatever it is
>> called, upon which the unit test is based. You can build it with a single
>> command.
>>
>> The thing I'm really dying to know right now is whether your build will
>> run CsoundPerformanceThread without crashing. That would be evidence of some
>> problem with MinGW 4.8.1.
>>
>> Best,
>> Mike
>>
>>
>>
>> ===========================
>> Michael Gogins
>> Irreducible Productions
>> http://michaelgogins.tumblr.com
>> Michael dot Gogins at gmail dot com
>>
>>
>> On Thu, Aug 22, 2013 at 3:17 PM, Michael Gogins <michael.gogins@gmail.com>
>> wrote:
>>>
>>> BTW, I saw the Java error when I was building with 4.7.2. I am not sure
>>> that I ever managed to test CsoundPerformanceThread in any of my Csound 6
>>> builds with 4.7.2, only with 4.8.1. So, in terms of science experiments, if
>>> we can't rule out switching to 4.8.1 as a cause of the
>>> CsoundPerformanceThread bug, it won't make sense for me to revert to 4.7.2.
>>>
>>> The use of macros in the Csound source code, and the use of pointer
>>> indexes instead of array indexing, is making it harder for me to debug the
>>> code.
>>>
>>> Best,
>>> Mike
>>>
>>>
>>> ===========================
>>> Michael Gogins
>>> Irreducible Productions
>>> http://michaelgogins.tumblr.com
>>> Michael dot Gogins at gmail dot com
>>>
>>>
>>> On Thu, Aug 22, 2013 at 3:10 PM, Michael Gogins
>>> <michael.gogins@gmail.com> wrote:
>>>>
>>>> Could you please run the tests/c/testPerfThread.exe unit test (or
>>>> whatever it's called).
>>>>
>>>> Also, it would be great if you could build the Qt 5.1 libraries with
>>>> 4.7.2 and then build CsoundQt. The directions in my document should be good.
>>>> You might have to edit qcs.pro a bit.
>>>>
>>>> Your Java error is exactly what I saw. I did quite a bit of debugging
>>>> and investigating with no results. I think we will have to do instruction
>>>> level debugging of the load.
>>>>
>>>>
>>>> ===========================
>>>> Michael Gogins
>>>> Irreducible Productions
>>>> http://michaelgogins.tumblr.com
>>>> Michael dot Gogins at gmail dot com
>>>>
>>>>
>>>> On Thu, Aug 22, 2013 at 2:58 PM, Steven Yi <stevenyi@gmail.com> wrote:
>>>>>
>>>>> Update: I got Csound 6 to build on Windows using mingw gcc 4.7.2. I
>>>>> had to build with -DUSE_ATOMIC_BUILTIN=0 and -DUSE_GETTEXT=0.
>>>>> Unfortunately I'm still getting the same issue with Java:
>>>>>
>>>>> $ java -cp ".;csnd6.jar" API6Test
>>>>> Exception in thread "main" java.lang.UnsatisfiedLinkError:
>>>>> csnd6.csnd6JNI.swig_m
>>>>> odule_init()V
>>>>>         at csnd6.csnd6JNI.swig_module_init(Native Method)
>>>>>         at csnd6.csnd6JNI.<clinit>(csnd6JNI.java:1075)
>>>>>         at csnd6.csnd6Constants.<clinit>(csnd6Constants.java:12)
>>>>>         at API6Test.main(API6Test.java:6)
>>>>>
>>>>> I checked the generated cxx and java files on OSX and Windows and they
>>>>> look the same.  With nm.exe I see symbols listed so I'm guessing it's
>>>>> not an export issue, but my memory about all this might be faulty.
>>>>>
>>>>> I see I have swig 2.0.10 on OSX and 2.0.4 on Windows.  I'll try
>>>>> updating but as the source files look the same to me, I'm not sure
>>>>> it'll do much. At least I'm starting to get somewhere here, I'll
>>>>> report anything further.
>>>>>
>>>>> On Thu, Aug 22, 2013 at 11:15 AM, Steven Yi <stevenyi@gmail.com> wrote:
>>>>> > Hi Michael,
>>>>> >
>>>>> > That sounds good.  I haven't begun work on mingwbuild yet so you
>>>>> > caught me just before I did anything.  I'll load up Win7 shortly and
>>>>> > see if I can get a complete build now. I'll relay anything here I
>>>>> > find.
>>>>> >
>>>>> > Thanks!
>>>>> > steven
>>>>> >
>>>>> > On Thu, Aug 22, 2013 at 11:10 AM, Michael Gogins
>>>>> > <michael.gogins@gmail.com> wrote:
>>>>> >> Actually Steven, I think my idea was not so great. It might be
>>>>> >> better, if
>>>>> >> you already have 4.7.2 on Windows, to see if that will run before
>>>>> >> switching
>>>>> >> to 4.8.1. What do you think?
>>>>> >>
>>>>> >> Best,
>>>>> >> Mike
>>>>> >>
>>>>> >>
>>>>> >> ===========================
>>>>> >> Michael Gogins
>>>>> >> Irreducible Productions
>>>>> >> http://michaelgogins.tumblr.com
>>>>> >> Michael dot Gogins at gmail dot com
>>>>> >>
>>>>> >>
>>>>> >> On Thu, Aug 22, 2013 at 2:28 AM, Oeyvind Brandtsegg
>>>>> >> <oyvind.brandtsegg@ntnu.no> wrote:
>>>>> >>>
>>>>> >>> I do have some problems with it that are hard to track down.
>>>>> >>> In very large orchestras (e.g. Hadron, ImproSculpt, and a new sound
>>>>> >>> installation that I'm working on) I get segfaults that I have
>>>>> >>> problems
>>>>> >>> isolating. When I strip down the orchestra the segfault seems to
>>>>> >>> vanish. I *think* it might have to do with race conditions, but as
>>>>> >>> I'm
>>>>> >>> not sure if problem lies in my Csound orchestra code or in Csound
>>>>> >>> itself, so I have been unable to report properly on this. The
>>>>> >>> orchestras do run fine with Csound5.
>>>>> >>> best
>>>>> >>> Oeyvind
>>>>> >>>
>>>>> >>> 2013/8/22 Michael Gogins <michael.gogins@gmail.com>:
>>>>> >>> > Csound 6 on Windows is in a sorry state. The
>>>>> >>> > CsoundPerformanceThread
>>>>> >>> > test
>>>>> >>> > fails on my PC. Compositions I wrote in C++ fail. CsoundQt
>>>>> >>> > fails.The
>>>>> >>> > Java
>>>>> >>> > examples fail. Of course everything builds, the regular Csound
>>>>> >>> > examples
>>>>> >>> > run,
>>>>> >>> > and the debugger is not telling me much.
>>>>> >>> >
>>>>> >>> > I would like to hear if there are problems, or not, on other
>>>>> >>> > people's
>>>>> >>> > PCs
>>>>> >>> > with the current Csound 6 installer.
>>>>> >>> >
>>>>> >>> > I have found an open source thing like valgrind for WIndows, Dr.
>>>>> >>> > Memory.
>>>>> >>> > I
>>>>> >>> > am using it but no help so far... it does report errors but I am
>>>>> >>> > not yet
>>>>> >>> > sure how to interpret them or whether they are serious.
>>>>> >>> >
>>>>> >>> > I have found an open source static code analysis thing for
>>>>> >>> > Windows,
>>>>> >>> > CppCheck. I am using it but no help so far.
>>>>> >>> >
>>>>> >>> > Regards,
>>>>> >>> > Mike
>>>>> >>> >
>>>>> >>> >
>>>>> >>> > ===========================
>>>>> >>> > Michael Gogins
>>>>> >>> > Irreducible Productions
>>>>> >>> > http://michaelgogins.tumblr.com
>>>>> >>> > Michael dot Gogins at gmail dot com
>>>>> >>> >
>>>>> >>> >
>>>>> >>> >
>>>>> >>> > ------------------------------------------------------------------------------
>>>>> >>> > Introducing Performance Central, a new site from SourceForge and
>>>>> >>> > AppDynamics. Performance Central is your source for news,
>>>>> >>> > insights,
>>>>> >>> > analysis and resources for efficient Application Performance
>>>>> >>> > Management.
>>>>> >>> > Visit us today!
>>>>> >>> >
>>>>> >>> >
>>>>> >>> > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>>>> >>> > _______________________________________________
>>>>> >>> > Csound-devel mailing list
>>>>> >>> > Csound-devel@lists.sourceforge.net
>>>>> >>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>> >>> >
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> --
>>>>> >>>
>>>>> >>> Oeyvind Brandtsegg
>>>>> >>> Professor of Music Technology
>>>>> >>> NTNU
>>>>> >>> 7491 Trondheim
>>>>> >>> Norway
>>>>> >>> Cell: +47 92 203 205
>>>>> >>>
>>>>> >>> http://flyndresang.no/
>>>>> >>> http://www.partikkelaudio.com/
>>>>> >>> http://soundcloud.com/brandtsegg
>>>>> >>> http://soundcloud.com/t-emp
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> ------------------------------------------------------------------------------
>>>>> >>> Introducing Performance Central, a new site from SourceForge and
>>>>> >>> AppDynamics. Performance Central is your source for news, insights,
>>>>> >>> analysis and resources for efficient Application Performance
>>>>> >>> Management.
>>>>> >>> Visit us today!
>>>>> >>>
>>>>> >>>
>>>>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>>>> >>> _______________________________________________
>>>>> >>> Csound-devel mailing list
>>>>> >>> Csound-devel@lists.sourceforge.net
>>>>> >>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>> >>
>>>>> >>
>>>>> >>
>>>>> >>
>>>>> >> ------------------------------------------------------------------------------
>>>>> >> Introducing Performance Central, a new site from SourceForge and
>>>>> >> AppDynamics. Performance Central is your source for news, insights,
>>>>> >> analysis and resources for efficient Application Performance
>>>>> >> Management.
>>>>> >> Visit us today!
>>>>> >>
>>>>> >> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>>>> >> _______________________________________________
>>>>> >> Csound-devel mailing list
>>>>> >> Csound-devel@lists.sourceforge.net
>>>>> >> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>> >>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Introducing Performance Central, a new site from SourceForge and
>>>>> AppDynamics. Performance Central is your source for news, insights,
>>>>> analysis and resources for efficient Application Performance
>>>>> Management.
>>>>> Visit us today!
>>>>>
>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>
>>
>
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



Date2013-08-23 00:04
FromSteven Yi
SubjectRe: [Cs-dev] Csound 6 on WIndows
I did use the mingw-get version.  The gcc -v result is:

$ gcc -v
Using built-in specs.
COLLECT_GCC=C:\MinGW\bin\gcc.exe
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.7.2/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.7.2/configure --enable-languages=c,c++,ada,fortran,obj
c,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgo
mp --disable-win32-registry --enable-libstdcxx-debug --disable-build-poststage1-
with-cxx --enable-version-specific-runtime-libs --build=mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.7.2 (GCC)

QT and CsoundQT is a bit much for today.  I'll start looking into that
tomorrow, as well as the Java interface.





On Thu, Aug 22, 2013 at 4:24 PM, Michael Gogins
 wrote:
> Thanks, Steven. That's a big help. Yes, that's the correct test.
>
> I think this points to MinGW 4.8.1 being a factor in a number of issues
> including CsoundPerformanceThread, CsoundQt which uses
> CsoundPerformanceThread, possibly large orchestras and C++ compositions.
> That of course does not mean CsoundPerformanceThread couldn't be got to work
> with 4.8.1, but why bother?
>
> I suppose I will have to revert my system to MinGW 4.7.2. It's a fair amount
> of work. Did you use the MinGW-get version? Please run gcc -v and email me
> the result. I need to know whether you used dwarf2 or sjlj, Posix threads or
> Windows threads, etc.
>
> It would still be helpful if you could build Qt and try it...
>
> Best,
> Mike
>
>
>
>
> ===========================
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
>
>
> On Thu, Aug 22, 2013 at 4:08 PM, Steven Yi  wrote:
>>
>> Hi Michael,
>>
>> I ended up doing the self-compile and it seems to have successfully
>> run the test.  Output is below. Is this the correct test?
>> (tests/c/perfthread_test.cpp)
>>
>> steven
>>
>>
>>
>> Steven@Steven-PC ~/csound6/tests/c
>> $ ./a.exe
>>
>>
>>      CUnit - A unit testing framework for C - Version 2.1-2
>>      http://cunit.sourceforge.net/
>>
>>
>> Suite: perfthread tests
>>   Test: Test Performance Thread ...virtual_keyboard real time MIDI plugin
>> for Cs
>> ound
>> 0dBFS level = 32768.0
>> Csound version 6.00.1 (double samples) Aug  7 2013
>> libsndfile-1.0.25
>> rtaudio: PortAudio module enabled ...
>> using callback interface
>> rtmidi: PortMIDI module enabled
>> Csound version 6.00.1 (double samples) Aug  7 2013
>> graphics suppressed, ascii substituted
>> 0dBFS level = 32768.0
>> orch now loaded
>> audio buffered in 4096 sample-frame blocks
>> PortAudio V19-devel (built Aug  3 2013 12:54:43)
>>    0: dac0 (Microsoft Sound Mapper - Output)
>>    1: dac1 (Headphones (High Definition Aud)
>>    2: dac2 (Speakers (High Definition Audio)
>>    3: dac3 (Primary Sound Driver)
>>    4: dac4 (Headphones (High Definition Audio Device))
>>    5: dac5 (Speakers (High Definition Audio Device))
>> PortAudio: selected output device 'Headphones (High Definition Aud'
>> writing 4096 sample blks of 64-bit floats to dac
>> SECTION 1:
>> new alloc for instr 1:
>> B  0.000 ..  1.000 T  1.000 TT  1.000 M:   9445.1
>> Score finished in csoundPerformKsmps().
>> inactive allocs returned to freespace
>> end of score.              overall amps:   9445.1
>>            overall samples out of range:        0
>> 0 errors in performance
>> Elapsed time at end of performance: real: 2.908s, CPU: 2.915s
>> closing device
>> 11 4096 sample blks of 64-bit floats written to dac
>> passed
>>
>> Run Summary:    Type  Total    Ran Passed Failed Inactive
>>               suites      1      1    n/a      0        0
>>                tests      1      1      1      0        0
>>              asserts      0      0      0      0      n/a
>>
>> Elapsed time =    9.141 seconds
>>
>> Steven@Steven-PC ~/csound6/tests/c
>>
>> On Thu, Aug 22, 2013 at 3:57 PM, Michael Gogins
>>  wrote:
>> > I meant, the use of PRE-built Qt is out of the question.
>> >
>> > Mike
>> >
>> >
>> > ===========================
>> > Michael Gogins
>> > Irreducible Productions
>> > http://michaelgogins.tumblr.com
>> > Michael dot Gogins at gmail dot com
>> >
>> >
>> > On Thu, Aug 22, 2013 at 3:41 PM, Michael Gogins
>> > 
>> > wrote:
>> >>
>> >> I did not try versions of Qt earlier than 5.x.
>> >>
>> >> The use of rebuilt Qt is out of the question here because of a bug in
>> >> the
>> >> bundled MinGW 4.8.0. Building Qt is not so bad but of course it is time
>> >> consuming.
>> >>
>> >> If you don't have CUnit then build the examples\cpp\ test whatever it
>> >> is
>> >> called, upon which the unit test is based. You can build it with a
>> >> single
>> >> command.
>> >>
>> >> The thing I'm really dying to know right now is whether your build will
>> >> run CsoundPerformanceThread without crashing. That would be evidence of
>> >> some
>> >> problem with MinGW 4.8.1.
>> >>
>> >> Best,
>> >> Mike
>> >>
>> >>
>> >>
>> >> ===========================
>> >> Michael Gogins
>> >> Irreducible Productions
>> >> http://michaelgogins.tumblr.com
>> >> Michael dot Gogins at gmail dot com
>> >>
>> >>
>> >> On Thu, Aug 22, 2013 at 3:17 PM, Michael Gogins
>> >> 
>> >> wrote:
>> >>>
>> >>> BTW, I saw the Java error when I was building with 4.7.2. I am not
>> >>> sure
>> >>> that I ever managed to test CsoundPerformanceThread in any of my
>> >>> Csound 6
>> >>> builds with 4.7.2, only with 4.8.1. So, in terms of science
>> >>> experiments, if
>> >>> we can't rule out switching to 4.8.1 as a cause of the
>> >>> CsoundPerformanceThread bug, it won't make sense for me to revert to
>> >>> 4.7.2.
>> >>>
>> >>> The use of macros in the Csound source code, and the use of pointer
>> >>> indexes instead of array indexing, is making it harder for me to debug
>> >>> the
>> >>> code.
>> >>>
>> >>> Best,
>> >>> Mike
>> >>>
>> >>>
>> >>> ===========================
>> >>> Michael Gogins
>> >>> Irreducible Productions
>> >>> http://michaelgogins.tumblr.com
>> >>> Michael dot Gogins at gmail dot com
>> >>>
>> >>>
>> >>> On Thu, Aug 22, 2013 at 3:10 PM, Michael Gogins
>> >>>  wrote:
>> >>>>
>> >>>> Could you please run the tests/c/testPerfThread.exe unit test (or
>> >>>> whatever it's called).
>> >>>>
>> >>>> Also, it would be great if you could build the Qt 5.1 libraries with
>> >>>> 4.7.2 and then build CsoundQt. The directions in my document should
>> >>>> be good.
>> >>>> You might have to edit qcs.pro a bit.
>> >>>>
>> >>>> Your Java error is exactly what I saw. I did quite a bit of debugging
>> >>>> and investigating with no results. I think we will have to do
>> >>>> instruction
>> >>>> level debugging of the load.
>> >>>>
>> >>>>
>> >>>> ===========================
>> >>>> Michael Gogins
>> >>>> Irreducible Productions
>> >>>> http://michaelgogins.tumblr.com
>> >>>> Michael dot Gogins at gmail dot com
>> >>>>
>> >>>>
>> >>>> On Thu, Aug 22, 2013 at 2:58 PM, Steven Yi 
>> >>>> wrote:
>> >>>>>
>> >>>>> Update: I got Csound 6 to build on Windows using mingw gcc 4.7.2. I
>> >>>>> had to build with -DUSE_ATOMIC_BUILTIN=0 and -DUSE_GETTEXT=0.
>> >>>>> Unfortunately I'm still getting the same issue with Java:
>> >>>>>
>> >>>>> $ java -cp ".;csnd6.jar" API6Test
>> >>>>> Exception in thread "main" java.lang.UnsatisfiedLinkError:
>> >>>>> csnd6.csnd6JNI.swig_m
>> >>>>> odule_init()V
>> >>>>>         at csnd6.csnd6JNI.swig_module_init(Native Method)
>> >>>>>         at csnd6.csnd6JNI.(csnd6JNI.java:1075)
>> >>>>>         at csnd6.csnd6Constants.(csnd6Constants.java:12)
>> >>>>>         at API6Test.main(API6Test.java:6)
>> >>>>>
>> >>>>> I checked the generated cxx and java files on OSX and Windows and
>> >>>>> they
>> >>>>> look the same.  With nm.exe I see symbols listed so I'm guessing
>> >>>>> it's
>> >>>>> not an export issue, but my memory about all this might be faulty.
>> >>>>>
>> >>>>> I see I have swig 2.0.10 on OSX and 2.0.4 on Windows.  I'll try
>> >>>>> updating but as the source files look the same to me, I'm not sure
>> >>>>> it'll do much. At least I'm starting to get somewhere here, I'll
>> >>>>> report anything further.
>> >>>>>
>> >>>>> On Thu, Aug 22, 2013 at 11:15 AM, Steven Yi 
>> >>>>> wrote:
>> >>>>> > Hi Michael,
>> >>>>> >
>> >>>>> > That sounds good.  I haven't begun work on mingwbuild yet so you
>> >>>>> > caught me just before I did anything.  I'll load up Win7 shortly
>> >>>>> > and
>> >>>>> > see if I can get a complete build now. I'll relay anything here I
>> >>>>> > find.
>> >>>>> >
>> >>>>> > Thanks!
>> >>>>> > steven
>> >>>>> >
>> >>>>> > On Thu, Aug 22, 2013 at 11:10 AM, Michael Gogins
>> >>>>> >  wrote:
>> >>>>> >> Actually Steven, I think my idea was not so great. It might be
>> >>>>> >> better, if
>> >>>>> >> you already have 4.7.2 on Windows, to see if that will run before
>> >>>>> >> switching
>> >>>>> >> to 4.8.1. What do you think?
>> >>>>> >>
>> >>>>> >> Best,
>> >>>>> >> Mike
>> >>>>> >>
>> >>>>> >>
>> >>>>> >> ===========================
>> >>>>> >> Michael Gogins
>> >>>>> >> Irreducible Productions
>> >>>>> >> http://michaelgogins.tumblr.com
>> >>>>> >> Michael dot Gogins at gmail dot com
>> >>>>> >>
>> >>>>> >>
>> >>>>> >> On Thu, Aug 22, 2013 at 2:28 AM, Oeyvind Brandtsegg
>> >>>>> >>  wrote:
>> >>>>> >>>
>> >>>>> >>> I do have some problems with it that are hard to track down.
>> >>>>> >>> In very large orchestras (e.g. Hadron, ImproSculpt, and a new
>> >>>>> >>> sound
>> >>>>> >>> installation that I'm working on) I get segfaults that I have
>> >>>>> >>> problems
>> >>>>> >>> isolating. When I strip down the orchestra the segfault seems to
>> >>>>> >>> vanish. I *think* it might have to do with race conditions, but
>> >>>>> >>> as
>> >>>>> >>> I'm
>> >>>>> >>> not sure if problem lies in my Csound orchestra code or in
>> >>>>> >>> Csound
>> >>>>> >>> itself, so I have been unable to report properly on this. The
>> >>>>> >>> orchestras do run fine with Csound5.
>> >>>>> >>> best
>> >>>>> >>> Oeyvind
>> >>>>> >>>
>> >>>>> >>> 2013/8/22 Michael Gogins :
>> >>>>> >>> > Csound 6 on Windows is in a sorry state. The
>> >>>>> >>> > CsoundPerformanceThread
>> >>>>> >>> > test
>> >>>>> >>> > fails on my PC. Compositions I wrote in C++ fail. CsoundQt
>> >>>>> >>> > fails.The
>> >>>>> >>> > Java
>> >>>>> >>> > examples fail. Of course everything builds, the regular Csound
>> >>>>> >>> > examples
>> >>>>> >>> > run,
>> >>>>> >>> > and the debugger is not telling me much.
>> >>>>> >>> >
>> >>>>> >>> > I would like to hear if there are problems, or not, on other
>> >>>>> >>> > people's
>> >>>>> >>> > PCs
>> >>>>> >>> > with the current Csound 6 installer.
>> >>>>> >>> >
>> >>>>> >>> > I have found an open source thing like valgrind for WIndows,
>> >>>>> >>> > Dr.
>> >>>>> >>> > Memory.
>> >>>>> >>> > I
>> >>>>> >>> > am using it but no help so far... it does report errors but I
>> >>>>> >>> > am
>> >>>>> >>> > not yet
>> >>>>> >>> > sure how to interpret them or whether they are serious.
>> >>>>> >>> >
>> >>>>> >>> > I have found an open source static code analysis thing for
>> >>>>> >>> > Windows,
>> >>>>> >>> > CppCheck. I am using it but no help so far.
>> >>>>> >>> >
>> >>>>> >>> > Regards,
>> >>>>> >>> > Mike
>> >>>>> >>> >
>> >>>>> >>> >
>> >>>>> >>> > ===========================
>> >>>>> >>> > Michael Gogins
>> >>>>> >>> > Irreducible Productions
>> >>>>> >>> > http://michaelgogins.tumblr.com
>> >>>>> >>> > Michael dot Gogins at gmail dot com
>> >>>>> >>> >
>> >>>>> >>> >
>> >>>>> >>> >
>> >>>>> >>> >
>> >>>>> >>> > ------------------------------------------------------------------------------
>> >>>>> >>> > Introducing Performance Central, a new site from SourceForge
>> >>>>> >>> > and
>> >>>>> >>> > AppDynamics. Performance Central is your source for news,
>> >>>>> >>> > insights,
>> >>>>> >>> > analysis and resources for efficient Application Performance
>> >>>>> >>> > Management.
>> >>>>> >>> > Visit us today!
>> >>>>> >>> >
>> >>>>> >>> >
>> >>>>> >>> >
>> >>>>> >>> > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>> >>>>> >>> > _______________________________________________
>> >>>>> >>> > Csound-devel mailing list
>> >>>>> >>> > Csound-devel@lists.sourceforge.net
>> >>>>> >>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>> >>> >
>> >>>>> >>>
>> >>>>> >>>
>> >>>>> >>>
>> >>>>> >>> --
>> >>>>> >>>
>> >>>>> >>> Oeyvind Brandtsegg
>> >>>>> >>> Professor of Music Technology
>> >>>>> >>> NTNU
>> >>>>> >>> 7491 Trondheim
>> >>>>> >>> Norway
>> >>>>> >>> Cell: +47 92 203 205
>> >>>>> >>>
>> >>>>> >>> http://flyndresang.no/
>> >>>>> >>> http://www.partikkelaudio.com/
>> >>>>> >>> http://soundcloud.com/brandtsegg
>> >>>>> >>> http://soundcloud.com/t-emp
>> >>>>> >>>
>> >>>>> >>>
>> >>>>> >>>
>> >>>>> >>>
>> >>>>> >>> ------------------------------------------------------------------------------
>> >>>>> >>> Introducing Performance Central, a new site from SourceForge and
>> >>>>> >>> AppDynamics. Performance Central is your source for news,
>> >>>>> >>> insights,
>> >>>>> >>> analysis and resources for efficient Application Performance
>> >>>>> >>> Management.
>> >>>>> >>> Visit us today!
>> >>>>> >>>
>> >>>>> >>>
>> >>>>> >>>
>> >>>>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>> >>>>> >>> _______________________________________________
>> >>>>> >>> Csound-devel mailing list
>> >>>>> >>> Csound-devel@lists.sourceforge.net
>> >>>>> >>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>> >>
>> >>>>> >>
>> >>>>> >>
>> >>>>> >>
>> >>>>> >>
>> >>>>> >> ------------------------------------------------------------------------------
>> >>>>> >> Introducing Performance Central, a new site from SourceForge and
>> >>>>> >> AppDynamics. Performance Central is your source for news,
>> >>>>> >> insights,
>> >>>>> >> analysis and resources for efficient Application Performance
>> >>>>> >> Management.
>> >>>>> >> Visit us today!
>> >>>>> >>
>> >>>>> >>
>> >>>>> >> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>> >>>>> >> _______________________________________________
>> >>>>> >> Csound-devel mailing list
>> >>>>> >> Csound-devel@lists.sourceforge.net
>> >>>>> >> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>> >>
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>> ------------------------------------------------------------------------------
>> >>>>> Introducing Performance Central, a new site from SourceForge and
>> >>>>> AppDynamics. Performance Central is your source for news, insights,
>> >>>>> analysis and resources for efficient Application Performance
>> >>>>> Management.
>> >>>>> Visit us today!
>> >>>>>
>> >>>>>
>> >>>>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>> >>>>> _______________________________________________
>> >>>>> Csound-devel mailing list
>> >>>>> Csound-devel@lists.sourceforge.net
>> >>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>
>> >>>>
>> >>>
>> >>
>> >
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > Introducing Performance Central, a new site from SourceForge and
>> > AppDynamics. Performance Central is your source for news, insights,
>> > analysis and resources for efficient Application Performance Management.
>> > Visit us today!
>> >
>> > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>> > _______________________________________________
>> > Csound-devel mailing list
>> > Csound-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >
>>
>>
>> ------------------------------------------------------------------------------
>> Introducing Performance Central, a new site from SourceForge and
>> AppDynamics. Performance Central is your source for news, insights,
>> analysis and resources for efficient Application Performance Management.
>> Visit us today!
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-08-23 00:05
FromSteven Yi
SubjectRe: [Cs-dev] Csound 6 on WIndows
That's handy advice, thanks Andy!

On Thu, Aug 22, 2013 at 6:48 PM, andy fillebrown
 wrote:
> The only two modules you should need from Qt are Core and Gui.  All the
> other modules can be deleted from the source tree before building.
>
>
> On Thu, Aug 22, 2013 at 4:24 PM, Michael Gogins 
> wrote:
>>
>> Thanks, Steven. That's a big help. Yes, that's the correct test.
>>
>> I think this points to MinGW 4.8.1 being a factor in a number of issues
>> including CsoundPerformanceThread, CsoundQt which uses
>> CsoundPerformanceThread, possibly large orchestras and C++ compositions.
>> That of course does not mean CsoundPerformanceThread couldn't be got to work
>> with 4.8.1, but why bother?
>>
>> I suppose I will have to revert my system to MinGW 4.7.2. It's a fair
>> amount of work. Did you use the MinGW-get version? Please run gcc -v and
>> email me the result. I need to know whether you used dwarf2 or sjlj, Posix
>> threads or Windows threads, etc.
>>
>> It would still be helpful if you could build Qt and try it...
>>
>> Best,
>> Mike
>>
>>
>>
>>
>> ===========================
>> Michael Gogins
>> Irreducible Productions
>> http://michaelgogins.tumblr.com
>> Michael dot Gogins at gmail dot com
>>
>>
>> On Thu, Aug 22, 2013 at 4:08 PM, Steven Yi  wrote:
>>>
>>> Hi Michael,
>>>
>>> I ended up doing the self-compile and it seems to have successfully
>>> run the test.  Output is below. Is this the correct test?
>>> (tests/c/perfthread_test.cpp)
>>>
>>> steven
>>>
>>>
>>>
>>> Steven@Steven-PC ~/csound6/tests/c
>>> $ ./a.exe
>>>
>>>
>>>      CUnit - A unit testing framework for C - Version 2.1-2
>>>      http://cunit.sourceforge.net/
>>>
>>>
>>> Suite: perfthread tests
>>>   Test: Test Performance Thread ...virtual_keyboard real time MIDI plugin
>>> for Cs
>>> ound
>>> 0dBFS level = 32768.0
>>> Csound version 6.00.1 (double samples) Aug  7 2013
>>> libsndfile-1.0.25
>>> rtaudio: PortAudio module enabled ...
>>> using callback interface
>>> rtmidi: PortMIDI module enabled
>>> Csound version 6.00.1 (double samples) Aug  7 2013
>>> graphics suppressed, ascii substituted
>>> 0dBFS level = 32768.0
>>> orch now loaded
>>> audio buffered in 4096 sample-frame blocks
>>> PortAudio V19-devel (built Aug  3 2013 12:54:43)
>>>    0: dac0 (Microsoft Sound Mapper - Output)
>>>    1: dac1 (Headphones (High Definition Aud)
>>>    2: dac2 (Speakers (High Definition Audio)
>>>    3: dac3 (Primary Sound Driver)
>>>    4: dac4 (Headphones (High Definition Audio Device))
>>>    5: dac5 (Speakers (High Definition Audio Device))
>>> PortAudio: selected output device 'Headphones (High Definition Aud'
>>> writing 4096 sample blks of 64-bit floats to dac
>>> SECTION 1:
>>> new alloc for instr 1:
>>> B  0.000 ..  1.000 T  1.000 TT  1.000 M:   9445.1
>>> Score finished in csoundPerformKsmps().
>>> inactive allocs returned to freespace
>>> end of score.              overall amps:   9445.1
>>>            overall samples out of range:        0
>>> 0 errors in performance
>>> Elapsed time at end of performance: real: 2.908s, CPU: 2.915s
>>> closing device
>>> 11 4096 sample blks of 64-bit floats written to dac
>>> passed
>>>
>>> Run Summary:    Type  Total    Ran Passed Failed Inactive
>>>               suites      1      1    n/a      0        0
>>>                tests      1      1      1      0        0
>>>              asserts      0      0      0      0      n/a
>>>
>>> Elapsed time =    9.141 seconds
>>>
>>> Steven@Steven-PC ~/csound6/tests/c
>>>
>>> On Thu, Aug 22, 2013 at 3:57 PM, Michael Gogins
>>>  wrote:
>>> > I meant, the use of PRE-built Qt is out of the question.
>>> >
>>> > Mike
>>> >
>>> >
>>> > ===========================
>>> > Michael Gogins
>>> > Irreducible Productions
>>> > http://michaelgogins.tumblr.com
>>> > Michael dot Gogins at gmail dot com
>>> >
>>> >
>>> > On Thu, Aug 22, 2013 at 3:41 PM, Michael Gogins
>>> > 
>>> > wrote:
>>> >>
>>> >> I did not try versions of Qt earlier than 5.x.
>>> >>
>>> >> The use of rebuilt Qt is out of the question here because of a bug in
>>> >> the
>>> >> bundled MinGW 4.8.0. Building Qt is not so bad but of course it is
>>> >> time
>>> >> consuming.
>>> >>
>>> >> If you don't have CUnit then build the examples\cpp\ test whatever it
>>> >> is
>>> >> called, upon which the unit test is based. You can build it with a
>>> >> single
>>> >> command.
>>> >>
>>> >> The thing I'm really dying to know right now is whether your build
>>> >> will
>>> >> run CsoundPerformanceThread without crashing. That would be evidence
>>> >> of some
>>> >> problem with MinGW 4.8.1.
>>> >>
>>> >> Best,
>>> >> Mike
>>> >>
>>> >>
>>> >>
>>> >> ===========================
>>> >> Michael Gogins
>>> >> Irreducible Productions
>>> >> http://michaelgogins.tumblr.com
>>> >> Michael dot Gogins at gmail dot com
>>> >>
>>> >>
>>> >> On Thu, Aug 22, 2013 at 3:17 PM, Michael Gogins
>>> >> 
>>> >> wrote:
>>> >>>
>>> >>> BTW, I saw the Java error when I was building with 4.7.2. I am not
>>> >>> sure
>>> >>> that I ever managed to test CsoundPerformanceThread in any of my
>>> >>> Csound 6
>>> >>> builds with 4.7.2, only with 4.8.1. So, in terms of science
>>> >>> experiments, if
>>> >>> we can't rule out switching to 4.8.1 as a cause of the
>>> >>> CsoundPerformanceThread bug, it won't make sense for me to revert to
>>> >>> 4.7.2.
>>> >>>
>>> >>> The use of macros in the Csound source code, and the use of pointer
>>> >>> indexes instead of array indexing, is making it harder for me to
>>> >>> debug the
>>> >>> code.
>>> >>>
>>> >>> Best,
>>> >>> Mike
>>> >>>
>>> >>>
>>> >>> ===========================
>>> >>> Michael Gogins
>>> >>> Irreducible Productions
>>> >>> http://michaelgogins.tumblr.com
>>> >>> Michael dot Gogins at gmail dot com
>>> >>>
>>> >>>
>>> >>> On Thu, Aug 22, 2013 at 3:10 PM, Michael Gogins
>>> >>>  wrote:
>>> >>>>
>>> >>>> Could you please run the tests/c/testPerfThread.exe unit test (or
>>> >>>> whatever it's called).
>>> >>>>
>>> >>>> Also, it would be great if you could build the Qt 5.1 libraries with
>>> >>>> 4.7.2 and then build CsoundQt. The directions in my document should
>>> >>>> be good.
>>> >>>> You might have to edit qcs.pro a bit.
>>> >>>>
>>> >>>> Your Java error is exactly what I saw. I did quite a bit of
>>> >>>> debugging
>>> >>>> and investigating with no results. I think we will have to do
>>> >>>> instruction
>>> >>>> level debugging of the load.
>>> >>>>
>>> >>>>
>>> >>>> ===========================
>>> >>>> Michael Gogins
>>> >>>> Irreducible Productions
>>> >>>> http://michaelgogins.tumblr.com
>>> >>>> Michael dot Gogins at gmail dot com
>>> >>>>
>>> >>>>
>>> >>>> On Thu, Aug 22, 2013 at 2:58 PM, Steven Yi 
>>> >>>> wrote:
>>> >>>>>
>>> >>>>> Update: I got Csound 6 to build on Windows using mingw gcc 4.7.2. I
>>> >>>>> had to build with -DUSE_ATOMIC_BUILTIN=0 and -DUSE_GETTEXT=0.
>>> >>>>> Unfortunately I'm still getting the same issue with Java:
>>> >>>>>
>>> >>>>> $ java -cp ".;csnd6.jar" API6Test
>>> >>>>> Exception in thread "main" java.lang.UnsatisfiedLinkError:
>>> >>>>> csnd6.csnd6JNI.swig_m
>>> >>>>> odule_init()V
>>> >>>>>         at csnd6.csnd6JNI.swig_module_init(Native Method)
>>> >>>>>         at csnd6.csnd6JNI.(csnd6JNI.java:1075)
>>> >>>>>         at csnd6.csnd6Constants.(csnd6Constants.java:12)
>>> >>>>>         at API6Test.main(API6Test.java:6)
>>> >>>>>
>>> >>>>> I checked the generated cxx and java files on OSX and Windows and
>>> >>>>> they
>>> >>>>> look the same.  With nm.exe I see symbols listed so I'm guessing
>>> >>>>> it's
>>> >>>>> not an export issue, but my memory about all this might be faulty.
>>> >>>>>
>>> >>>>> I see I have swig 2.0.10 on OSX and 2.0.4 on Windows.  I'll try
>>> >>>>> updating but as the source files look the same to me, I'm not sure
>>> >>>>> it'll do much. At least I'm starting to get somewhere here, I'll
>>> >>>>> report anything further.
>>> >>>>>
>>> >>>>> On Thu, Aug 22, 2013 at 11:15 AM, Steven Yi 
>>> >>>>> wrote:
>>> >>>>> > Hi Michael,
>>> >>>>> >
>>> >>>>> > That sounds good.  I haven't begun work on mingwbuild yet so you
>>> >>>>> > caught me just before I did anything.  I'll load up Win7 shortly
>>> >>>>> > and
>>> >>>>> > see if I can get a complete build now. I'll relay anything here I
>>> >>>>> > find.
>>> >>>>> >
>>> >>>>> > Thanks!
>>> >>>>> > steven
>>> >>>>> >
>>> >>>>> > On Thu, Aug 22, 2013 at 11:10 AM, Michael Gogins
>>> >>>>> >  wrote:
>>> >>>>> >> Actually Steven, I think my idea was not so great. It might be
>>> >>>>> >> better, if
>>> >>>>> >> you already have 4.7.2 on Windows, to see if that will run
>>> >>>>> >> before
>>> >>>>> >> switching
>>> >>>>> >> to 4.8.1. What do you think?
>>> >>>>> >>
>>> >>>>> >> Best,
>>> >>>>> >> Mike
>>> >>>>> >>
>>> >>>>> >>
>>> >>>>> >> ===========================
>>> >>>>> >> Michael Gogins
>>> >>>>> >> Irreducible Productions
>>> >>>>> >> http://michaelgogins.tumblr.com
>>> >>>>> >> Michael dot Gogins at gmail dot com
>>> >>>>> >>
>>> >>>>> >>
>>> >>>>> >> On Thu, Aug 22, 2013 at 2:28 AM, Oeyvind Brandtsegg
>>> >>>>> >>  wrote:
>>> >>>>> >>>
>>> >>>>> >>> I do have some problems with it that are hard to track down.
>>> >>>>> >>> In very large orchestras (e.g. Hadron, ImproSculpt, and a new
>>> >>>>> >>> sound
>>> >>>>> >>> installation that I'm working on) I get segfaults that I have
>>> >>>>> >>> problems
>>> >>>>> >>> isolating. When I strip down the orchestra the segfault seems
>>> >>>>> >>> to
>>> >>>>> >>> vanish. I *think* it might have to do with race conditions, but
>>> >>>>> >>> as
>>> >>>>> >>> I'm
>>> >>>>> >>> not sure if problem lies in my Csound orchestra code or in
>>> >>>>> >>> Csound
>>> >>>>> >>> itself, so I have been unable to report properly on this. The
>>> >>>>> >>> orchestras do run fine with Csound5.
>>> >>>>> >>> best
>>> >>>>> >>> Oeyvind
>>> >>>>> >>>
>>> >>>>> >>> 2013/8/22 Michael Gogins :
>>> >>>>> >>> > Csound 6 on Windows is in a sorry state. The
>>> >>>>> >>> > CsoundPerformanceThread
>>> >>>>> >>> > test
>>> >>>>> >>> > fails on my PC. Compositions I wrote in C++ fail. CsoundQt
>>> >>>>> >>> > fails.The
>>> >>>>> >>> > Java
>>> >>>>> >>> > examples fail. Of course everything builds, the regular
>>> >>>>> >>> > Csound
>>> >>>>> >>> > examples
>>> >>>>> >>> > run,
>>> >>>>> >>> > and the debugger is not telling me much.
>>> >>>>> >>> >
>>> >>>>> >>> > I would like to hear if there are problems, or not, on other
>>> >>>>> >>> > people's
>>> >>>>> >>> > PCs
>>> >>>>> >>> > with the current Csound 6 installer.
>>> >>>>> >>> >
>>> >>>>> >>> > I have found an open source thing like valgrind for WIndows,
>>> >>>>> >>> > Dr.
>>> >>>>> >>> > Memory.
>>> >>>>> >>> > I
>>> >>>>> >>> > am using it but no help so far... it does report errors but I
>>> >>>>> >>> > am
>>> >>>>> >>> > not yet
>>> >>>>> >>> > sure how to interpret them or whether they are serious.
>>> >>>>> >>> >
>>> >>>>> >>> > I have found an open source static code analysis thing for
>>> >>>>> >>> > Windows,
>>> >>>>> >>> > CppCheck. I am using it but no help so far.
>>> >>>>> >>> >
>>> >>>>> >>> > Regards,
>>> >>>>> >>> > Mike
>>> >>>>> >>> >
>>> >>>>> >>> >
>>> >>>>> >>> > ===========================
>>> >>>>> >>> > Michael Gogins
>>> >>>>> >>> > Irreducible Productions
>>> >>>>> >>> > http://michaelgogins.tumblr.com
>>> >>>>> >>> > Michael dot Gogins at gmail dot com
>>> >>>>> >>> >
>>> >>>>> >>> >
>>> >>>>> >>> >
>>> >>>>> >>> >
>>> >>>>> >>> > ------------------------------------------------------------------------------
>>> >>>>> >>> > Introducing Performance Central, a new site from SourceForge
>>> >>>>> >>> > and
>>> >>>>> >>> > AppDynamics. Performance Central is your source for news,
>>> >>>>> >>> > insights,
>>> >>>>> >>> > analysis and resources for efficient Application Performance
>>> >>>>> >>> > Management.
>>> >>>>> >>> > Visit us today!
>>> >>>>> >>> >
>>> >>>>> >>> >
>>> >>>>> >>> >
>>> >>>>> >>> > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>> >>>>> >>> > _______________________________________________
>>> >>>>> >>> > Csound-devel mailing list
>>> >>>>> >>> > Csound-devel@lists.sourceforge.net
>>> >>>>> >>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> >>>>> >>> >
>>> >>>>> >>>
>>> >>>>> >>>
>>> >>>>> >>>
>>> >>>>> >>> --
>>> >>>>> >>>
>>> >>>>> >>> Oeyvind Brandtsegg
>>> >>>>> >>> Professor of Music Technology
>>> >>>>> >>> NTNU
>>> >>>>> >>> 7491 Trondheim
>>> >>>>> >>> Norway
>>> >>>>> >>> Cell: +47 92 203 205
>>> >>>>> >>>
>>> >>>>> >>> http://flyndresang.no/
>>> >>>>> >>> http://www.partikkelaudio.com/
>>> >>>>> >>> http://soundcloud.com/brandtsegg
>>> >>>>> >>> http://soundcloud.com/t-emp
>>> >>>>> >>>
>>> >>>>> >>>
>>> >>>>> >>>
>>> >>>>> >>>
>>> >>>>> >>> ------------------------------------------------------------------------------
>>> >>>>> >>> Introducing Performance Central, a new site from SourceForge
>>> >>>>> >>> and
>>> >>>>> >>> AppDynamics. Performance Central is your source for news,
>>> >>>>> >>> insights,
>>> >>>>> >>> analysis and resources for efficient Application Performance
>>> >>>>> >>> Management.
>>> >>>>> >>> Visit us today!
>>> >>>>> >>>
>>> >>>>> >>>
>>> >>>>> >>>
>>> >>>>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>> >>>>> >>> _______________________________________________
>>> >>>>> >>> Csound-devel mailing list
>>> >>>>> >>> Csound-devel@lists.sourceforge.net
>>> >>>>> >>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> >>>>> >>
>>> >>>>> >>
>>> >>>>> >>
>>> >>>>> >>
>>> >>>>> >>
>>> >>>>> >> ------------------------------------------------------------------------------
>>> >>>>> >> Introducing Performance Central, a new site from SourceForge and
>>> >>>>> >> AppDynamics. Performance Central is your source for news,
>>> >>>>> >> insights,
>>> >>>>> >> analysis and resources for efficient Application Performance
>>> >>>>> >> Management.
>>> >>>>> >> Visit us today!
>>> >>>>> >>
>>> >>>>> >>
>>> >>>>> >> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>> >>>>> >> _______________________________________________
>>> >>>>> >> Csound-devel mailing list
>>> >>>>> >> Csound-devel@lists.sourceforge.net
>>> >>>>> >> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> >>>>> >>
>>> >>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>> ------------------------------------------------------------------------------
>>> >>>>> Introducing Performance Central, a new site from SourceForge and
>>> >>>>> AppDynamics. Performance Central is your source for news, insights,
>>> >>>>> analysis and resources for efficient Application Performance
>>> >>>>> Management.
>>> >>>>> Visit us today!
>>> >>>>>
>>> >>>>>
>>> >>>>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>> >>>>> _______________________________________________
>>> >>>>> Csound-devel mailing list
>>> >>>>> Csound-devel@lists.sourceforge.net
>>> >>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> >>>>
>>> >>>>
>>> >>>
>>> >>
>>> >
>>> >
>>> >
>>> > ------------------------------------------------------------------------------
>>> > Introducing Performance Central, a new site from SourceForge and
>>> > AppDynamics. Performance Central is your source for news, insights,
>>> > analysis and resources for efficient Application Performance
>>> > Management.
>>> > Visit us today!
>>> >
>>> > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>> > _______________________________________________
>>> > Csound-devel mailing list
>>> > Csound-devel@lists.sourceforge.net
>>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> >
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Introducing Performance Central, a new site from SourceForge and
>>> AppDynamics. Performance Central is your source for news, insights,
>>> analysis and resources for efficient Application Performance Management.
>>> Visit us today!
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Introducing Performance Central, a new site from SourceForge and
>> AppDynamics. Performance Central is your source for news, insights,
>> analysis and resources for efficient Application Performance Management.
>> Visit us today!
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-08-23 00:42
FromAndres Cabrera
SubjectRe: [Cs-dev] Csound 6 on WIndows
AttachmentsNone  None  
Hi,

QtXml is also needed.

Cheers,
Andrés


On Thu, Aug 22, 2013 at 3:48 PM, andy fillebrown <andy.fillebrown@gmail.com> wrote:
The only two modules you should need from Qt are Core and Gui.  All the other modules can be deleted from the source tree before building.


On Thu, Aug 22, 2013 at 4:24 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
Thanks, Steven. That's a big help. Yes, that's the correct test. 

I think this points to MinGW 4.8.1 being a factor in a number of issues including CsoundPerformanceThread, CsoundQt which uses CsoundPerformanceThread, possibly large orchestras and C++ compositions. That of course does not mean CsoundPerformanceThread couldn't be got to work with 4.8.1, but why bother?

I suppose I will have to revert my system to MinGW 4.7.2. It's a fair amount of work. Did you use the MinGW-get version? Please run gcc -v and email me the result. I need to know whether you used dwarf2 or sjlj, Posix threads or Windows threads, etc.

It would still be helpful if you could build Qt and try it...

Best,
Mike




===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Thu, Aug 22, 2013 at 4:08 PM, Steven Yi <stevenyi@gmail.com> wrote:
Hi Michael,

I ended up doing the self-compile and it seems to have successfully
run the test.  Output is below. Is this the correct test?
(tests/c/perfthread_test.cpp)

steven



Steven@Steven-PC ~/csound6/tests/c
$ ./a.exe


     CUnit - A unit testing framework for C - Version 2.1-2
     http://cunit.sourceforge.net/


Suite: perfthread tests
  Test: Test Performance Thread ...virtual_keyboard real time MIDI plugin for Cs
ound
0dBFS level = 32768.0
Csound version 6.00.1 (double samples) Aug  7 2013
libsndfile-1.0.25
rtaudio: PortAudio module enabled ...
using callback interface
rtmidi: PortMIDI module enabled
Csound version 6.00.1 (double samples) Aug  7 2013
graphics suppressed, ascii substituted
0dBFS level = 32768.0
orch now loaded
audio buffered in 4096 sample-frame blocks
PortAudio V19-devel (built Aug  3 2013 12:54:43)
   0: dac0 (Microsoft Sound Mapper - Output)
   1: dac1 (Headphones (High Definition Aud)
   2: dac2 (Speakers (High Definition Audio)
   3: dac3 (Primary Sound Driver)
   4: dac4 (Headphones (High Definition Audio Device))
   5: dac5 (Speakers (High Definition Audio Device))
PortAudio: selected output device 'Headphones (High Definition Aud'
writing 4096 sample blks of 64-bit floats to dac
SECTION 1:
new alloc for instr 1:
B  0.000 ..  1.000 T  1.000 TT  1.000 M:   9445.1
Score finished in csoundPerformKsmps().
inactive allocs returned to freespace
end of score.              overall amps:   9445.1
           overall samples out of range:        0
0 errors in performance
Elapsed time at end of performance: real: 2.908s, CPU: 2.915s
closing device
11 4096 sample blks of 64-bit floats written to dac
passed

Run Summary:    Type  Total    Ran Passed Failed Inactive
              suites      1      1    n/a      0        0
               tests      1      1      1      0        0
             asserts      0      0      0      0      n/a

Elapsed time =    9.141 seconds

Steven@Steven-PC ~/csound6/tests/c

On Thu, Aug 22, 2013 at 3:57 PM, Michael Gogins
<michael.gogins@gmail.com> wrote:
> I meant, the use of PRE-built Qt is out of the question.
>
> Mike
>
>
> ===========================
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
>
>
> On Thu, Aug 22, 2013 at 3:41 PM, Michael Gogins <michael.gogins@gmail.com>
> wrote:
>>
>> I did not try versions of Qt earlier than 5.x.
>>
>> The use of rebuilt Qt is out of the question here because of a bug in the
>> bundled MinGW 4.8.0. Building Qt is not so bad but of course it is time
>> consuming.
>>
>> If you don't have CUnit then build the examples\cpp\ test whatever it is
>> called, upon which the unit test is based. You can build it with a single
>> command.
>>
>> The thing I'm really dying to know right now is whether your build will
>> run CsoundPerformanceThread without crashing. That would be evidence of some
>> problem with MinGW 4.8.1.
>>
>> Best,
>> Mike
>>
>>
>>
>> ===========================
>> Michael Gogins
>> Irreducible Productions
>> http://michaelgogins.tumblr.com
>> Michael dot Gogins at gmail dot com
>>
>>
>> On Thu, Aug 22, 2013 at 3:17 PM, Michael Gogins <michael.gogins@gmail.com>
>> wrote:
>>>
>>> BTW, I saw the Java error when I was building with 4.7.2. I am not sure
>>> that I ever managed to test CsoundPerformanceThread in any of my Csound 6
>>> builds with 4.7.2, only with 4.8.1. So, in terms of science experiments, if
>>> we can't rule out switching to 4.8.1 as a cause of the
>>> CsoundPerformanceThread bug, it won't make sense for me to revert to 4.7.2.
>>>
>>> The use of macros in the Csound source code, and the use of pointer
>>> indexes instead of array indexing, is making it harder for me to debug the
>>> code.
>>>
>>> Best,
>>> Mike
>>>
>>>
>>> ===========================
>>> Michael Gogins
>>> Irreducible Productions
>>> http://michaelgogins.tumblr.com
>>> Michael dot Gogins at gmail dot com
>>>
>>>
>>> On Thu, Aug 22, 2013 at 3:10 PM, Michael Gogins
>>> <michael.gogins@gmail.com> wrote:
>>>>
>>>> Could you please run the tests/c/testPerfThread.exe unit test (or
>>>> whatever it's called).
>>>>
>>>> Also, it would be great if you could build the Qt 5.1 libraries with
>>>> 4.7.2 and then build CsoundQt. The directions in my document should be good.
>>>> You might have to edit qcs.pro a bit.
>>>>
>>>> Your Java error is exactly what I saw. I did quite a bit of debugging
>>>> and investigating with no results. I think we will have to do instruction
>>>> level debugging of the load.
>>>>
>>>>
>>>> ===========================
>>>> Michael Gogins
>>>> Irreducible Productions
>>>> http://michaelgogins.tumblr.com
>>>> Michael dot Gogins at gmail dot com
>>>>
>>>>
>>>> On Thu, Aug 22, 2013 at 2:58 PM, Steven Yi <stevenyi@gmail.com> wrote:
>>>>>
>>>>> Update: I got Csound 6 to build on Windows using mingw gcc 4.7.2. I
>>>>> had to build with -DUSE_ATOMIC_BUILTIN=0 and -DUSE_GETTEXT=0.
>>>>> Unfortunately I'm still getting the same issue with Java:
>>>>>
>>>>> $ java -cp ".;csnd6.jar" API6Test
>>>>> Exception in thread "main" java.lang.UnsatisfiedLinkError:
>>>>> csnd6.csnd6JNI.swig_m
>>>>> odule_init()V
>>>>>         at csnd6.csnd6JNI.swig_module_init(Native Method)
>>>>>         at csnd6.csnd6JNI.<clinit>(csnd6JNI.java:1075)
>>>>>         at csnd6.csnd6Constants.<clinit>(csnd6Constants.java:12)
>>>>>         at API6Test.main(API6Test.java:6)
>>>>>
>>>>> I checked the generated cxx and java files on OSX and Windows and they
>>>>> look the same.  With nm.exe I see symbols listed so I'm guessing it's
>>>>> not an export issue, but my memory about all this might be faulty.
>>>>>
>>>>> I see I have swig 2.0.10 on OSX and 2.0.4 on Windows.  I'll try
>>>>> updating but as the source files look the same to me, I'm not sure
>>>>> it'll do much. At least I'm starting to get somewhere here, I'll
>>>>> report anything further.
>>>>>
>>>>> On Thu, Aug 22, 2013 at 11:15 AM, Steven Yi <stevenyi@gmail.com> wrote:
>>>>> > Hi Michael,
>>>>> >
>>>>> > That sounds good.  I haven't begun work on mingwbuild yet so you
>>>>> > caught me just before I did anything.  I'll load up Win7 shortly and
>>>>> > see if I can get a complete build now. I'll relay anything here I
>>>>> > find.
>>>>> >
>>>>> > Thanks!
>>>>> > steven
>>>>> >
>>>>> > On Thu, Aug 22, 2013 at 11:10 AM, Michael Gogins
>>>>> > <michael.gogins@gmail.com> wrote:
>>>>> >> Actually Steven, I think my idea was not so great. It might be
>>>>> >> better, if
>>>>> >> you already have 4.7.2 on Windows, to see if that will run before
>>>>> >> switching
>>>>> >> to 4.8.1. What do you think?
>>>>> >>
>>>>> >> Best,
>>>>> >> Mike
>>>>> >>
>>>>> >>
>>>>> >> ===========================
>>>>> >> Michael Gogins
>>>>> >> Irreducible Productions
>>>>> >> http://michaelgogins.tumblr.com
>>>>> >> Michael dot Gogins at gmail dot com
>>>>> >>
>>>>> >>
>>>>> >> On Thu, Aug 22, 2013 at 2:28 AM, Oeyvind Brandtsegg
>>>>> >> <oyvind.brandtsegg@ntnu.no> wrote:
>>>>> >>>
>>>>> >>> I do have some problems with it that are hard to track down.
>>>>> >>> In very large orchestras (e.g. Hadron, ImproSculpt, and a new sound
>>>>> >>> installation that I'm working on) I get segfaults that I have
>>>>> >>> problems
>>>>> >>> isolating. When I strip down the orchestra the segfault seems to
>>>>> >>> vanish. I *think* it might have to do with race conditions, but as
>>>>> >>> I'm
>>>>> >>> not sure if problem lies in my Csound orchestra code or in Csound
>>>>> >>> itself, so I have been unable to report properly on this. The
>>>>> >>> orchestras do run fine with Csound5.
>>>>> >>> best
>>>>> >>> Oeyvind
>>>>> >>>
>>>>> >>> 2013/8/22 Michael Gogins <michael.gogins@gmail.com>:
>>>>> >>> > Csound 6 on Windows is in a sorry state. The
>>>>> >>> > CsoundPerformanceThread
>>>>> >>> > test
>>>>> >>> > fails on my PC. Compositions I wrote in C++ fail. CsoundQt
>>>>> >>> > fails.The
>>>>> >>> > Java
>>>>> >>> > examples fail. Of course everything builds, the regular Csound
>>>>> >>> > examples
>>>>> >>> > run,
>>>>> >>> > and the debugger is not telling me much.
>>>>> >>> >
>>>>> >>> > I would like to hear if there are problems, or not, on other
>>>>> >>> > people's
>>>>> >>> > PCs
>>>>> >>> > with the current Csound 6 installer.
>>>>> >>> >
>>>>> >>> > I have found an open source thing like valgrind for WIndows, Dr.
>>>>> >>> > Memory.
>>>>> >>> > I
>>>>> >>> > am using it but no help so far... it does report errors but I am
>>>>> >>> > not yet
>>>>> >>> > sure how to interpret them or whether they are serious.
>>>>> >>> >
>>>>> >>> > I have found an open source static code analysis thing for
>>>>> >>> > Windows,
>>>>> >>> > CppCheck. I am using it but no help so far.
>>>>> >>> >
>>>>> >>> > Regards,
>>>>> >>> > Mike
>>>>> >>> >
>>>>> >>> >
>>>>> >>> > ===========================
>>>>> >>> > Michael Gogins
>>>>> >>> > Irreducible Productions
>>>>> >>> > http://michaelgogins.tumblr.com
>>>>> >>> > Michael dot Gogins at gmail dot com
>>>>> >>> >
>>>>> >>> >
>>>>> >>> >
>>>>> >>> > ------------------------------------------------------------------------------
>>>>> >>> > Introducing Performance Central, a new site from SourceForge and
>>>>> >>> > AppDynamics. Performance Central is your source for news,
>>>>> >>> > insights,
>>>>> >>> > analysis and resources for efficient Application Performance
>>>>> >>> > Management.
>>>>> >>> > Visit us today!
>>>>> >>> >
>>>>> >>> >
>>>>> >>> > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>>>> >>> > _______________________________________________
>>>>> >>> > Csound-devel mailing list
>>>>> >>> > Csound-devel@lists.sourceforge.net
>>>>> >>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>> >>> >
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> --
>>>>> >>>
>>>>> >>> Oeyvind Brandtsegg
>>>>> >>> Professor of Music Technology
>>>>> >>> NTNU
>>>>> >>> 7491 Trondheim
>>>>> >>> Norway
>>>>> >>> Cell: +47 92 203 205
>>>>> >>>
>>>>> >>> http://flyndresang.no/
>>>>> >>> http://www.partikkelaudio.com/
>>>>> >>> http://soundcloud.com/brandtsegg
>>>>> >>> http://soundcloud.com/t-emp
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> ------------------------------------------------------------------------------
>>>>> >>> Introducing Performance Central, a new site from SourceForge and
>>>>> >>> AppDynamics. Performance Central is your source for news, insights,
>>>>> >>> analysis and resources for efficient Application Performance
>>>>> >>> Management.
>>>>> >>> Visit us today!
>>>>> >>>
>>>>> >>>
>>>>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>>>> >>> _______________________________________________
>>>>> >>> Csound-devel mailing list
>>>>> >>> Csound-devel@lists.sourceforge.net
>>>>> >>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>> >>
>>>>> >>
>>>>> >>
>>>>> >>
>>>>> >> ------------------------------------------------------------------------------
>>>>> >> Introducing Performance Central, a new site from SourceForge and
>>>>> >> AppDynamics. Performance Central is your source for news, insights,
>>>>> >> analysis and resources for efficient Application Performance
>>>>> >> Management.
>>>>> >> Visit us today!
>>>>> >>
>>>>> >> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>>>> >> _______________________________________________
>>>>> >> Csound-devel mailing list
>>>>> >> Csound-devel@lists.sourceforge.net
>>>>> >> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>> >>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Introducing Performance Central, a new site from SourceForge and
>>>>> AppDynamics. Performance Central is your source for news, insights,
>>>>> analysis and resources for efficient Application Performance
>>>>> Management.
>>>>> Visit us today!
>>>>>
>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>
>>
>
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



Date2013-08-23 02:10
FromMichael Gogins
SubjectRe: [Cs-dev] Csound 6 on WIndows
AttachmentsNone  None  

The windows installer script lists them.

Best,
Mike

On Aug 22, 2013 7:42 PM, "Andres Cabrera" <mantaraya36@gmail.com> wrote:
Hi,

QtXml is also needed.

Cheers,
Andrés


On Thu, Aug 22, 2013 at 3:48 PM, andy fillebrown <andy.fillebrown@gmail.com> wrote:
The only two modules you should need from Qt are Core and Gui.  All the other modules can be deleted from the source tree before building.


On Thu, Aug 22, 2013 at 4:24 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
Thanks, Steven. That's a big help. Yes, that's the correct test. 

I think this points to MinGW 4.8.1 being a factor in a number of issues including CsoundPerformanceThread, CsoundQt which uses CsoundPerformanceThread, possibly large orchestras and C++ compositions. That of course does not mean CsoundPerformanceThread couldn't be got to work with 4.8.1, but why bother?

I suppose I will have to revert my system to MinGW 4.7.2. It's a fair amount of work. Did you use the MinGW-get version? Please run gcc -v and email me the result. I need to know whether you used dwarf2 or sjlj, Posix threads or Windows threads, etc.

It would still be helpful if you could build Qt and try it...

Best,
Mike




===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Thu, Aug 22, 2013 at 4:08 PM, Steven Yi <stevenyi@gmail.com> wrote:
Hi Michael,

I ended up doing the self-compile and it seems to have successfully
run the test.  Output is below. Is this the correct test?
(tests/c/perfthread_test.cpp)

steven



Steven@Steven-PC ~/csound6/tests/c
$ ./a.exe


     CUnit - A unit testing framework for C - Version 2.1-2
     http://cunit.sourceforge.net/


Suite: perfthread tests
  Test: Test Performance Thread ...virtual_keyboard real time MIDI plugin for Cs
ound
0dBFS level = 32768.0
Csound version 6.00.1 (double samples) Aug  7 2013
libsndfile-1.0.25
rtaudio: PortAudio module enabled ...
using callback interface
rtmidi: PortMIDI module enabled
Csound version 6.00.1 (double samples) Aug  7 2013
graphics suppressed, ascii substituted
0dBFS level = 32768.0
orch now loaded
audio buffered in 4096 sample-frame blocks
PortAudio V19-devel (built Aug  3 2013 12:54:43)
   0: dac0 (Microsoft Sound Mapper - Output)
   1: dac1 (Headphones (High Definition Aud)
   2: dac2 (Speakers (High Definition Audio)
   3: dac3 (Primary Sound Driver)
   4: dac4 (Headphones (High Definition Audio Device))
   5: dac5 (Speakers (High Definition Audio Device))
PortAudio: selected output device 'Headphones (High Definition Aud'
writing 4096 sample blks of 64-bit floats to dac
SECTION 1:
new alloc for instr 1:
B  0.000 ..  1.000 T  1.000 TT  1.000 M:   9445.1
Score finished in csoundPerformKsmps().
inactive allocs returned to freespace
end of score.              overall amps:   9445.1
           overall samples out of range:        0
0 errors in performance
Elapsed time at end of performance: real: 2.908s, CPU: 2.915s
closing device
11 4096 sample blks of 64-bit floats written to dac
passed

Run Summary:    Type  Total    Ran Passed Failed Inactive
              suites      1      1    n/a      0        0
               tests      1      1      1      0        0
             asserts      0      0      0      0      n/a

Elapsed time =    9.141 seconds

Steven@Steven-PC ~/csound6/tests/c

On Thu, Aug 22, 2013 at 3:57 PM, Michael Gogins
<michael.gogins@gmail.com> wrote:
> I meant, the use of PRE-built Qt is out of the question.
>
> Mike
>
>
> ===========================
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
>
>
> On Thu, Aug 22, 2013 at 3:41 PM, Michael Gogins <michael.gogins@gmail.com>
> wrote:
>>
>> I did not try versions of Qt earlier than 5.x.
>>
>> The use of rebuilt Qt is out of the question here because of a bug in the
>> bundled MinGW 4.8.0. Building Qt is not so bad but of course it is time
>> consuming.
>>
>> If you don't have CUnit then build the examples\cpp\ test whatever it is
>> called, upon which the unit test is based. You can build it with a single
>> command.
>>
>> The thing I'm really dying to know right now is whether your build will
>> run CsoundPerformanceThread without crashing. That would be evidence of some
>> problem with MinGW 4.8.1.
>>
>> Best,
>> Mike
>>
>>
>>
>> ===========================
>> Michael Gogins
>> Irreducible Productions
>> http://michaelgogins.tumblr.com
>> Michael dot Gogins at gmail dot com
>>
>>
>> On Thu, Aug 22, 2013 at 3:17 PM, Michael Gogins <michael.gogins@gmail.com>
>> wrote:
>>>
>>> BTW, I saw the Java error when I was building with 4.7.2. I am not sure
>>> that I ever managed to test CsoundPerformanceThread in any of my Csound 6
>>> builds with 4.7.2, only with 4.8.1. So, in terms of science experiments, if
>>> we can't rule out switching to 4.8.1 as a cause of the
>>> CsoundPerformanceThread bug, it won't make sense for me to revert to 4.7.2.
>>>
>>> The use of macros in the Csound source code, and the use of pointer
>>> indexes instead of array indexing, is making it harder for me to debug the
>>> code.
>>>
>>> Best,
>>> Mike
>>>
>>>
>>> ===========================
>>> Michael Gogins
>>> Irreducible Productions
>>> http://michaelgogins.tumblr.com
>>> Michael dot Gogins at gmail dot com
>>>
>>>
>>> On Thu, Aug 22, 2013 at 3:10 PM, Michael Gogins
>>> <michael.gogins@gmail.com> wrote:
>>>>
>>>> Could you please run the tests/c/testPerfThread.exe unit test (or
>>>> whatever it's called).
>>>>
>>>> Also, it would be great if you could build the Qt 5.1 libraries with
>>>> 4.7.2 and then build CsoundQt. The directions in my document should be good.
>>>> You might have to edit qcs.pro a bit.
>>>>
>>>> Your Java error is exactly what I saw. I did quite a bit of debugging
>>>> and investigating with no results. I think we will have to do instruction
>>>> level debugging of the load.
>>>>
>>>>
>>>> ===========================
>>>> Michael Gogins
>>>> Irreducible Productions
>>>> http://michaelgogins.tumblr.com
>>>> Michael dot Gogins at gmail dot com
>>>>
>>>>
>>>> On Thu, Aug 22, 2013 at 2:58 PM, Steven Yi <stevenyi@gmail.com> wrote:
>>>>>
>>>>> Update: I got Csound 6 to build on Windows using mingw gcc 4.7.2. I
>>>>> had to build with -DUSE_ATOMIC_BUILTIN=0 and -DUSE_GETTEXT=0.
>>>>> Unfortunately I'm still getting the same issue with Java:
>>>>>
>>>>> $ java -cp ".;csnd6.jar" API6Test
>>>>> Exception in thread "main" java.lang.UnsatisfiedLinkError:
>>>>> csnd6.csnd6JNI.swig_m
>>>>> odule_init()V
>>>>>         at csnd6.csnd6JNI.swig_module_init(Native Method)
>>>>>         at csnd6.csnd6JNI.<clinit>(csnd6JNI.java:1075)
>>>>>         at csnd6.csnd6Constants.<clinit>(csnd6Constants.java:12)
>>>>>         at API6Test.main(API6Test.java:6)
>>>>>
>>>>> I checked the generated cxx and java files on OSX and Windows and they
>>>>> look the same.  With nm.exe I see symbols listed so I'm guessing it's
>>>>> not an export issue, but my memory about all this might be faulty.
>>>>>
>>>>> I see I have swig 2.0.10 on OSX and 2.0.4 on Windows.  I'll try
>>>>> updating but as the source files look the same to me, I'm not sure
>>>>> it'll do much. At least I'm starting to get somewhere here, I'll
>>>>> report anything further.
>>>>>
>>>>> On Thu, Aug 22, 2013 at 11:15 AM, Steven Yi <stevenyi@gmail.com> wrote:
>>>>> > Hi Michael,
>>>>> >
>>>>> > That sounds good.  I haven't begun work on mingwbuild yet so you
>>>>> > caught me just before I did anything.  I'll load up Win7 shortly and
>>>>> > see if I can get a complete build now. I'll relay anything here I
>>>>> > find.
>>>>> >
>>>>> > Thanks!
>>>>> > steven
>>>>> >
>>>>> > On Thu, Aug 22, 2013 at 11:10 AM, Michael Gogins
>>>>> > <michael.gogins@gmail.com> wrote:
>>>>> >> Actually Steven, I think my idea was not so great. It might be
>>>>> >> better, if
>>>>> >> you already have 4.7.2 on Windows, to see if that will run before
>>>>> >> switching
>>>>> >> to 4.8.1. What do you think?
>>>>> >>
>>>>> >> Best,
>>>>> >> Mike
>>>>> >>
>>>>> >>
>>>>> >> ===========================
>>>>> >> Michael Gogins
>>>>> >> Irreducible Productions
>>>>> >> http://michaelgogins.tumblr.com
>>>>> >> Michael dot Gogins at gmail dot com
>>>>> >>
>>>>> >>
>>>>> >> On Thu, Aug 22, 2013 at 2:28 AM, Oeyvind Brandtsegg
>>>>> >> <oyvind.brandtsegg@ntnu.no> wrote:
>>>>> >>>
>>>>> >>> I do have some problems with it that are hard to track down.
>>>>> >>> In very large orchestras (e.g. Hadron, ImproSculpt, and a new sound
>>>>> >>> installation that I'm working on) I get segfaults that I have
>>>>> >>> problems
>>>>> >>> isolating. When I strip down the orchestra the segfault seems to
>>>>> >>> vanish. I *think* it might have to do with race conditions, but as
>>>>> >>> I'm
>>>>> >>> not sure if problem lies in my Csound orchestra code or in Csound
>>>>> >>> itself, so I have been unable to report properly on this. The
>>>>> >>> orchestras do run fine with Csound5.
>>>>> >>> best
>>>>> >>> Oeyvind
>>>>> >>>
>>>>> >>> 2013/8/22 Michael Gogins <michael.gogins@gmail.com>:
>>>>> >>> > Csound 6 on Windows is in a sorry state. The
>>>>> >>> > CsoundPerformanceThread
>>>>> >>> > test
>>>>> >>> > fails on my PC. Compositions I wrote in C++ fail. CsoundQt
>>>>> >>> > fails.The
>>>>> >>> > Java
>>>>> >>> > examples fail. Of course everything builds, the regular Csound
>>>>> >>> > examples
>>>>> >>> > run,
>>>>> >>> > and the debugger is not telling me much.
>>>>> >>> >
>>>>> >>> > I would like to hear if there are problems, or not, on other
>>>>> >>> > people's
>>>>> >>> > PCs
>>>>> >>> > with the current Csound 6 installer.
>>>>> >>> >
>>>>> >>> > I have found an open source thing like valgrind for WIndows, Dr.
>>>>> >>> > Memory.
>>>>> >>> > I
>>>>> >>> > am using it but no help so far... it does report errors but I am
>>>>> >>> > not yet
>>>>> >>> > sure how to interpret them or whether they are serious.
>>>>> >>> >
>>>>> >>> > I have found an open source static code analysis thing for
>>>>> >>> > Windows,
>>>>> >>> > CppCheck. I am using it but no help so far.
>>>>> >>> >
>>>>> >>> > Regards,
>>>>> >>> > Mike
>>>>> >>> >
>>>>> >>> >
>>>>> >>> > ===========================
>>>>> >>> > Michael Gogins
>>>>> >>> > Irreducible Productions
>>>>> >>> > http://michaelgogins.tumblr.com
>>>>> >>> > Michael dot Gogins at gmail dot com
>>>>> >>> >
>>>>> >>> >
>>>>> >>> >
>>>>> >>> > ------------------------------------------------------------------------------
>>>>> >>> > Introducing Performance Central, a new site from SourceForge and
>>>>> >>> > AppDynamics. Performance Central is your source for news,
>>>>> >>> > insights,
>>>>> >>> > analysis and resources for efficient Application Performance
>>>>> >>> > Management.
>>>>> >>> > Visit us today!
>>>>> >>> >
>>>>> >>> >
>>>>> >>> > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>>>> >>> > _______________________________________________
>>>>> >>> > Csound-devel mailing list
>>>>> >>> > Csound-devel@lists.sourceforge.net
>>>>> >>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>> >>> >
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> --
>>>>> >>>
>>>>> >>> Oeyvind Brandtsegg
>>>>> >>> Professor of Music Technology
>>>>> >>> NTNU
>>>>> >>> 7491 Trondheim
>>>>> >>> Norway
>>>>> >>> Cell: +47 92 203 205
>>>>> >>>
>>>>> >>> http://flyndresang.no/
>>>>> >>> http://www.partikkelaudio.com/
>>>>> >>> http://soundcloud.com/brandtsegg
>>>>> >>> http://soundcloud.com/t-emp
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> ------------------------------------------------------------------------------
>>>>> >>> Introducing Performance Central, a new site from SourceForge and
>>>>> >>> AppDynamics. Performance Central is your source for news, insights,
>>>>> >>> analysis and resources for efficient Application Performance
>>>>> >>> Management.
>>>>> >>> Visit us today!
>>>>> >>>
>>>>> >>>
>>>>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>>>> >>> _______________________________________________
>>>>> >>> Csound-devel mailing list
>>>>> >>> Csound-devel@lists.sourceforge.net
>>>>> >>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>> >>
>>>>> >>
>>>>> >>
>>>>> >>
>>>>> >> ------------------------------------------------------------------------------
>>>>> >> Introducing Performance Central, a new site from SourceForge and
>>>>> >> AppDynamics. Performance Central is your source for news, insights,
>>>>> >> analysis and resources for efficient Application Performance
>>>>> >> Management.
>>>>> >> Visit us today!
>>>>> >>
>>>>> >> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>>>> >> _______________________________________________
>>>>> >> Csound-devel mailing list
>>>>> >> Csound-devel@lists.sourceforge.net
>>>>> >> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>> >>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Introducing Performance Central, a new site from SourceForge and
>>>>> AppDynamics. Performance Central is your source for news, insights,
>>>>> analysis and resources for efficient Application Performance
>>>>> Management.
>>>>> Visit us today!
>>>>>
>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>
>>
>
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel