Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Java wrapper to csound API

Date2011-06-06 16:16
FromFrancois PINOT
SubjectRe: [Cs-dev] Java wrapper to csound API
AttachmentsNone  None  
Hello Steven,

I just downloaded from sourceforge the 5.12 sources. I built csound 5.12 in its own directory. I then compiled and run my java example within that directory with the following commands:

      javac -cp csnd.jar CsoundCommand.java
      java -Djava.library.path=. -cp csnd.jar:. CsoundCommand analogSynth01.csd

Everything ran OK.

Then I did the same thing from my csound 5.13 build directory and I got a "Csound tidy up: Segmentation fault".

I'm stuck.

Francois


From: Steven Yi <stevenyi@gmail.com>
Subject: Re: [Cs-dev] Java wrapper to csound API
To: Developer discussions <csound-devel@lists.sourceforge.net>
Message-ID: <BANLkTi=tcm4=HDKRTbKRQP7dWhAbyE9E1A@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hi Francois,

I finally got things compiling and was able to run the CsoundCommand
with csound5/examples/trapped-high-resolution.csd.  I did not get any
crashes.  I used your settings with the exception of turning off
includeMP3.  I then ran install.py to install what I built into the
/usr/local tree.  After that, I used:

java -Djava.library.path=. -classpath csnd.jar:. CsoundCommand
examples/trapped-high-resolution.csd

This was run within the csound5 folder where I built csound.  Also, I
did set OPCODEDIR64=/home/steven/csound/csound5 to ensure that the
libs that were loaded were the ones I just built.

My guess at this point is that you might have two sets of csound on
your system that may be conflicting.  This VM did not have Csound
installed prior to what I just built.

If you want, I can try with the CSD you used if you send me a copy, or
you may want to try to reproduce what I did with that example CSD and
see what you get there.

Thanks,
steven



Date2011-06-06 16:19
FromSteven Yi
SubjectRe: [Cs-dev] Java wrapper to csound API
Did you set OPCODEDIR64? And do you have any version of csound
installed from repositories?

On Mon, Jun 6, 2011 at 11:16 AM, Francois PINOT  wrote:
> Hello Steven,
>
> I just downloaded from sourceforge the 5.12 sources. I built csound 5.12 in
> its own directory. I then compiled and run my java example within that
> directory with the following commands:
>
>       javac -cp csnd.jar CsoundCommand.java
>       java -Djava.library.path=. -cp csnd.jar:. CsoundCommand
> analogSynth01.csd
>
> Everything ran OK.
>
> Then I did the same thing from my csound 5.13 build directory and I got a
> "Csound tidy up: Segmentation fault".
>
> I'm stuck.
>
> Francois
>
>
>> From: Steven Yi 
>> Subject: Re: [Cs-dev] Java wrapper to csound API
>> To: Developer discussions 
>> Message-ID: 
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>> Hi Francois,
>>
>> I finally got things compiling and was able to run the CsoundCommand
>> with csound5/examples/trapped-high-resolution.csd.  I did not get any
>> crashes.  I used your settings with the exception of turning off
>> includeMP3.  I then ran install.py to install what I built into the
>> /usr/local tree.  After that, I used:
>>
>> java -Djava.library.path=. -classpath csnd.jar:. CsoundCommand
>> examples/trapped-high-resolution.csd
>>
>> This was run within the csound5 folder where I built csound.  Also, I
>> did set OPCODEDIR64=/home/steven/csound/csound5 to ensure that the
>> libs that were loaded were the ones I just built.
>>
>> My guess at this point is that you might have two sets of csound on
>> your system that may be conflicting.  This VM did not have Csound
>> installed prior to what I just built.
>>
>> If you want, I can try with the CSD you used if you send me a copy, or
>> you may want to try to reproduce what I did with that example CSD and
>> see what you get there.
>>
>> Thanks,
>> steven
>>
>>
>
> ------------------------------------------------------------------------------
> Simplify data backup and recovery for your virtual environment with vRanger.
> Installation's a snap, and flexible recovery options mean your data is safe,
> secure and there when you need it. Discover what all the cheering's about.
> Get your free trial download today.
> http://p.sf.net/sfu/quest-dev2dev2
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net