[chuck-users] Chuck + Snow Leopard??

Jim Menard jim.menard at gmail.com
Mon Sep 14 08:46:25 EDT 2009


> I also implemented the File I/O methods. However I have NOT TESTED
> THEM. I'm thinking of adding MIDI file I/O so I can play MIDI files
> using ChucK to generate the sound.

I added them before learning that they'd been implemented in the mean
time. When I have the time, I might look into merging the existing dev
code into my branh.

Oh, before I forget: anybody is of course free to take my code,
including the ChucK team.

Jim

>
> Jim
>
>>
>> Andrew
>>
>> On Sun, Sep 13, 2009 at 9:49 PM, Jim Menard <jim.menard at gmail.com> wrote:
>>> A follow up: advice in another thread suggested I use "-arch i386". I
>>> added that to CXX_LINK and FLAGS in makefile.osx, and it worked
>>> perfectly.
>>>
>>> Jim
>>>
>>> On Fri, Sep 4, 2009 at 1:56 PM, Jim Menard <jim.menard at gmail.com> wrote:
>>>> I'm having problems compiling ChucK on SnowLeopard. (I have my own
>>>> fork at https://github.com/jimm/chuck/tree where I've added a few
>>>> String methods and implemented some File I/O methods.)
>>>>
>>>> The error---which has nothing to do with my code---is this:
>>>>
>>>> gcc -D__MACOSX_CORE__ -c -O3 rtmidi.cpp
>>>> rtmidi.cpp: In function 'int get_device_name(SInt32, char*, int)':
>>>> rtmidi.cpp:295: error: cannot convert 'void**' to 'MIDIObjectRef*' for
>>>> argument '2' to 'OSStatus MIDIObjectFindByUniqueID(MIDIUniqueID,
>>>> MIDIObjectRef*, MIDIObjectType*)'
>>>> ...snip...
>>>> make[1]: *** [rtmidi.o] Error 1
>>>> make: [osx] Error 2 (ignored)
>>>>
>>>> The offending line of code:
>>>>
>>>>    ret = MIDIObjectFindByUniqueID(uniqueid, &object, &type);
>>>>
>>>> It's saying that object, which is a void, can't be cast to
>>>>
>>>>
>>>> There are a TON of other warnings for this and other files, mainly
>>>> around the size of ints vs. longs and casting warnings. I may have
>>>> some time to look into this and see if a few header tweaks will help
>>>> or not.
>>>>
>>>> Jim
>>>> --
>>>> Jim Menard, jimm at io.com, jim.menard at gmail.com
>>>> http://www.io.com/~jimm/
>>>>
>>>
>>>
>>>
>>> --
>>> Jim Menard, jimm at io.com, jim.menard at gmail.com
>>> http://www.io.com/~jimm/
>>> _______________________________________________
>>> chuck-users mailing list
>>> chuck-users at lists.cs.princeton.edu
>>> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>>>
>> _______________________________________________
>> chuck-users mailing list
>> chuck-users at lists.cs.princeton.edu
>> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>>
>
>
>
> --
> Jim Menard, jimm at io.com, jim.menard at gmail.com
> http://www.io.com/~jimm/
>



-- 
Jim Menard, jimm at io.com, jim.menard at gmail.com
http://www.io.com/~jimm/


More information about the chuck-users mailing list