| Well, when you have time...
Otherwise, I'll have a go.
Victor
On 8 Dec 2010, at 17:47, Andres Cabrera wrote:
> Hi,
>
> I couldn't do it right now for lack of time...
>
> Cheers,
> Andres
>
> On Wed, Dec 8, 2010 at 5:43 PM, Victor Lazzarini
> wrote:
>> yes, definitely. Would you be able to write a new rtmidi module for
>> Csound?
>> Then we could just
>> ditch portmidi.
>>
>> Victor
>>
>> On 8 Dec 2010, at 17:37, Andres Cabrera wrote:
>>
>>> Hi,
>>>
>>> I've used rtmidi on QuteCsound, and it is simpler to use than
>>> PortMIDI, and I thinks it's also reentrant, maybe that's worth
>>> looking
>>> into?
>>>
>>> Cheers,
>>> Andres
>>>
>>> On Wed, Dec 8, 2010 at 5:36 PM, Victor Lazzarini
>>> wrote:
>>>>
>>>> At the moment, I'm building Csound for i386 and PPC; I'll
>>>> investigate how
>>>> to
>>>> build it for three architectures.
>>>>
>>>> The major problem with x86_64 on OSX is portmidi. It is not re-
>>>> entrant
>>>> and I
>>>> don't know whether it can be
>>>> made to be. With the old dylib loading code, the problem does not
>>>> show
>>>> up.
>>>> But on x86_64, dyld is used,
>>>> and that does not allow portmidi to be re-loaded without crashes.
>>>>
>>>> Victor
>>>>
>>>>
>>>> On 8 Dec 2010, at 16:52, Steven Yi wrote:
>>>>
>>>>> I'm running into the same issue with blue and Csound. I know at
>>>>> one
>>>>> point I had managed to get this to load, but had to make Java use
>>>>> 32-bit mode by default. You can do this in
>>>>> Applications/Utilities/Java Preferences. However, I don't
>>>>> remember if
>>>>> that worked, or if I had to force it by using -d32 on the
>>>>> commandline.
>>>>>
>>>>> I know that supporting i386/x86_64 in a fat binary is a pain,
>>>>> but that
>>>>> would be the ideal solution. For myself, I'm working on getting
>>>>> Csound compiling on OSX now for x86_64 so that it can just run by
>>>>> default for 10.6.
>>>>>
>>>>>
>>>>> On Wed, Dec 8, 2010 at 3:44 AM, wrote:
>>>>>>
>>>>>> I think the 'wrong-architecture' means that your Java VM is
>>>>>> x86_64 and
>>>>>> csound jnilib is
>>>>>> i386. Not sure about the solution now.
>>>>>>
>>>>>> Victor
>>>>>>
>>>>>> ----- Original Message -----
>>>>>> From: 4g63gsx
>>>>>> Date: Wednesday, December 8, 2010 6:40 am
>>>>>> Subject: [Csnd] Re: Re: Re: _jcsound lib on Mac 10.5
>>>>>> To: csound@lists.bath.ac.uk
>>>>>>
>>>>>>>
>>>>>>> I'm bringing this post back from the dead.
>>>>>>>
>>>>>>> I am having the same problem using the Java API. I am running
>>>>>>> Mac OS X
>>>>>>> 10.6.5 with a 64-bit processor. I am using Eclipse as a
>>>>>>> programming
>>>>>>> environment. When I specify the location of the native library
>>>>>>> as
>>>>>>>
>>>>>>> "/Library/Frameworks/CsoundLib64.framework/Versions/5.2/
>>>>>>> Resources/Java/"
>>>>>>> I
>>>>>>> get the following error:
>>>>>>>
>>>>>>> _jcsound native code library failed to load.
>>>>>>> java.lang.UnsatisfiedLinkError:
>>>>>>>
>>>>>>>
>>>>>>> /Library/Frameworks/CsoundLib64.framework/Versions/5.2/
>>>>>>> Resources/Java/lib_jcsound.jnilib:
>>>>>>> no suitable image found. Did find:
>>>>>>>
>>>>>>>
>>>>>>> /Library/Frameworks/CsoundLib64.framework/Versions/5.2/
>>>>>>> Resources/Java/lib_jcsound.jnilib:
>>>>>>> mach-o, but wrong architecture
>>>>>>>
>>>>>>> I didn't know what architecture it was referring to, so I tried
>>>>>>> linking it
>>>>>>> the non-64-bit folder, and it gave me the same results.
>>>>>>>
>>>>>>> For your reference, here is the java code I am trying to run
>>>>>>> (very simple so
>>>>>>> far):
>>>>>>> import csnd.*;
>>>>>>>
>>>>>>> public class eqrun {
>>>>>>> public static void main(String args[]) {
>>>>>>> Csound cs = new
>>>>>>> Csound(); cs.Compile("pvsbus(mod).csd");
>>>>>>>
>>>>>>> int result = 0;
>>>>>>> while(result ==
>>>>>>> 0) {
>>>>>>> result = cs.PerformKsmps();
>>>>>>> }
>>>>>>> }
>>>>>>> }
>>>>>>>
>>>>>>> What does the error message mean? And how can I fix this
>>>>>>> problem. Also in a
>>>>>>> related question, is there a Javadoc that I can use for my
>>>>>>> project?
>>>>>>> --
>>>>>>> View this message in context:
>>>>>>> http://csound.1045644.n5.nabble.com/jcsound-lib-on-Mac-10-5-
>>>>>>> tp1120391p3296976.htmlSent from the Csound - General mailing
>>>>>>> list archive at Nabble.com.
>>>>>>>
>>>>>>>
>>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>>>> Discussions of bugs and features can be posted here
>>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>>> "unsubscribe csound"
>>>>>>>
>>>>>>
>>>>>> Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,
>>>>>> National University of Ireland, Maynooth
>>>>>>
>>>>>>
>>>>>>
>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>>> Discussions of bugs and features can be posted here
>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>> "unsubscribe
>>>>>> csound"
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>> Discussions of bugs and features can be posted here
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>> "unsubscribe
>>>>> csound"
>>>>>
>>>>
>>>>
>>>>
>>>> Send bugs reports to the Sourceforge bug tracker
>>>> https://sourceforge.net/tracker/?
>>>> group_id=81968&atid=564599
>>>> Discussions of bugs and features can be posted here
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>> "unsubscribe
>>>> csound"
>>>>
>>>>
>>>
>>>
>>> Send bugs reports to the Sourceforge bug tracker
>>> https://sourceforge.net/tracker/?
>>> group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>> "unsubscribe
>>> csound"
>>>
>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> "unsubscribe
>> csound"
>>
>>
>
>
> Send bugs reports to the Sourceforge bug tracker
> https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body
> "unsubscribe csound"
>
Send bugs reports to the Sourceforge bug tracker
https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
|