|  | The absence of a C API for GUIs on OSX 10.6 is a major PITA. Why do  
they do this?
Victor
On 19 May 2010, at 21:21, Alexis Baskind wrote:
>
> Hi Julian and all,
>
> This thread is a little bit old, but I'm currently facing the same  
> problem,
> i.e. trying to compile csound on 10.6. In practice the main problem  
> is that
> fltk 1.10 cannot be compiled in x86_64 because it still relies on  
> Carbon.
> The latest development release of fltk 1.3.x is compiling in 64  
> bits, since
> it relies on Cocoa, but then, the problem is that the compilation of  
> csound
> fails, exactly for this reason: it seems to ask for Cocoa libs that  
> are not
> defined in the building script.
>
> So my question is: how did you succeed ?
>
> Any help would be greatly appreciated !
>
> Alexis Baskind
>
>
> Julian Peterson-4 wrote:
>>
>> Yes, it is a 64 bit os.  Csound seems to be running w/o issue, but
>> I've had to build nearly everything from scratch since few installers
>> include x86-64 along with i386 and ppc in the mac binaries.  For
>> example, currently csoundapi~ is broken for me because csoundapi is
>> compiled 64 bit but my version of pd is not... no fault of csound, of
>> course.
>>
>> JP
>>
>>
>>
>> On Oct 27, 2009, at 10:47 AM, victor wrote:
>>
>>> Since 10.6 is possibly a 64bit OS (?), it will be interesting to see
>>> if no
>>> issues arise
>>> (I expect none).
>>>
>>> I am glad the csmodule.c issue got solved, it bothered me to see  
>>> those
>>> deprecated
>>> messages; and the solution was the simplest: use the POSIX code!
>>>
>>> Victor
>>> ----- Original Message -----
>>> From: "Julian Peterson" 
>>> To: "Developer discussions" 
>>> Sent: Tuesday, October 27, 2009 1:00 AM
>>> Subject: Re: [Cs-dev] building on osx 10.6
>>>
>>>
>>>> Wonderful!  Thanks so much for looking into it.
>>>>
>>>> I've now successfully build csound on 10.6.  The only change I made
>>>> was to SConstruct, line 609:
>>>>
>>>> OSXSystemPythonVersions = { 0:0, 1:0, 2:2, 3:3, 4:3, 5:5, 6:6 }
>>>>
>>>> (appended 6:6 at the end, SnowLeopard ships with pythons 4,5, and  
>>>> 6).
>>>>
>>>>
>>>>
>>>> Thanks again Victor.
>>>>
>>>> J
>>>>
>>>>
>>>>
>>>> On Oct 26, 2009, at 2:00 PM, Victor Lazzarini wrote:
>>>>
>>>>> I mean solution 2, use dlopen().
>>>>>
>>>>> Victor
>>>>> On 26 Oct 2009, at 20:05, Victor Lazzarini wrote:
>>>>>
>>>>>> That works, so that's what you should do.
>>>>>> I have updated CVS with these changes and you can check them out.
>>>>>>
>>>>>> Victor
>>>>>>
>>>>>>
>>>>>> On 26 Oct 2009, at 19:50, Victor Lazzarini wrote:
>>>>>>
>>>>>>> Two solutions:
>>>>>>> 1) add /usr/lib/dylib1.10.5.o to the list of objects to be  
>>>>>>> linked.
>>>>>>> It's a hack, but
>>>>>>>   might work.
>>>>>>>
>>>>>>> 2) OSX actually supports dlopen() so you can try commenting out
>>>>>>> all the
>>>>>>> Mac specific code in csmodule.c and use the LINUX one (by  
>>>>>>> changing
>>>>>>> the
>>>>>>> ifdefs around). I'll actually test this later on OSX 10.5
>>>>>>>
>>>>>>> Victor
>>>>>>>
>>>>>>> On 26 Oct 2009, at 19:41, Julian Peterson wrote:
>>>>>>>
>>>>>>>> Also, I get the same output regarding usr/lib/dylib1.10.5.o:
>>>>>>>>
>>>>>>>> subotnick:csound5 julianp$ nm -a  /usr/lib/dylib1.10.5.o
>>>>>>>>     U ___dso_handle
>>>>>>>> 00000024 T __dyld_func_lookup
>>>>>>>> 0000003c d dyld__mach_header
>>>>>>>> 00000000 T dyld_stub_binding_helper
>>>>>>>>
>>>>>>>>
>>>>>>>> So it looks like the function still exists, but is not found?
>>>>>>>> This
>>>>>>>> water's a bit too deep for me.... might have to give up for the
>>>>>>>> time
>>>>>>>> being.
>>>>>>>>
>>>>>>>> J
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Oct 26, 2009, at 11:02 AM, Victor Lazzarini wrote:
>>>>>>>>
>>>>>>>>> This is the plugin loading module. It looks like
>>>>>>>>> _dyld_func_lookup()
>>>>>>>>> is not
>>>>>>>>> found in 10.6 (possibly?).
>>>>>>>>>
>>>>>>>>> On OSX10.5, this function is part of the system as seen in:
>>>>>>>>>
>>>>>>>>> coltrane:csound5-float victor$
>>>>>>>>> 00000014 T __dyld_func_lookup
>>>>>>>>>    U __mh_dylib_header
>>>>>>>>> 00000024 d dyld__mach_header
>>>>>>>>> 00000000 T dyld_stub_binding_helper
>>>>>>>>>
>>>>>>>>> I have been having deprecated messages about other functions  
>>>>>>>>> in
>>>>>>>>> that
>>>>>>>>> file, but not that particular one.
>>>>>>>>>
>>>>>>>>> Try this modification in csmodule.c
>>>>>>>>>
>>>>>>>>>   _dyld_func_lookup("__dyld_NSMakePrivateModulePublic",
>>>>>>>>>                     (void **) &make_private_module_public);
>>>>>>>>>
>>>>>>>>> The 2nd argument has the wrong type. But that should not make
>>>>>>>>> the
>>>>>>>>> symbol undefined.
>>>>>>>>>
>>>>>>>>> Victor
>>>>>>>>>
>>>>>>>>> On 26 Oct 2009, at 17:17, Julian Peterson wrote:
>>>>>>>>>
>>>>>>>>>> Hello Victor and all.
>>>>>>>>>>
>>>>>>>>>> I'm trying to build the latest csound (cvs) on osx10.6.  I've
>>>>>>>>>> reached
>>>>>>>>>> an impasse, which is the following error:
>>>>>>>>>>
>>>>>>>>>> Undefined symbols:
>>>>>>>>>> "__dyld_func_lookup", referenced from:
>>>>>>>>>> _csoundOpenLibrary in csmodule.os
>>>>>>>>>> ld: symbol(s) not found
>>>>>>>>>> collect2: ld returned 1 exit status
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Have any ideas about how to fix this?
>>>>>>>>>>
>>>>>>>>>> I'll report back on the changes I've had to make to get it  
>>>>>>>>>> all
>>>>>>>>>> built,
>>>>>>>>>> once I get there.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Thanks,
>>>>>>>>>>
>>>>>>>>>> JP
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> Come build with us! The BlackBerry(R) Developer Conference in
>>>>>>>>>> SF,
>>>>>>>>>> CA
>>>>>>>>>> is the only developer event you need to attend this year.
>>>>>>>>>> Jumpstart
>>>>>>>>>> your
>>>>>>>>>> developing skills, take BlackBerry mobile applications to
>>>>>>>>>> market
>>>>>>>>>> and
>>>>>>>>>> stay
>>>>>>>>>> ahead of the curve. Join us from November 9 - 12, 2009.
>>>>>>>>>> Register
>>>>>>>>>> now!
>>>>>>>>>> http://p.sf.net/sfu/devconference
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> Come build with us! The BlackBerry(R) Developer Conference in
>>>>>>>>> SF,
>>>>>>>>> CA
>>>>>>>>> is the only developer event you need to attend this year.
>>>>>>>>> Jumpstart
>>>>>>>>> your
>>>>>>>>> developing skills, take BlackBerry mobile applications to  
>>>>>>>>> market
>>>>>>>>> and
>>>>>>>>> stay
>>>>>>>>> ahead of the curve. Join us from November 9 - 12, 2009.  
>>>>>>>>> Register
>>>>>>>>> now!
>>>>>>>>> http://p.sf.net/sfu/devconference
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> Come build with us! The BlackBerry(R) Developer Conference in  
>>>>>>>> SF,
>>>>>>>> CA
>>>>>>>> is the only developer event you need to attend this year.
>>>>>>>> Jumpstart
>>>>>>>> your
>>>>>>>> developing skills, take BlackBerry mobile applications to  
>>>>>>>> market
>>>>>>>> and
>>>>>>>> stay
>>>>>>>> ahead of the curve. Join us from November 9 - 12, 2009.  
>>>>>>>> Register
>>>>>>>> now!
>>>>>>>> http://p.sf.net/sfu/devconference
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Come build with us! The BlackBerry(R) Developer Conference in
>>>>>>> SF, CA
>>>>>>> is the only developer event you need to attend this year.
>>>>>>> Jumpstart
>>>>>>> your
>>>>>>> developing skills, take BlackBerry mobile applications to market
>>>>>>> and
>>>>>>> stay
>>>>>>> ahead of the curve. Join us from November 9 - 12, 2009. Register
>>>>>>> now!
>>>>>>> http://p.sf.net/sfu/devconference
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Come build with us! The BlackBerry(R) Developer Conference in SF,
>>>>>> CA
>>>>>> is the only developer event you need to attend this year.  
>>>>>> Jumpstart
>>>>>> your
>>>>>> developing skills, take BlackBerry mobile applications to market
>>>>>> and
>>>>>> stay
>>>>>> ahead of the curve. Join us from November 9 - 12, 2009. Register
>>>>>> now!
>>>>>> http://p.sf.net/sfu/devconference
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Come build with us! The BlackBerry(R) Developer Conference in  
>>>>> SF, CA
>>>>> is the only developer event you need to attend this year.  
>>>>> Jumpstart
>>>>> your
>>>>> developing skills, take BlackBerry mobile applications to market  
>>>>> and
>>>>> stay
>>>>> ahead of the curve. Join us from November 9 - 12, 2009. Register
>>>>> now!
>>>>> http://p.sf.net/sfu/devconference
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Come build with us! The BlackBerry(R) Developer Conference in SF,  
>>>> CA
>>>> is the only developer event you need to attend this year. Jumpstart
>>>> your
>>>> developing skills, take BlackBerry mobile applications to market
>>>> and stay
>>>> ahead of the curve. Join us from November 9 - 12, 2009. Register  
>>>> now!
>>>> http://p.sf.net/sfu/devconference
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>>> is the only developer event you need to attend this year. Jumpstart
>>> your
>>> developing skills, take BlackBerry mobile applications to market and
>>> stay
>>> ahead of the curve. Join us from November 9 - 12, 2009. Register  
>>> now!
>>> http://p.sf.net/sfu/devconference
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart  
>> your
>> developing skills, take BlackBerry mobile applications to market  
>> and stay
>> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>> http://p.sf.net/sfu/devconference
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>
> -- 
> View this message in context: http://old.nabble.com/building-on-osx-10.6-tp26063774p28612138.html
> Sent from the Csound - Dev mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |