[chuck-users] Chuck + Snow Leopard??

Andrew C. Smith acsmith at willamette.edu
Sun Sep 13 22:23:07 EDT 2009


Hey Jim, thanks (to know you're looking at Snow Leopard as well). What
did you end up adding to the fork of ChucK? I'm using all the new
array methods, as well as the FileIO, so did you just use the CVS
1.2.1.3-whatever or do you have your own thing going?

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
>


More information about the chuck-users mailing list