Csound Csound-dev Csound-tekno Search About

[Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa

Date2011-08-07 14:50
FromSteven Yi
Subject[Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
Hi All,

I just got finished building FLTK on Mac Lion and found an issue with
SConstruct, but I wasn't sure how to proceed.  So for OSX Lion, FLTK
1.1.10 does not build universal as it uses Carbon.  However, FLTK
1.3.x does build out of the box a universal i386/x86_64 build with
Lion as it uses Cocoa.

When building with the currently SConstruct, the build was failing.  I
traced it down to:


 elif getPlatform() == 'darwin':
        widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++', 'pthread', 'm'])
        widgetsEnvironment.Append(LINKFLAGS = Split('''
            -framework Carbon -framework CoreAudio -framework CoreMidi
            -framework ApplicationServices
        '''))

This has hardcoded link flags.  The build was failing as the Cocoa
classes were missing. Modifying it to add Cocoa:


 elif getPlatform() == 'darwin':
        widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++', 'pthread', 'm'])
        widgetsEnvironment.Append(LINKFLAGS = Split('''
            -framework Carbon -framework CoreAudio -framework CoreMidi
            -framework ApplicationServices -framework Cocoa
        '''))

Does get the widgets and virtual keyboard to build. A quick test shows
the virtual keyboard works great with 1.3.x.

However, in SConstruct I noticed that a few lines up we have for linux:

 widgetsEnvironment.ParseConfig('fltk-config --use-images --cflags
--cxxflags --ldflags')

I'm curious, is there any reason why we are not using fltk-config for
Mac? At least for FLTK 1.3.x, doing "make install" installs
fltk-config into /usr/local/bin.

Thanks,
steven

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-08-07 18:55
FromVictor Lazzarini
SubjectRe: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
No reason, particularly. If  fltk-config works on OSX, we can use it.

Victor
On 7 Aug 2011, at 14:50, Steven Yi wrote:

> Hi All,
>
> I just got finished building FLTK on Mac Lion and found an issue with
> SConstruct, but I wasn't sure how to proceed.  So for OSX Lion, FLTK
> 1.1.10 does not build universal as it uses Carbon.  However, FLTK
> 1.3.x does build out of the box a universal i386/x86_64 build with
> Lion as it uses Cocoa.
>
> When building with the currently SConstruct, the build was failing.  I
> traced it down to:
>
>
> elif getPlatform() == 'darwin':
>        widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',  
> 'pthread', 'm'])
>        widgetsEnvironment.Append(LINKFLAGS = Split('''
>            -framework Carbon -framework CoreAudio -framework CoreMidi
>            -framework ApplicationServices
>        '''))
>
> This has hardcoded link flags.  The build was failing as the Cocoa
> classes were missing. Modifying it to add Cocoa:
>
>
> elif getPlatform() == 'darwin':
>        widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',  
> 'pthread', 'm'])
>        widgetsEnvironment.Append(LINKFLAGS = Split('''
>            -framework Carbon -framework CoreAudio -framework CoreMidi
>            -framework ApplicationServices -framework Cocoa
>        '''))
>
> Does get the widgets and virtual keyboard to build. A quick test shows
> the virtual keyboard works great with 1.3.x.
>
> However, in SConstruct I noticed that a few lines up we have for  
> linux:
>
> widgetsEnvironment.ParseConfig('fltk-config --use-images --cflags
> --cxxflags --ldflags')
>
> I'm curious, is there any reason why we are not using fltk-config for
> Mac? At least for FLTK 1.3.x, doing "make install" installs
> fltk-config into /usr/local/bin.
>
> Thanks,
> steven
>
> ------------------------------------------------------------------------------
> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> The must-attend event for mobile developers. Connect with experts.
> Get tools for creating Super Apps. See the latest technologies.
> Sessions, hands-on labs, demos & much more. Register early & save!
> http://p.sf.net/sfu/rim-blackberry-1
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-08-07 19:58
FromSteven Yi
SubjectRe: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
AttachmentsNone  None  

Ah okay, I will modify and commit when I return home in a few hours, thanks!

On Aug 7, 2011 1:55 PM, "Victor Lazzarini" <Victor.Lazzarini@nuim.ie> wrote:
> No reason, particularly. If fltk-config works on OSX, we can use it.
>
> Victor
> On 7 Aug 2011, at 14:50, Steven Yi wrote:
>
>> Hi All,
>>
>> I just got finished building FLTK on Mac Lion and found an issue with
>> SConstruct, but I wasn't sure how to proceed. So for OSX Lion, FLTK
>> 1.1.10 does not build universal as it uses Carbon. However, FLTK
>> 1.3.x does build out of the box a universal i386/x86_64 build with
>> Lion as it uses Cocoa.
>>
>> When building with the currently SConstruct, the build was failing. I
>> traced it down to:
>>
>>
>> elif getPlatform() == 'darwin':
>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>> 'pthread', 'm'])
>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>> -framework Carbon -framework CoreAudio -framework CoreMidi
>> -framework ApplicationServices
>> '''))
>>
>> This has hardcoded link flags. The build was failing as the Cocoa
>> classes were missing. Modifying it to add Cocoa:
>>
>>
>> elif getPlatform() == 'darwin':
>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>> 'pthread', 'm'])
>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>> -framework Carbon -framework CoreAudio -framework CoreMidi
>> -framework ApplicationServices -framework Cocoa
>> '''))
>>
>> Does get the widgets and virtual keyboard to build. A quick test shows
>> the virtual keyboard works great with 1.3.x.
>>
>> However, in SConstruct I noticed that a few lines up we have for
>> linux:
>>
>> widgetsEnvironment.ParseConfig('fltk-config --use-images --cflags
>> --cxxflags --ldflags')
>>
>> I'm curious, is there any reason why we are not using fltk-config for
>> Mac? At least for FLTK 1.3.x, doing "make install" installs
>> fltk-config into /usr/local/bin.
>>
>> Thanks,
>> steven
>>
>> ------------------------------------------------------------------------------
>> BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
>> The must-attend event for mobile developers. Connect with experts.
>> Get tools for creating Super Apps. See the latest technologies.
>> Sessions, hands-on labs, demos & much more. Register early & save!
>> http://p.sf.net/sfu/rim-blackberry-1
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
> The must-attend event for mobile developers. Connect with experts.
> Get tools for creating Super Apps. See the latest technologies.
> Sessions, hands-on labs, demos & much more. Register early & save!
> http://p.sf.net/sfu/rim-blackberry-1
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Date2011-08-07 21:02
FromVictor Lazzarini
SubjectRe: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
AttachmentsNone  None  
I think we should possibly migrate to 1.3 on all OSX new releases (10.5-.7), what do you reckon?

Victor
On 7 Aug 2011, at 19:58, Steven Yi wrote:

Ah okay, I will modify and commit when I return home in a few hours, thanks!

On Aug 7, 2011 1:55 PM, "Victor Lazzarini" <Victor.Lazzarini@nuim.ie> wrote:
> No reason, particularly. If fltk-config works on OSX, we can use it.
>
> Victor
> On 7 Aug 2011, at 14:50, Steven Yi wrote:
>
>> Hi All,
>>
>> I just got finished building FLTK on Mac Lion and found an issue with
>> SConstruct, but I wasn't sure how to proceed. So for OSX Lion, FLTK
>> 1.1.10 does not build universal as it uses Carbon. However, FLTK
>> 1.3.x does build out of the box a universal i386/x86_64 build with
>> Lion as it uses Cocoa.
>>
>> When building with the currently SConstruct, the build was failing. I
>> traced it down to:
>>
>>
>> elif getPlatform() == 'darwin':
>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>> 'pthread', 'm'])
>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>> -framework Carbon -framework CoreAudio -framework CoreMidi
>> -framework ApplicationServices
>> '''))
>>
>> This has hardcoded link flags. The build was failing as the Cocoa
>> classes were missing. Modifying it to add Cocoa:
>>
>>
>> elif getPlatform() == 'darwin':
>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>> 'pthread', 'm'])
>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>> -framework Carbon -framework CoreAudio -framework CoreMidi
>> -framework ApplicationServices -framework Cocoa
>> '''))
>>
>> Does get the widgets and virtual keyboard to build. A quick test shows
>> the virtual keyboard works great with 1.3.x.
>>
>> However, in SConstruct I noticed that a few lines up we have for
>> linux:
>>
>> widgetsEnvironment.ParseConfig('fltk-config --use-images --cflags
>> --cxxflags --ldflags')
>>
>> I'm curious, is there any reason why we are not using fltk-config for
>> Mac? At least for FLTK 1.3.x, doing "make install" installs
>> fltk-config into /usr/local/bin.
>>
>> Thanks,
>> steven
>>
>> ------------------------------------------------------------------------------
>> BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
>> The must-attend event for mobile developers. Connect with experts.
>> Get tools for creating Super Apps. See the latest technologies.
>> Sessions, hands-on labs, demos & much more. Register early & save!
>> http://p.sf.net/sfu/rim-blackberry-1
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
> The must-attend event for mobile developers. Connect with experts.
> Get tools for creating Super Apps. See the latest technologies.
> Sessions, hands-on labs, demos & much more. Register early & save!
> http://p.sf.net/sfu/rim-blackberry-1
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




Date2011-08-07 21:50
FromSteven Yi
SubjectRe: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
That sounds good to me.  I'm using 1.3.x here on Lion and will try to
test some more with Iain McCurdy's examples.  I still have my work
Macbook that has 10.6, and on that machine I think I was using 1.3.x
with MacPorts (must have been as it was a universal build there).

Just FYI: I'm building all dependencies myself on my Lion machine now
to match up with your setup.  Should make things better for keeping in
sync I think.

I'll work on the fltk-config change now and will commit that shortly.

Thanks!
steven

On Sun, Aug 7, 2011 at 4:02 PM, Victor Lazzarini
 wrote:
> I think we should possibly migrate to 1.3 on all OSX new releases (10.5-.7),
> what do you reckon?
> Victor
> On 7 Aug 2011, at 19:58, Steven Yi wrote:
>
> Ah okay, I will modify and commit when I return home in a few hours, thanks!
>
> On Aug 7, 2011 1:55 PM, "Victor Lazzarini"  wrote:
>> No reason, particularly. If fltk-config works on OSX, we can use it.
>>
>> Victor
>> On 7 Aug 2011, at 14:50, Steven Yi wrote:
>>
>>> Hi All,
>>>
>>> I just got finished building FLTK on Mac Lion and found an issue with
>>> SConstruct, but I wasn't sure how to proceed. So for OSX Lion, FLTK
>>> 1.1.10 does not build universal as it uses Carbon. However, FLTK
>>> 1.3.x does build out of the box a universal i386/x86_64 build with
>>> Lion as it uses Cocoa.
>>>
>>> When building with the currently SConstruct, the build was failing. I
>>> traced it down to:
>>>
>>>
>>> elif getPlatform() == 'darwin':
>>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>>> 'pthread', 'm'])
>>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>>> -framework Carbon -framework CoreAudio -framework CoreMidi
>>> -framework ApplicationServices
>>> '''))
>>>
>>> This has hardcoded link flags. The build was failing as the Cocoa
>>> classes were missing. Modifying it to add Cocoa:
>>>
>>>
>>> elif getPlatform() == 'darwin':
>>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>>> 'pthread', 'm'])
>>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>>> -framework Carbon -framework CoreAudio -framework CoreMidi
>>> -framework ApplicationServices -framework Cocoa
>>> '''))
>>>
>>> Does get the widgets and virtual keyboard to build. A quick test shows
>>> the virtual keyboard works great with 1.3.x.
>>>
>>> However, in SConstruct I noticed that a few lines up we have for
>>> linux:
>>>
>>> widgetsEnvironment.ParseConfig('fltk-config --use-images --cflags
>>> --cxxflags --ldflags')
>>>
>>> I'm curious, is there any reason why we are not using fltk-config for
>>> Mac? At least for FLTK 1.3.x, doing "make install" installs
>>> fltk-config into /usr/local/bin.
>>>
>>> Thanks,
>>> steven
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>> The must-attend event for mobile developers. Connect with experts.
>>> Get tools for creating Super Apps. See the latest technologies.
>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>> http://p.sf.net/sfu/rim-blackberry-1
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>> The must-attend event for mobile developers. Connect with experts.
>> Get tools for creating Super Apps. See the latest technologies.
>> Sessions, hands-on labs, demos & much more. Register early & save!
>> http://p.sf.net/sfu/rim-blackberry-1
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> ------------------------------------------------------------------------------
> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> The must-attend event for mobile developers. Connect with experts.
> Get tools for creating Super Apps. See the latest technologies.
> Sessions, hands-on labs, demos & much more. Register early & save!
> http://p.sf.net/sfu/rim-blackberry-1_______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
> ------------------------------------------------------------------------------
> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> The must-attend event for mobile developers. Connect with experts.
> Get tools for creating Super Apps. See the latest technologies.
> Sessions, hands-on labs, demos & much more. Register early & save!
> http://p.sf.net/sfu/rim-blackberry-1
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-08-07 21:56
FromVictor Lazzarini
SubjectRe: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
Sounds good. I'll have a look at this during the week.

Victor
On 7 Aug 2011, at 21:50, Steven Yi wrote:

> That sounds good to me.  I'm using 1.3.x here on Lion and will try to
> test some more with Iain McCurdy's examples.  I still have my work
> Macbook that has 10.6, and on that machine I think I was using 1.3.x
> with MacPorts (must have been as it was a universal build there).
>
> Just FYI: I'm building all dependencies myself on my Lion machine now
> to match up with your setup.  Should make things better for keeping in
> sync I think.
>
> I'll work on the fltk-config change now and will commit that shortly.
>
> Thanks!
> steven
>
> On Sun, Aug 7, 2011 at 4:02 PM, Victor Lazzarini
>  wrote:
>> I think we should possibly migrate to 1.3 on all OSX new releases  
>> (10.5-.7),
>> what do you reckon?
>> Victor
>> On 7 Aug 2011, at 19:58, Steven Yi wrote:
>>
>> Ah okay, I will modify and commit when I return home in a few  
>> hours, thanks!
>>
>> On Aug 7, 2011 1:55 PM, "Victor Lazzarini"  
>>  wrote:
>>> No reason, particularly. If fltk-config works on OSX, we can use it.
>>>
>>> Victor
>>> On 7 Aug 2011, at 14:50, Steven Yi wrote:
>>>
>>>> Hi All,
>>>>
>>>> I just got finished building FLTK on Mac Lion and found an issue  
>>>> with
>>>> SConstruct, but I wasn't sure how to proceed. So for OSX Lion, FLTK
>>>> 1.1.10 does not build universal as it uses Carbon. However, FLTK
>>>> 1.3.x does build out of the box a universal i386/x86_64 build with
>>>> Lion as it uses Cocoa.
>>>>
>>>> When building with the currently SConstruct, the build was  
>>>> failing. I
>>>> traced it down to:
>>>>
>>>>
>>>> elif getPlatform() == 'darwin':
>>>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>>>> 'pthread', 'm'])
>>>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>>>> -framework Carbon -framework CoreAudio -framework CoreMidi
>>>> -framework ApplicationServices
>>>> '''))
>>>>
>>>> This has hardcoded link flags. The build was failing as the Cocoa
>>>> classes were missing. Modifying it to add Cocoa:
>>>>
>>>>
>>>> elif getPlatform() == 'darwin':
>>>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>>>> 'pthread', 'm'])
>>>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>>>> -framework Carbon -framework CoreAudio -framework CoreMidi
>>>> -framework ApplicationServices -framework Cocoa
>>>> '''))
>>>>
>>>> Does get the widgets and virtual keyboard to build. A quick test  
>>>> shows
>>>> the virtual keyboard works great with 1.3.x.
>>>>
>>>> However, in SConstruct I noticed that a few lines up we have for
>>>> linux:
>>>>
>>>> widgetsEnvironment.ParseConfig('fltk-config --use-images --cflags
>>>> --cxxflags --ldflags')
>>>>
>>>> I'm curious, is there any reason why we are not using fltk-config  
>>>> for
>>>> Mac? At least for FLTK 1.3.x, doing "make install" installs
>>>> fltk-config into /usr/local/bin.
>>>>
>>>> Thanks,
>>>> steven
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>> The must-attend event for mobile developers. Connect with experts.
>>>> Get tools for creating Super Apps. See the latest technologies.
>>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> Dr Victor Lazzarini
>>> Senior Lecturer
>>> Dept. of Music
>>> NUI Maynooth Ireland
>>> tel.: +353 1 708 3545
>>> Victor dot Lazzarini AT nuim dot ie
>>>
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>> The must-attend event for mobile developers. Connect with experts.
>>> Get tools for creating Super Apps. See the latest technologies.
>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>> http://p.sf.net/sfu/rim-blackberry-1
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> ------------------------------------------------------------------------------
>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>> The must-attend event for mobile developers. Connect with experts.
>> Get tools for creating Super Apps. See the latest technologies.
>> Sessions, hands-on labs, demos & much more. Register early & save!
>> http://p.sf.net/sfu/rim-blackberry-1_______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>>
>>
>>
>> ------------------------------------------------------------------------------
>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>> The must-attend event for mobile developers. Connect with experts.
>> Get tools for creating Super Apps. See the latest technologies.
>> Sessions, hands-on labs, demos & much more. Register early & save!
>> http://p.sf.net/sfu/rim-blackberry-1
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>
> ------------------------------------------------------------------------------
> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> The must-attend event for mobile developers. Connect with experts.
> Get tools for creating Super Apps. See the latest technologies.
> Sessions, hands-on labs, demos & much more. Register early & save!
> http://p.sf.net/sfu/rim-blackberry-1
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-08-07 22:12
FromSteven Yi
SubjectRe: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
Just FYI: I committed the fltk-config change for darwin and updated
the wiki page with the commands I used to build:

https://sourceforge.net/apps/mediawiki/csound/index.php?title=Building_Csound_on_OSX_Lion

Thanks!
steven

On Sun, Aug 7, 2011 at 4:56 PM, Victor Lazzarini
 wrote:
> Sounds good. I'll have a look at this during the week.
>
> Victor
> On 7 Aug 2011, at 21:50, Steven Yi wrote:
>
>> That sounds good to me.  I'm using 1.3.x here on Lion and will try to
>> test some more with Iain McCurdy's examples.  I still have my work
>> Macbook that has 10.6, and on that machine I think I was using 1.3.x
>> with MacPorts (must have been as it was a universal build there).
>>
>> Just FYI: I'm building all dependencies myself on my Lion machine now
>> to match up with your setup.  Should make things better for keeping in
>> sync I think.
>>
>> I'll work on the fltk-config change now and will commit that shortly.
>>
>> Thanks!
>> steven
>>
>> On Sun, Aug 7, 2011 at 4:02 PM, Victor Lazzarini
>>  wrote:
>>> I think we should possibly migrate to 1.3 on all OSX new releases
>>> (10.5-.7),
>>> what do you reckon?
>>> Victor
>>> On 7 Aug 2011, at 19:58, Steven Yi wrote:
>>>
>>> Ah okay, I will modify and commit when I return home in a few
>>> hours, thanks!
>>>
>>> On Aug 7, 2011 1:55 PM, "Victor Lazzarini"
>>>  wrote:
>>>> No reason, particularly. If fltk-config works on OSX, we can use it.
>>>>
>>>> Victor
>>>> On 7 Aug 2011, at 14:50, Steven Yi wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> I just got finished building FLTK on Mac Lion and found an issue
>>>>> with
>>>>> SConstruct, but I wasn't sure how to proceed. So for OSX Lion, FLTK
>>>>> 1.1.10 does not build universal as it uses Carbon. However, FLTK
>>>>> 1.3.x does build out of the box a universal i386/x86_64 build with
>>>>> Lion as it uses Cocoa.
>>>>>
>>>>> When building with the currently SConstruct, the build was
>>>>> failing. I
>>>>> traced it down to:
>>>>>
>>>>>
>>>>> elif getPlatform() == 'darwin':
>>>>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>>>>> 'pthread', 'm'])
>>>>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>>>>> -framework Carbon -framework CoreAudio -framework CoreMidi
>>>>> -framework ApplicationServices
>>>>> '''))
>>>>>
>>>>> This has hardcoded link flags. The build was failing as the Cocoa
>>>>> classes were missing. Modifying it to add Cocoa:
>>>>>
>>>>>
>>>>> elif getPlatform() == 'darwin':
>>>>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>>>>> 'pthread', 'm'])
>>>>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>>>>> -framework Carbon -framework CoreAudio -framework CoreMidi
>>>>> -framework ApplicationServices -framework Cocoa
>>>>> '''))
>>>>>
>>>>> Does get the widgets and virtual keyboard to build. A quick test
>>>>> shows
>>>>> the virtual keyboard works great with 1.3.x.
>>>>>
>>>>> However, in SConstruct I noticed that a few lines up we have for
>>>>> linux:
>>>>>
>>>>> widgetsEnvironment.ParseConfig('fltk-config --use-images --cflags
>>>>> --cxxflags --ldflags')
>>>>>
>>>>> I'm curious, is there any reason why we are not using fltk-config
>>>>> for
>>>>> Mac? At least for FLTK 1.3.x, doing "make install" installs
>>>>> fltk-config into /usr/local/bin.
>>>>>
>>>>> Thanks,
>>>>> steven
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>> The must-attend event for mobile developers. Connect with experts.
>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>> Dr Victor Lazzarini
>>>> Senior Lecturer
>>>> Dept. of Music
>>>> NUI Maynooth Ireland
>>>> tel.: +353 1 708 3545
>>>> Victor dot Lazzarini AT nuim dot ie
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>> The must-attend event for mobile developers. Connect with experts.
>>>> Get tools for creating Super Apps. See the latest technologies.
>>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> ------------------------------------------------------------------------------
>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>> The must-attend event for mobile developers. Connect with experts.
>>> Get tools for creating Super Apps. See the latest technologies.
>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>> http://p.sf.net/sfu/rim-blackberry-1_______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> Dr Victor Lazzarini
>>> Senior Lecturer
>>> Dept. of Music
>>> NUI Maynooth Ireland
>>> tel.: +353 1 708 3545
>>> Victor dot Lazzarini AT nuim dot ie
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>> The must-attend event for mobile developers. Connect with experts.
>>> Get tools for creating Super Apps. See the latest technologies.
>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>> http://p.sf.net/sfu/rim-blackberry-1
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>
>> ------------------------------------------------------------------------------
>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>> The must-attend event for mobile developers. Connect with experts.
>> Get tools for creating Super Apps. See the latest technologies.
>> Sessions, hands-on labs, demos & much more. Register early & save!
>> http://p.sf.net/sfu/rim-blackberry-1
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> The must-attend event for mobile developers. Connect with experts.
> Get tools for creating Super Apps. See the latest technologies.
> Sessions, hands-on labs, demos & much more. Register early & save!
> http://p.sf.net/sfu/rim-blackberry-1
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-08-08 14:37
FromVictor Lazzarini
SubjectRe: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
OK, it all seems to work fine, I have upgraded to 1.3 and re-built  
with your SConstruct commits.
One less problem moving to x86_64. Now, we'll have to solve the  
portmidi problem.

Vicroe

On 7 Aug 2011, at 22:12, Steven Yi wrote:

> Just FYI: I committed the fltk-config change for darwin and updated
> the wiki page with the commands I used to build:
>
> https://sourceforge.net/apps/mediawiki/csound/index.php?title=Building_Csound_on_OSX_Lion
>
> Thanks!
> steven
>
> On Sun, Aug 7, 2011 at 4:56 PM, Victor Lazzarini
>  wrote:
>> Sounds good. I'll have a look at this during the week.
>>
>> Victor
>> On 7 Aug 2011, at 21:50, Steven Yi wrote:
>>
>>> That sounds good to me.  I'm using 1.3.x here on Lion and will try  
>>> to
>>> test some more with Iain McCurdy's examples.  I still have my work
>>> Macbook that has 10.6, and on that machine I think I was using 1.3.x
>>> with MacPorts (must have been as it was a universal build there).
>>>
>>> Just FYI: I'm building all dependencies myself on my Lion machine  
>>> now
>>> to match up with your setup.  Should make things better for  
>>> keeping in
>>> sync I think.
>>>
>>> I'll work on the fltk-config change now and will commit that  
>>> shortly.
>>>
>>> Thanks!
>>> steven
>>>
>>> On Sun, Aug 7, 2011 at 4:02 PM, Victor Lazzarini
>>>  wrote:
>>>> I think we should possibly migrate to 1.3 on all OSX new releases
>>>> (10.5-.7),
>>>> what do you reckon?
>>>> Victor
>>>> On 7 Aug 2011, at 19:58, Steven Yi wrote:
>>>>
>>>> Ah okay, I will modify and commit when I return home in a few
>>>> hours, thanks!
>>>>
>>>> On Aug 7, 2011 1:55 PM, "Victor Lazzarini"
>>>>  wrote:
>>>>> No reason, particularly. If fltk-config works on OSX, we can use  
>>>>> it.
>>>>>
>>>>> Victor
>>>>> On 7 Aug 2011, at 14:50, Steven Yi wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>> I just got finished building FLTK on Mac Lion and found an issue
>>>>>> with
>>>>>> SConstruct, but I wasn't sure how to proceed. So for OSX Lion,  
>>>>>> FLTK
>>>>>> 1.1.10 does not build universal as it uses Carbon. However, FLTK
>>>>>> 1.3.x does build out of the box a universal i386/x86_64 build  
>>>>>> with
>>>>>> Lion as it uses Cocoa.
>>>>>>
>>>>>> When building with the currently SConstruct, the build was
>>>>>> failing. I
>>>>>> traced it down to:
>>>>>>
>>>>>>
>>>>>> elif getPlatform() == 'darwin':
>>>>>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>>>>>> 'pthread', 'm'])
>>>>>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>>>>>> -framework Carbon -framework CoreAudio -framework CoreMidi
>>>>>> -framework ApplicationServices
>>>>>> '''))
>>>>>>
>>>>>> This has hardcoded link flags. The build was failing as the Cocoa
>>>>>> classes were missing. Modifying it to add Cocoa:
>>>>>>
>>>>>>
>>>>>> elif getPlatform() == 'darwin':
>>>>>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>>>>>> 'pthread', 'm'])
>>>>>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>>>>>> -framework Carbon -framework CoreAudio -framework CoreMidi
>>>>>> -framework ApplicationServices -framework Cocoa
>>>>>> '''))
>>>>>>
>>>>>> Does get the widgets and virtual keyboard to build. A quick test
>>>>>> shows
>>>>>> the virtual keyboard works great with 1.3.x.
>>>>>>
>>>>>> However, in SConstruct I noticed that a few lines up we have for
>>>>>> linux:
>>>>>>
>>>>>> widgetsEnvironment.ParseConfig('fltk-config --use-images --cflags
>>>>>> --cxxflags --ldflags')
>>>>>>
>>>>>> I'm curious, is there any reason why we are not using fltk-config
>>>>>> for
>>>>>> Mac? At least for FLTK 1.3.x, doing "make install" installs
>>>>>> fltk-config into /usr/local/bin.
>>>>>>
>>>>>> Thanks,
>>>>>> steven
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>> The must-attend event for mobile developers. Connect with  
>>>>>> experts.
>>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>>> Sessions, hands-on labs, demos & much more. Register early &  
>>>>>> save!
>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>> Dr Victor Lazzarini
>>>>> Senior Lecturer
>>>>> Dept. of Music
>>>>> NUI Maynooth Ireland
>>>>> tel.: +353 1 708 3545
>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>> The must-attend event for mobile developers. Connect with experts.
>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>> ------------------------------------------------------------------------------
>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>> The must-attend event for mobile developers. Connect with experts.
>>>> Get tools for creating Super Apps. See the latest technologies.
>>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>>> http://p.sf.net/sfu/rim-blackberry-1_______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>> Dr Victor Lazzarini
>>>> Senior Lecturer
>>>> Dept. of Music
>>>> NUI Maynooth Ireland
>>>> tel.: +353 1 708 3545
>>>> Victor dot Lazzarini AT nuim dot ie
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>> The must-attend event for mobile developers. Connect with experts.
>>>> Get tools for creating Super Apps. See the latest technologies.
>>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>> The must-attend event for mobile developers. Connect with experts.
>>> Get tools for creating Super Apps. See the latest technologies.
>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>> http://p.sf.net/sfu/rim-blackberry-1
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>> The must-attend event for mobile developers. Connect with experts.
>> Get tools for creating Super Apps. See the latest technologies.
>> Sessions, hands-on labs, demos & much more. Register early & save!
>> http://p.sf.net/sfu/rim-blackberry-1
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> The must-attend event for mobile developers. Connect with experts.
> Get tools for creating Super Apps. See the latest technologies.
> Sessions, hands-on labs, demos & much more. Register early & save!
> http://p.sf.net/sfu/rim-blackberry-1
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-08-08 15:08
FromSteven Yi
SubjectRe: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
Yes I ran into issues with Portmidi as well on the Lion machine.  I'm
on the 10.6 machine and noticed I was able to install a universal
build via ports.  The portfile for portmidi
(https://trac.macports.org/browser/trunk/dports/audio/portmidi/Portfile)
shows that it uses some patches to build.  The patches are at:

https://trac.macports.org/browser/trunk/dports/audio/portmidi

I'm going to experiment later today to see if those will fix allow to
build universal on Lion.

steven

On Mon, Aug 8, 2011 at 9:37 AM, Victor Lazzarini
 wrote:
> OK, it all seems to work fine, I have upgraded to 1.3 and re-built
> with your SConstruct commits.
> One less problem moving to x86_64. Now, we'll have to solve the
> portmidi problem.
>
> Vicroe
>
> On 7 Aug 2011, at 22:12, Steven Yi wrote:
>
>> Just FYI: I committed the fltk-config change for darwin and updated
>> the wiki page with the commands I used to build:
>>
>> https://sourceforge.net/apps/mediawiki/csound/index.php?title=Building_Csound_on_OSX_Lion
>>
>> Thanks!
>> steven
>>
>> On Sun, Aug 7, 2011 at 4:56 PM, Victor Lazzarini
>>  wrote:
>>> Sounds good. I'll have a look at this during the week.
>>>
>>> Victor
>>> On 7 Aug 2011, at 21:50, Steven Yi wrote:
>>>
>>>> That sounds good to me.  I'm using 1.3.x here on Lion and will try
>>>> to
>>>> test some more with Iain McCurdy's examples.  I still have my work
>>>> Macbook that has 10.6, and on that machine I think I was using 1.3.x
>>>> with MacPorts (must have been as it was a universal build there).
>>>>
>>>> Just FYI: I'm building all dependencies myself on my Lion machine
>>>> now
>>>> to match up with your setup.  Should make things better for
>>>> keeping in
>>>> sync I think.
>>>>
>>>> I'll work on the fltk-config change now and will commit that
>>>> shortly.
>>>>
>>>> Thanks!
>>>> steven
>>>>
>>>> On Sun, Aug 7, 2011 at 4:02 PM, Victor Lazzarini
>>>>  wrote:
>>>>> I think we should possibly migrate to 1.3 on all OSX new releases
>>>>> (10.5-.7),
>>>>> what do you reckon?
>>>>> Victor
>>>>> On 7 Aug 2011, at 19:58, Steven Yi wrote:
>>>>>
>>>>> Ah okay, I will modify and commit when I return home in a few
>>>>> hours, thanks!
>>>>>
>>>>> On Aug 7, 2011 1:55 PM, "Victor Lazzarini"
>>>>>  wrote:
>>>>>> No reason, particularly. If fltk-config works on OSX, we can use
>>>>>> it.
>>>>>>
>>>>>> Victor
>>>>>> On 7 Aug 2011, at 14:50, Steven Yi wrote:
>>>>>>
>>>>>>> Hi All,
>>>>>>>
>>>>>>> I just got finished building FLTK on Mac Lion and found an issue
>>>>>>> with
>>>>>>> SConstruct, but I wasn't sure how to proceed. So for OSX Lion,
>>>>>>> FLTK
>>>>>>> 1.1.10 does not build universal as it uses Carbon. However, FLTK
>>>>>>> 1.3.x does build out of the box a universal i386/x86_64 build
>>>>>>> with
>>>>>>> Lion as it uses Cocoa.
>>>>>>>
>>>>>>> When building with the currently SConstruct, the build was
>>>>>>> failing. I
>>>>>>> traced it down to:
>>>>>>>
>>>>>>>
>>>>>>> elif getPlatform() == 'darwin':
>>>>>>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>>>>>>> 'pthread', 'm'])
>>>>>>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>>>>>>> -framework Carbon -framework CoreAudio -framework CoreMidi
>>>>>>> -framework ApplicationServices
>>>>>>> '''))
>>>>>>>
>>>>>>> This has hardcoded link flags. The build was failing as the Cocoa
>>>>>>> classes were missing. Modifying it to add Cocoa:
>>>>>>>
>>>>>>>
>>>>>>> elif getPlatform() == 'darwin':
>>>>>>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>>>>>>> 'pthread', 'm'])
>>>>>>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>>>>>>> -framework Carbon -framework CoreAudio -framework CoreMidi
>>>>>>> -framework ApplicationServices -framework Cocoa
>>>>>>> '''))
>>>>>>>
>>>>>>> Does get the widgets and virtual keyboard to build. A quick test
>>>>>>> shows
>>>>>>> the virtual keyboard works great with 1.3.x.
>>>>>>>
>>>>>>> However, in SConstruct I noticed that a few lines up we have for
>>>>>>> linux:
>>>>>>>
>>>>>>> widgetsEnvironment.ParseConfig('fltk-config --use-images --cflags
>>>>>>> --cxxflags --ldflags')
>>>>>>>
>>>>>>> I'm curious, is there any reason why we are not using fltk-config
>>>>>>> for
>>>>>>> Mac? At least for FLTK 1.3.x, doing "make install" installs
>>>>>>> fltk-config into /usr/local/bin.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> steven
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>>> The must-attend event for mobile developers. Connect with
>>>>>>> experts.
>>>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>>>> Sessions, hands-on labs, demos & much more. Register early &
>>>>>>> save!
>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>> Dr Victor Lazzarini
>>>>>> Senior Lecturer
>>>>>> Dept. of Music
>>>>>> NUI Maynooth Ireland
>>>>>> tel.: +353 1 708 3545
>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>> The must-attend event for mobile developers. Connect with experts.
>>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>> ------------------------------------------------------------------------------
>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>> The must-attend event for mobile developers. Connect with experts.
>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>>>> http://p.sf.net/sfu/rim-blackberry-1_______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>> Dr Victor Lazzarini
>>>>> Senior Lecturer
>>>>> Dept. of Music
>>>>> NUI Maynooth Ireland
>>>>> tel.: +353 1 708 3545
>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>> The must-attend event for mobile developers. Connect with experts.
>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>> The must-attend event for mobile developers. Connect with experts.
>>>> Get tools for creating Super Apps. See the latest technologies.
>>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> Dr Victor Lazzarini
>>> Senior Lecturer
>>> Dept. of Music
>>> NUI Maynooth Ireland
>>> tel.: +353 1 708 3545
>>> Victor dot Lazzarini AT nuim dot ie
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>> The must-attend event for mobile developers. Connect with experts.
>>> Get tools for creating Super Apps. See the latest technologies.
>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>> http://p.sf.net/sfu/rim-blackberry-1
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>> ------------------------------------------------------------------------------
>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>> The must-attend event for mobile developers. Connect with experts.
>> Get tools for creating Super Apps. See the latest technologies.
>> Sessions, hands-on labs, demos & much more. Register early & save!
>> http://p.sf.net/sfu/rim-blackberry-1
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> The must-attend event for mobile developers. Connect with experts.
> Get tools for creating Super Apps. See the latest technologies.
> Sessions, hands-on labs, demos & much more. Register early & save!
> http://p.sf.net/sfu/rim-blackberry-1
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-08-08 16:20
FromSteven Yi
SubjectRe: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
Well the build didn't seem to be problematic.  I modified the
CMakeFiles.txt in portmidi to remove ppc as a build architecture and
just left i386 and x86_64.  I was able to build and install portmidi
and build csound's portmidi lib with that.

I wrote down the steps I did for using CMake to build portmidi on the wiki:

https://sourceforge.net/apps/mediawiki/csound/index.php?title=Building_Csound_on_OSX_Lion

I'm running into an issue now where the SConstruct I installed from
ports is running with python 2.6, but the installed version on the
system is 2.7 (the 2.6 was installed from ports).  This is causing a
problem with the logic in SConstruct and failing to build the python
opcodes/interface.  I'm going to remove that SCons and install
manually to fix that and will update the wiki accordingly.

On Mon, Aug 8, 2011 at 10:08 AM, Steven Yi  wrote:
> Yes I ran into issues with Portmidi as well on the Lion machine.  I'm
> on the 10.6 machine and noticed I was able to install a universal
> build via ports.  The portfile for portmidi
> (https://trac.macports.org/browser/trunk/dports/audio/portmidi/Portfile)
> shows that it uses some patches to build.  The patches are at:
>
> https://trac.macports.org/browser/trunk/dports/audio/portmidi
>
> I'm going to experiment later today to see if those will fix allow to
> build universal on Lion.
>
> steven
>
> On Mon, Aug 8, 2011 at 9:37 AM, Victor Lazzarini
>  wrote:
>> OK, it all seems to work fine, I have upgraded to 1.3 and re-built
>> with your SConstruct commits.
>> One less problem moving to x86_64. Now, we'll have to solve the
>> portmidi problem.
>>
>> Vicroe
>>
>> On 7 Aug 2011, at 22:12, Steven Yi wrote:
>>
>>> Just FYI: I committed the fltk-config change for darwin and updated
>>> the wiki page with the commands I used to build:
>>>
>>> https://sourceforge.net/apps/mediawiki/csound/index.php?title=Building_Csound_on_OSX_Lion
>>>
>>> Thanks!
>>> steven
>>>
>>> On Sun, Aug 7, 2011 at 4:56 PM, Victor Lazzarini
>>>  wrote:
>>>> Sounds good. I'll have a look at this during the week.
>>>>
>>>> Victor
>>>> On 7 Aug 2011, at 21:50, Steven Yi wrote:
>>>>
>>>>> That sounds good to me.  I'm using 1.3.x here on Lion and will try
>>>>> to
>>>>> test some more with Iain McCurdy's examples.  I still have my work
>>>>> Macbook that has 10.6, and on that machine I think I was using 1.3.x
>>>>> with MacPorts (must have been as it was a universal build there).
>>>>>
>>>>> Just FYI: I'm building all dependencies myself on my Lion machine
>>>>> now
>>>>> to match up with your setup.  Should make things better for
>>>>> keeping in
>>>>> sync I think.
>>>>>
>>>>> I'll work on the fltk-config change now and will commit that
>>>>> shortly.
>>>>>
>>>>> Thanks!
>>>>> steven
>>>>>
>>>>> On Sun, Aug 7, 2011 at 4:02 PM, Victor Lazzarini
>>>>>  wrote:
>>>>>> I think we should possibly migrate to 1.3 on all OSX new releases
>>>>>> (10.5-.7),
>>>>>> what do you reckon?
>>>>>> Victor
>>>>>> On 7 Aug 2011, at 19:58, Steven Yi wrote:
>>>>>>
>>>>>> Ah okay, I will modify and commit when I return home in a few
>>>>>> hours, thanks!
>>>>>>
>>>>>> On Aug 7, 2011 1:55 PM, "Victor Lazzarini"
>>>>>>  wrote:
>>>>>>> No reason, particularly. If fltk-config works on OSX, we can use
>>>>>>> it.
>>>>>>>
>>>>>>> Victor
>>>>>>> On 7 Aug 2011, at 14:50, Steven Yi wrote:
>>>>>>>
>>>>>>>> Hi All,
>>>>>>>>
>>>>>>>> I just got finished building FLTK on Mac Lion and found an issue
>>>>>>>> with
>>>>>>>> SConstruct, but I wasn't sure how to proceed. So for OSX Lion,
>>>>>>>> FLTK
>>>>>>>> 1.1.10 does not build universal as it uses Carbon. However, FLTK
>>>>>>>> 1.3.x does build out of the box a universal i386/x86_64 build
>>>>>>>> with
>>>>>>>> Lion as it uses Cocoa.
>>>>>>>>
>>>>>>>> When building with the currently SConstruct, the build was
>>>>>>>> failing. I
>>>>>>>> traced it down to:
>>>>>>>>
>>>>>>>>
>>>>>>>> elif getPlatform() == 'darwin':
>>>>>>>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>>>>>>>> 'pthread', 'm'])
>>>>>>>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>>>>>>>> -framework Carbon -framework CoreAudio -framework CoreMidi
>>>>>>>> -framework ApplicationServices
>>>>>>>> '''))
>>>>>>>>
>>>>>>>> This has hardcoded link flags. The build was failing as the Cocoa
>>>>>>>> classes were missing. Modifying it to add Cocoa:
>>>>>>>>
>>>>>>>>
>>>>>>>> elif getPlatform() == 'darwin':
>>>>>>>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>>>>>>>> 'pthread', 'm'])
>>>>>>>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>>>>>>>> -framework Carbon -framework CoreAudio -framework CoreMidi
>>>>>>>> -framework ApplicationServices -framework Cocoa
>>>>>>>> '''))
>>>>>>>>
>>>>>>>> Does get the widgets and virtual keyboard to build. A quick test
>>>>>>>> shows
>>>>>>>> the virtual keyboard works great with 1.3.x.
>>>>>>>>
>>>>>>>> However, in SConstruct I noticed that a few lines up we have for
>>>>>>>> linux:
>>>>>>>>
>>>>>>>> widgetsEnvironment.ParseConfig('fltk-config --use-images --cflags
>>>>>>>> --cxxflags --ldflags')
>>>>>>>>
>>>>>>>> I'm curious, is there any reason why we are not using fltk-config
>>>>>>>> for
>>>>>>>> Mac? At least for FLTK 1.3.x, doing "make install" installs
>>>>>>>> fltk-config into /usr/local/bin.
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> steven
>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>>>>> experts.
>>>>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>>>>> Sessions, hands-on labs, demos & much more. Register early &
>>>>>>>> save!
>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>> Dr Victor Lazzarini
>>>>>>> Senior Lecturer
>>>>>>> Dept. of Music
>>>>>>> NUI Maynooth Ireland
>>>>>>> tel.: +353 1 708 3545
>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>>> The must-attend event for mobile developers. Connect with experts.
>>>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>> ------------------------------------------------------------------------------
>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>> The must-attend event for mobile developers. Connect with experts.
>>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>>>>> http://p.sf.net/sfu/rim-blackberry-1_______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>> Dr Victor Lazzarini
>>>>>> Senior Lecturer
>>>>>> Dept. of Music
>>>>>> NUI Maynooth Ireland
>>>>>> tel.: +353 1 708 3545
>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>> The must-attend event for mobile developers. Connect with experts.
>>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>> The must-attend event for mobile developers. Connect with experts.
>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>> Dr Victor Lazzarini
>>>> Senior Lecturer
>>>> Dept. of Music
>>>> NUI Maynooth Ireland
>>>> tel.: +353 1 708 3545
>>>> Victor dot Lazzarini AT nuim dot ie
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>> The must-attend event for mobile developers. Connect with experts.
>>>> Get tools for creating Super Apps. See the latest technologies.
>>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>> The must-attend event for mobile developers. Connect with experts.
>>> Get tools for creating Super Apps. See the latest technologies.
>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>> http://p.sf.net/sfu/rim-blackberry-1
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>> The must-attend event for mobile developers. Connect with experts.
>> Get tools for creating Super Apps. See the latest technologies.
>> Sessions, hands-on labs, demos & much more. Register early & save!
>> http://p.sf.net/sfu/rim-blackberry-1
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-08-08 17:38
FromVictor Lazzarini
SubjectRe: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
The problem is not the fat binary but the reentrancy, which is not  
guaranteed with portmidi. csound will crash.

Victor
On 8 Aug 2011, at 15:08, Steven Yi wrote:

> Yes I ran into issues with Portmidi as well on the Lion machine.  I'm
> on the 10.6 machine and noticed I was able to install a universal
> build via ports.  The portfile for portmidi
> (https://trac.macports.org/browser/trunk/dports/audio/portmidi/Portfile 
> )
> shows that it uses some patches to build.  The patches are at:
>
> https://trac.macports.org/browser/trunk/dports/audio/portmidi
>
> I'm going to experiment later today to see if those will fix allow to
> build universal on Lion.
>
> steven
>
> On Mon, Aug 8, 2011 at 9:37 AM, Victor Lazzarini
>  wrote:
>> OK, it all seems to work fine, I have upgraded to 1.3 and re-built
>> with your SConstruct commits.
>> One less problem moving to x86_64. Now, we'll have to solve the
>> portmidi problem.
>>
>> Vicroe
>>
>> On 7 Aug 2011, at 22:12, Steven Yi wrote:
>>
>>> Just FYI: I committed the fltk-config change for darwin and updated
>>> the wiki page with the commands I used to build:
>>>
>>> https://sourceforge.net/apps/mediawiki/csound/index.php?title=Building_Csound_on_OSX_Lion
>>>
>>> Thanks!
>>> steven
>>>
>>> On Sun, Aug 7, 2011 at 4:56 PM, Victor Lazzarini
>>>  wrote:
>>>> Sounds good. I'll have a look at this during the week.
>>>>
>>>> Victor
>>>> On 7 Aug 2011, at 21:50, Steven Yi wrote:
>>>>
>>>>> That sounds good to me.  I'm using 1.3.x here on Lion and will try
>>>>> to
>>>>> test some more with Iain McCurdy's examples.  I still have my work
>>>>> Macbook that has 10.6, and on that machine I think I was using  
>>>>> 1.3.x
>>>>> with MacPorts (must have been as it was a universal build there).
>>>>>
>>>>> Just FYI: I'm building all dependencies myself on my Lion machine
>>>>> now
>>>>> to match up with your setup.  Should make things better for
>>>>> keeping in
>>>>> sync I think.
>>>>>
>>>>> I'll work on the fltk-config change now and will commit that
>>>>> shortly.
>>>>>
>>>>> Thanks!
>>>>> steven
>>>>>
>>>>> On Sun, Aug 7, 2011 at 4:02 PM, Victor Lazzarini
>>>>>  wrote:
>>>>>> I think we should possibly migrate to 1.3 on all OSX new releases
>>>>>> (10.5-.7),
>>>>>> what do you reckon?
>>>>>> Victor
>>>>>> On 7 Aug 2011, at 19:58, Steven Yi wrote:
>>>>>>
>>>>>> Ah okay, I will modify and commit when I return home in a few
>>>>>> hours, thanks!
>>>>>>
>>>>>> On Aug 7, 2011 1:55 PM, "Victor Lazzarini"
>>>>>>  wrote:
>>>>>>> No reason, particularly. If fltk-config works on OSX, we can use
>>>>>>> it.
>>>>>>>
>>>>>>> Victor
>>>>>>> On 7 Aug 2011, at 14:50, Steven Yi wrote:
>>>>>>>
>>>>>>>> Hi All,
>>>>>>>>
>>>>>>>> I just got finished building FLTK on Mac Lion and found an  
>>>>>>>> issue
>>>>>>>> with
>>>>>>>> SConstruct, but I wasn't sure how to proceed. So for OSX Lion,
>>>>>>>> FLTK
>>>>>>>> 1.1.10 does not build universal as it uses Carbon. However,  
>>>>>>>> FLTK
>>>>>>>> 1.3.x does build out of the box a universal i386/x86_64 build
>>>>>>>> with
>>>>>>>> Lion as it uses Cocoa.
>>>>>>>>
>>>>>>>> When building with the currently SConstruct, the build was
>>>>>>>> failing. I
>>>>>>>> traced it down to:
>>>>>>>>
>>>>>>>>
>>>>>>>> elif getPlatform() == 'darwin':
>>>>>>>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>>>>>>>> 'pthread', 'm'])
>>>>>>>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>>>>>>>> -framework Carbon -framework CoreAudio -framework CoreMidi
>>>>>>>> -framework ApplicationServices
>>>>>>>> '''))
>>>>>>>>
>>>>>>>> This has hardcoded link flags. The build was failing as the  
>>>>>>>> Cocoa
>>>>>>>> classes were missing. Modifying it to add Cocoa:
>>>>>>>>
>>>>>>>>
>>>>>>>> elif getPlatform() == 'darwin':
>>>>>>>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>>>>>>>> 'pthread', 'm'])
>>>>>>>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>>>>>>>> -framework Carbon -framework CoreAudio -framework CoreMidi
>>>>>>>> -framework ApplicationServices -framework Cocoa
>>>>>>>> '''))
>>>>>>>>
>>>>>>>> Does get the widgets and virtual keyboard to build. A quick  
>>>>>>>> test
>>>>>>>> shows
>>>>>>>> the virtual keyboard works great with 1.3.x.
>>>>>>>>
>>>>>>>> However, in SConstruct I noticed that a few lines up we have  
>>>>>>>> for
>>>>>>>> linux:
>>>>>>>>
>>>>>>>> widgetsEnvironment.ParseConfig('fltk-config --use-images -- 
>>>>>>>> cflags
>>>>>>>> --cxxflags --ldflags')
>>>>>>>>
>>>>>>>> I'm curious, is there any reason why we are not using fltk- 
>>>>>>>> config
>>>>>>>> for
>>>>>>>> Mac? At least for FLTK 1.3.x, doing "make install" installs
>>>>>>>> fltk-config into /usr/local/bin.
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> steven
>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>>>>> experts.
>>>>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>>>>> Sessions, hands-on labs, demos & much more. Register early &
>>>>>>>> save!
>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>> Dr Victor Lazzarini
>>>>>>> Senior Lecturer
>>>>>>> Dept. of Music
>>>>>>> NUI Maynooth Ireland
>>>>>>> tel.: +353 1 708 3545
>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>>> The must-attend event for mobile developers. Connect with  
>>>>>>> experts.
>>>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>>>> Sessions, hands-on labs, demos & much more. Register early &  
>>>>>>> save!
>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>> ------------------------------------------------------------------------------
>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>> The must-attend event for mobile developers. Connect with  
>>>>>> experts.
>>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>>> Sessions, hands-on labs, demos & much more. Register early &  
>>>>>> save!
>>>>>> http://p.sf.net/sfu/rim-blackberry-1_______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>> Dr Victor Lazzarini
>>>>>> Senior Lecturer
>>>>>> Dept. of Music
>>>>>> NUI Maynooth Ireland
>>>>>> tel.: +353 1 708 3545
>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>> The must-attend event for mobile developers. Connect with  
>>>>>> experts.
>>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>>> Sessions, hands-on labs, demos & much more. Register early &  
>>>>>> save!
>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>> The must-attend event for mobile developers. Connect with experts.
>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>> Dr Victor Lazzarini
>>>> Senior Lecturer
>>>> Dept. of Music
>>>> NUI Maynooth Ireland
>>>> tel.: +353 1 708 3545
>>>> Victor dot Lazzarini AT nuim dot ie
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>> The must-attend event for mobile developers. Connect with experts.
>>>> Get tools for creating Super Apps. See the latest technologies.
>>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>> The must-attend event for mobile developers. Connect with experts.
>>> Get tools for creating Super Apps. See the latest technologies.
>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>> http://p.sf.net/sfu/rim-blackberry-1
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>> The must-attend event for mobile developers. Connect with experts.
>> Get tools for creating Super Apps. See the latest technologies.
>> Sessions, hands-on labs, demos & much more. Register early & save!
>> http://p.sf.net/sfu/rim-blackberry-1
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> The must-attend event for mobile developers. Connect with experts.
> Get tools for creating Super Apps. See the latest technologies.
> Sessions, hands-on labs, demos & much more. Register early & save!
> http://p.sf.net/sfu/rim-blackberry-1
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-08-08 17:39
FromVictor Lazzarini
SubjectRe: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
yes, I had no problems building it on 10.6, but it crashes Csound when  
we try to load a second instance.

Victor
On 8 Aug 2011, at 16:20, Steven Yi wrote:

> Well the build didn't seem to be problematic.  I modified the
> CMakeFiles.txt in portmidi to remove ppc as a build architecture and
> just left i386 and x86_64.  I was able to build and install portmidi
> and build csound's portmidi lib with that.
>
> I wrote down the steps I did for using CMake to build portmidi on  
> the wiki:
>
> https://sourceforge.net/apps/mediawiki/csound/index.php?title=Building_Csound_on_OSX_Lion
>
> I'm running into an issue now where the SConstruct I installed from
> ports is running with python 2.6, but the installed version on the
> system is 2.7 (the 2.6 was installed from ports).  This is causing a
> problem with the logic in SConstruct and failing to build the python
> opcodes/interface.  I'm going to remove that SCons and install
> manually to fix that and will update the wiki accordingly.
>
> On Mon, Aug 8, 2011 at 10:08 AM, Steven Yi  wrote:
>> Yes I ran into issues with Portmidi as well on the Lion machine.  I'm
>> on the 10.6 machine and noticed I was able to install a universal
>> build via ports.  The portfile for portmidi
>> (https://trac.macports.org/browser/trunk/dports/audio/portmidi/Portfile 
>> )
>> shows that it uses some patches to build.  The patches are at:
>>
>> https://trac.macports.org/browser/trunk/dports/audio/portmidi
>>
>> I'm going to experiment later today to see if those will fix allow to
>> build universal on Lion.
>>
>> steven
>>
>> On Mon, Aug 8, 2011 at 9:37 AM, Victor Lazzarini
>>  wrote:
>>> OK, it all seems to work fine, I have upgraded to 1.3 and re-built
>>> with your SConstruct commits.
>>> One less problem moving to x86_64. Now, we'll have to solve the
>>> portmidi problem.
>>>
>>> Vicroe
>>>
>>> On 7 Aug 2011, at 22:12, Steven Yi wrote:
>>>
>>>> Just FYI: I committed the fltk-config change for darwin and updated
>>>> the wiki page with the commands I used to build:
>>>>
>>>> https://sourceforge.net/apps/mediawiki/csound/index.php?title=Building_Csound_on_OSX_Lion
>>>>
>>>> Thanks!
>>>> steven
>>>>
>>>> On Sun, Aug 7, 2011 at 4:56 PM, Victor Lazzarini
>>>>  wrote:
>>>>> Sounds good. I'll have a look at this during the week.
>>>>>
>>>>> Victor
>>>>> On 7 Aug 2011, at 21:50, Steven Yi wrote:
>>>>>
>>>>>> That sounds good to me.  I'm using 1.3.x here on Lion and will  
>>>>>> try
>>>>>> to
>>>>>> test some more with Iain McCurdy's examples.  I still have my  
>>>>>> work
>>>>>> Macbook that has 10.6, and on that machine I think I was using  
>>>>>> 1.3.x
>>>>>> with MacPorts (must have been as it was a universal build there).
>>>>>>
>>>>>> Just FYI: I'm building all dependencies myself on my Lion machine
>>>>>> now
>>>>>> to match up with your setup.  Should make things better for
>>>>>> keeping in
>>>>>> sync I think.
>>>>>>
>>>>>> I'll work on the fltk-config change now and will commit that
>>>>>> shortly.
>>>>>>
>>>>>> Thanks!
>>>>>> steven
>>>>>>
>>>>>> On Sun, Aug 7, 2011 at 4:02 PM, Victor Lazzarini
>>>>>>  wrote:
>>>>>>> I think we should possibly migrate to 1.3 on all OSX new  
>>>>>>> releases
>>>>>>> (10.5-.7),
>>>>>>> what do you reckon?
>>>>>>> Victor
>>>>>>> On 7 Aug 2011, at 19:58, Steven Yi wrote:
>>>>>>>
>>>>>>> Ah okay, I will modify and commit when I return home in a few
>>>>>>> hours, thanks!
>>>>>>>
>>>>>>> On Aug 7, 2011 1:55 PM, "Victor Lazzarini"
>>>>>>>  wrote:
>>>>>>>> No reason, particularly. If fltk-config works on OSX, we can  
>>>>>>>> use
>>>>>>>> it.
>>>>>>>>
>>>>>>>> Victor
>>>>>>>> On 7 Aug 2011, at 14:50, Steven Yi wrote:
>>>>>>>>
>>>>>>>>> Hi All,
>>>>>>>>>
>>>>>>>>> I just got finished building FLTK on Mac Lion and found an  
>>>>>>>>> issue
>>>>>>>>> with
>>>>>>>>> SConstruct, but I wasn't sure how to proceed. So for OSX Lion,
>>>>>>>>> FLTK
>>>>>>>>> 1.1.10 does not build universal as it uses Carbon. However,  
>>>>>>>>> FLTK
>>>>>>>>> 1.3.x does build out of the box a universal i386/x86_64 build
>>>>>>>>> with
>>>>>>>>> Lion as it uses Cocoa.
>>>>>>>>>
>>>>>>>>> When building with the currently SConstruct, the build was
>>>>>>>>> failing. I
>>>>>>>>> traced it down to:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> elif getPlatform() == 'darwin':
>>>>>>>>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>>>>>>>>> 'pthread', 'm'])
>>>>>>>>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>>>>>>>>> -framework Carbon -framework CoreAudio -framework CoreMidi
>>>>>>>>> -framework ApplicationServices
>>>>>>>>> '''))
>>>>>>>>>
>>>>>>>>> This has hardcoded link flags. The build was failing as the  
>>>>>>>>> Cocoa
>>>>>>>>> classes were missing. Modifying it to add Cocoa:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> elif getPlatform() == 'darwin':
>>>>>>>>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>>>>>>>>> 'pthread', 'm'])
>>>>>>>>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>>>>>>>>> -framework Carbon -framework CoreAudio -framework CoreMidi
>>>>>>>>> -framework ApplicationServices -framework Cocoa
>>>>>>>>> '''))
>>>>>>>>>
>>>>>>>>> Does get the widgets and virtual keyboard to build. A quick  
>>>>>>>>> test
>>>>>>>>> shows
>>>>>>>>> the virtual keyboard works great with 1.3.x.
>>>>>>>>>
>>>>>>>>> However, in SConstruct I noticed that a few lines up we have  
>>>>>>>>> for
>>>>>>>>> linux:
>>>>>>>>>
>>>>>>>>> widgetsEnvironment.ParseConfig('fltk-config --use-images -- 
>>>>>>>>> cflags
>>>>>>>>> --cxxflags --ldflags')
>>>>>>>>>
>>>>>>>>> I'm curious, is there any reason why we are not using fltk- 
>>>>>>>>> config
>>>>>>>>> for
>>>>>>>>> Mac? At least for FLTK 1.3.x, doing "make install" installs
>>>>>>>>> fltk-config into /usr/local/bin.
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>> steven
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>>>>>> experts.
>>>>>>>>> Get tools for creating Super Apps. See the latest  
>>>>>>>>> technologies.
>>>>>>>>> Sessions, hands-on labs, demos & much more. Register early &
>>>>>>>>> save!
>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>> Dr Victor Lazzarini
>>>>>>>> Senior Lecturer
>>>>>>>> Dept. of Music
>>>>>>>> NUI Maynooth Ireland
>>>>>>>> tel.: +353 1 708 3545
>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>>>> The must-attend event for mobile developers. Connect with  
>>>>>>>> experts.
>>>>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>>>>> Sessions, hands-on labs, demos & much more. Register early &  
>>>>>>>> save!
>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>>> The must-attend event for mobile developers. Connect with  
>>>>>>> experts.
>>>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>>>> Sessions, hands-on labs, demos & much more. Register early &  
>>>>>>> save!
>>>>>>> http://p.sf.net/sfu/rim-blackberry-1_______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>> Dr Victor Lazzarini
>>>>>>> Senior Lecturer
>>>>>>> Dept. of Music
>>>>>>> NUI Maynooth Ireland
>>>>>>> tel.: +353 1 708 3545
>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>>> The must-attend event for mobile developers. Connect with  
>>>>>>> experts.
>>>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>>>> Sessions, hands-on labs, demos & much more. Register early &  
>>>>>>> save!
>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>> The must-attend event for mobile developers. Connect with  
>>>>>> experts.
>>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>>> Sessions, hands-on labs, demos & much more. Register early &  
>>>>>> save!
>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>> Dr Victor Lazzarini
>>>>> Senior Lecturer
>>>>> Dept. of Music
>>>>> NUI Maynooth Ireland
>>>>> tel.: +353 1 708 3545
>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>> The must-attend event for mobile developers. Connect with experts.
>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>> The must-attend event for mobile developers. Connect with experts.
>>>> Get tools for creating Super Apps. See the latest technologies.
>>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> Dr Victor Lazzarini
>>> Senior Lecturer
>>> Dept. of Music
>>> NUI Maynooth Ireland
>>> tel.: +353 1 708 3545
>>> Victor dot Lazzarini AT nuim dot ie
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>> The must-attend event for mobile developers. Connect with experts.
>>> Get tools for creating Super Apps. See the latest technologies.
>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>> http://p.sf.net/sfu/rim-blackberry-1
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>
> ------------------------------------------------------------------------------
> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> The must-attend event for mobile developers. Connect with experts.
> Get tools for creating Super Apps. See the latest technologies.
> Sessions, hands-on labs, demos & much more. Register early & save!
> http://p.sf.net/sfu/rim-blackberry-1
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-08-08 19:51
FromSteven Yi
SubjectRe: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
Ah strange, I just ran blue with PortMIDI and using Csound API.  I was
able to run over and over. I think I'm creating a new instance of
Csound per run, but I'll have to double check.  I'll try to find that
email with the C code you gave earlier to try to debug with that.

On Mon, Aug 8, 2011 at 12:39 PM, Victor Lazzarini
 wrote:
> yes, I had no problems building it on 10.6, but it crashes Csound when
> we try to load a second instance.
>
> Victor
> On 8 Aug 2011, at 16:20, Steven Yi wrote:
>
>> Well the build didn't seem to be problematic.  I modified the
>> CMakeFiles.txt in portmidi to remove ppc as a build architecture and
>> just left i386 and x86_64.  I was able to build and install portmidi
>> and build csound's portmidi lib with that.
>>
>> I wrote down the steps I did for using CMake to build portmidi on
>> the wiki:
>>
>> https://sourceforge.net/apps/mediawiki/csound/index.php?title=Building_Csound_on_OSX_Lion
>>
>> I'm running into an issue now where the SConstruct I installed from
>> ports is running with python 2.6, but the installed version on the
>> system is 2.7 (the 2.6 was installed from ports).  This is causing a
>> problem with the logic in SConstruct and failing to build the python
>> opcodes/interface.  I'm going to remove that SCons and install
>> manually to fix that and will update the wiki accordingly.
>>
>> On Mon, Aug 8, 2011 at 10:08 AM, Steven Yi  wrote:
>>> Yes I ran into issues with Portmidi as well on the Lion machine.  I'm
>>> on the 10.6 machine and noticed I was able to install a universal
>>> build via ports.  The portfile for portmidi
>>> (https://trac.macports.org/browser/trunk/dports/audio/portmidi/Portfile
>>> )
>>> shows that it uses some patches to build.  The patches are at:
>>>
>>> https://trac.macports.org/browser/trunk/dports/audio/portmidi
>>>
>>> I'm going to experiment later today to see if those will fix allow to
>>> build universal on Lion.
>>>
>>> steven
>>>
>>> On Mon, Aug 8, 2011 at 9:37 AM, Victor Lazzarini
>>>  wrote:
>>>> OK, it all seems to work fine, I have upgraded to 1.3 and re-built
>>>> with your SConstruct commits.
>>>> One less problem moving to x86_64. Now, we'll have to solve the
>>>> portmidi problem.
>>>>
>>>> Vicroe
>>>>
>>>> On 7 Aug 2011, at 22:12, Steven Yi wrote:
>>>>
>>>>> Just FYI: I committed the fltk-config change for darwin and updated
>>>>> the wiki page with the commands I used to build:
>>>>>
>>>>> https://sourceforge.net/apps/mediawiki/csound/index.php?title=Building_Csound_on_OSX_Lion
>>>>>
>>>>> Thanks!
>>>>> steven
>>>>>
>>>>> On Sun, Aug 7, 2011 at 4:56 PM, Victor Lazzarini
>>>>>  wrote:
>>>>>> Sounds good. I'll have a look at this during the week.
>>>>>>
>>>>>> Victor
>>>>>> On 7 Aug 2011, at 21:50, Steven Yi wrote:
>>>>>>
>>>>>>> That sounds good to me.  I'm using 1.3.x here on Lion and will
>>>>>>> try
>>>>>>> to
>>>>>>> test some more with Iain McCurdy's examples.  I still have my
>>>>>>> work
>>>>>>> Macbook that has 10.6, and on that machine I think I was using
>>>>>>> 1.3.x
>>>>>>> with MacPorts (must have been as it was a universal build there).
>>>>>>>
>>>>>>> Just FYI: I'm building all dependencies myself on my Lion machine
>>>>>>> now
>>>>>>> to match up with your setup.  Should make things better for
>>>>>>> keeping in
>>>>>>> sync I think.
>>>>>>>
>>>>>>> I'll work on the fltk-config change now and will commit that
>>>>>>> shortly.
>>>>>>>
>>>>>>> Thanks!
>>>>>>> steven
>>>>>>>
>>>>>>> On Sun, Aug 7, 2011 at 4:02 PM, Victor Lazzarini
>>>>>>>  wrote:
>>>>>>>> I think we should possibly migrate to 1.3 on all OSX new
>>>>>>>> releases
>>>>>>>> (10.5-.7),
>>>>>>>> what do you reckon?
>>>>>>>> Victor
>>>>>>>> On 7 Aug 2011, at 19:58, Steven Yi wrote:
>>>>>>>>
>>>>>>>> Ah okay, I will modify and commit when I return home in a few
>>>>>>>> hours, thanks!
>>>>>>>>
>>>>>>>> On Aug 7, 2011 1:55 PM, "Victor Lazzarini"
>>>>>>>>  wrote:
>>>>>>>>> No reason, particularly. If fltk-config works on OSX, we can
>>>>>>>>> use
>>>>>>>>> it.
>>>>>>>>>
>>>>>>>>> Victor
>>>>>>>>> On 7 Aug 2011, at 14:50, Steven Yi wrote:
>>>>>>>>>
>>>>>>>>>> Hi All,
>>>>>>>>>>
>>>>>>>>>> I just got finished building FLTK on Mac Lion and found an
>>>>>>>>>> issue
>>>>>>>>>> with
>>>>>>>>>> SConstruct, but I wasn't sure how to proceed. So for OSX Lion,
>>>>>>>>>> FLTK
>>>>>>>>>> 1.1.10 does not build universal as it uses Carbon. However,
>>>>>>>>>> FLTK
>>>>>>>>>> 1.3.x does build out of the box a universal i386/x86_64 build
>>>>>>>>>> with
>>>>>>>>>> Lion as it uses Cocoa.
>>>>>>>>>>
>>>>>>>>>> When building with the currently SConstruct, the build was
>>>>>>>>>> failing. I
>>>>>>>>>> traced it down to:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> elif getPlatform() == 'darwin':
>>>>>>>>>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>>>>>>>>>> 'pthread', 'm'])
>>>>>>>>>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>>>>>>>>>> -framework Carbon -framework CoreAudio -framework CoreMidi
>>>>>>>>>> -framework ApplicationServices
>>>>>>>>>> '''))
>>>>>>>>>>
>>>>>>>>>> This has hardcoded link flags. The build was failing as the
>>>>>>>>>> Cocoa
>>>>>>>>>> classes were missing. Modifying it to add Cocoa:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> elif getPlatform() == 'darwin':
>>>>>>>>>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>>>>>>>>>> 'pthread', 'm'])
>>>>>>>>>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>>>>>>>>>> -framework Carbon -framework CoreAudio -framework CoreMidi
>>>>>>>>>> -framework ApplicationServices -framework Cocoa
>>>>>>>>>> '''))
>>>>>>>>>>
>>>>>>>>>> Does get the widgets and virtual keyboard to build. A quick
>>>>>>>>>> test
>>>>>>>>>> shows
>>>>>>>>>> the virtual keyboard works great with 1.3.x.
>>>>>>>>>>
>>>>>>>>>> However, in SConstruct I noticed that a few lines up we have
>>>>>>>>>> for
>>>>>>>>>> linux:
>>>>>>>>>>
>>>>>>>>>> widgetsEnvironment.ParseConfig('fltk-config --use-images --
>>>>>>>>>> cflags
>>>>>>>>>> --cxxflags --ldflags')
>>>>>>>>>>
>>>>>>>>>> I'm curious, is there any reason why we are not using fltk-
>>>>>>>>>> config
>>>>>>>>>> for
>>>>>>>>>> Mac? At least for FLTK 1.3.x, doing "make install" installs
>>>>>>>>>> fltk-config into /usr/local/bin.
>>>>>>>>>>
>>>>>>>>>> Thanks,
>>>>>>>>>> steven
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>>>>>>> experts.
>>>>>>>>>> Get tools for creating Super Apps. See the latest
>>>>>>>>>> technologies.
>>>>>>>>>> Sessions, hands-on labs, demos & much more. Register early &
>>>>>>>>>> save!
>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>> Senior Lecturer
>>>>>>>>> Dept. of Music
>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>>>>>> experts.
>>>>>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>>>>>> Sessions, hands-on labs, demos & much more. Register early &
>>>>>>>>> save!
>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>>>>> experts.
>>>>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>>>>> Sessions, hands-on labs, demos & much more. Register early &
>>>>>>>> save!
>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1_______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>> Dr Victor Lazzarini
>>>>>>>> Senior Lecturer
>>>>>>>> Dept. of Music
>>>>>>>> NUI Maynooth Ireland
>>>>>>>> tel.: +353 1 708 3545
>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>>>>> experts.
>>>>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>>>>> Sessions, hands-on labs, demos & much more. Register early &
>>>>>>>> save!
>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>>> The must-attend event for mobile developers. Connect with
>>>>>>> experts.
>>>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>>>> Sessions, hands-on labs, demos & much more. Register early &
>>>>>>> save!
>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>> Dr Victor Lazzarini
>>>>>> Senior Lecturer
>>>>>> Dept. of Music
>>>>>> NUI Maynooth Ireland
>>>>>> tel.: +353 1 708 3545
>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>> The must-attend event for mobile developers. Connect with experts.
>>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>> The must-attend event for mobile developers. Connect with experts.
>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>> Dr Victor Lazzarini
>>>> Senior Lecturer
>>>> Dept. of Music
>>>> NUI Maynooth Ireland
>>>> tel.: +353 1 708 3545
>>>> Victor dot Lazzarini AT nuim dot ie
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>> The must-attend event for mobile developers. Connect with experts.
>>>> Get tools for creating Super Apps. See the latest technologies.
>>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>
>> ------------------------------------------------------------------------------
>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>> The must-attend event for mobile developers. Connect with experts.
>> Get tools for creating Super Apps. See the latest technologies.
>> Sessions, hands-on labs, demos & much more. Register early & save!
>> http://p.sf.net/sfu/rim-blackberry-1
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> The must-attend event for mobile developers. Connect with experts.
> Get tools for creating Super Apps. See the latest technologies.
> Sessions, hands-on labs, demos & much more. Register early & save!
> http://p.sf.net/sfu/rim-blackberry-1
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-08-08 20:17
FromVictor.Lazzarini@nuim.ie
SubjectRe: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
AttachmentsNone  None  None  None  

Date2011-08-08 21:31
FromSteven Yi
SubjectRe: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
That'd be great.  I searched my email and there was a thread 2005 (!!)
about this issue, apparently affected Linux too at that time.  I think
it had to do with multiple instances running at the same time. The
code for that was in Python.

I think I found some test code you posted in an earlier thread.  I'll
give it a go after I finish up with my work day today and see if I can
reproduce and if so diagnose.

Thanks!
steven

On Mon, Aug 8, 2011 at 3:17 PM,   wrote:
> That sounds promising, because even creating a new instance was crashing
> Csound. I have a little C test code, which I can send to you tomorrow, if
> you wish.
>
> Victor
>
> ----- Original Message -----
> From: Steven Yi 
> Date: Monday, August 8, 2011 7:52 pm
> Subject: Re: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
> To: Developer discussions 
>
>> Ah strange, I just ran blue with PortMIDI and using Csound
>> API.  I was
>> able to run over and over. I think I'm creating a new instance of
>> Csound per run, but I'll have to double check.  I'll try to
>> find that
>> email with the C code you gave earlier to try to debug with that.
>>
>> On Mon, Aug 8, 2011 at 12:39 PM, Victor Lazzarini
>>  wrote:
>> > yes, I had no problems building it on 10.6, but it crashes
>> Csound when
>> > we try to load a second instance.
>> >
>> > Victor
>> > On 8 Aug 2011, at 16:20, Steven Yi wrote:
>> >
>> >> Well the build didn't seem to be problematic.  I modified the
>> >> CMakeFiles.txt in portmidi to remove ppc as a build
>> architecture and
>> >> just left i386 and x86_64.  I was able to build and install
>> portmidi>> and build csound's portmidi lib with that.
>> >>
>> >> I wrote down the steps I did for using CMake to build
>> portmidi on
>> >> the wiki:
>> >>
>> >>
>>
>> https://sourceforge.net/apps/mediawiki/csound/index.php?title=Building_Csound_on_OSX_Lion>>
>> >> I'm running into an issue now where the SConstruct I
>> installed from
>> >> ports is running with python 2.6, but the installed version
>> on the
>> >> system is 2.7 (the 2.6 was installed from ports).  This is
>> causing a
>> >> problem with the logic in SConstruct and failing to build the
>> python>> opcodes/interface.  I'm going to remove that SCons and
>> install>> manually to fix that and will update the wiki accordingly.
>> >>
>> >> On Mon, Aug 8, 2011 at 10:08 AM, Steven Yi
>>  wrote:
>> >>> Yes I ran into issues with Portmidi as well on the Lion
>> machine.  I'm
>> >>> on the 10.6 machine and noticed I was able to install a universal
>> >>> build via ports.  The portfile for portmidi
>> >>>
>> (https://trac.macports.org/browser/trunk/dports/audio/portmidi/Portfile>>>
>> )
>> >>> shows that it uses some patches to build.  The patches are at:
>> >>>
>> >>> https://trac.macports.org/browser/trunk/dports/audio/portmidi
>> >>>
>> >>> I'm going to experiment later today to see if those will fix
>> allow to
>> >>> build universal on Lion.
>> >>>
>> >>> steven
>> >>>
>> >>> On Mon, Aug 8, 2011 at 9:37 AM, Victor Lazzarini
>> >>>  wrote:
>> >>>> OK, it all seems to work fine, I have upgraded to 1.3 and
>> re-built
>> >>>> with your SConstruct commits.
>> >>>> One less problem moving to x86_64. Now, we'll have to solve the
>> >>>> portmidi problem.
>> >>>>
>> >>>> Vicroe
>> >>>>
>> >>>> On 7 Aug 2011, at 22:12, Steven Yi wrote:
>> >>>>
>> >>>>> Just FYI: I committed the fltk-config change for darwin
>> and updated
>> >>>>> the wiki page with the commands I used to build:
>> >>>>>
>> >>>>>
>>
>> https://sourceforge.net/apps/mediawiki/csound/index.php?title=Building_Csound_on_OSX_Lion>>>>>
>> >>>>> Thanks!
>> >>>>> steven
>> >>>>>
>> >>>>> On Sun, Aug 7, 2011 at 4:56 PM, Victor Lazzarini
>> >>>>>  wrote:
>> >>>>>> Sounds good. I'll have a look at this during the week.
>> >>>>>>
>> >>>>>> Victor
>> >>>>>> On 7 Aug 2011, at 21:50, Steven Yi wrote:
>> >>>>>>
>> >>>>>>> That sounds good to me.  I'm using 1.3.x here on Lion
>> and will
>> >>>>>>> try
>> >>>>>>> to
>> >>>>>>> test some more with Iain McCurdy's examples.  I still
>> have my
>> >>>>>>> work
>> >>>>>>> Macbook that has 10.6, and on that machine I think I was using
>> >>>>>>> 1.3.x
>> >>>>>>> with MacPorts (must have been as it was a universal
>> build there).
>> >>>>>>>
>> >>>>>>> Just FYI: I'm building all dependencies myself on my
>> Lion machine
>> >>>>>>> now
>> >>>>>>> to match up with your setup.  Should make things better for
>> >>>>>>> keeping in
>> >>>>>>> sync I think.
>> >>>>>>>
>> >>>>>>> I'll work on the fltk-config change now and will commit that
>> >>>>>>> shortly.
>> >>>>>>>
>> >>>>>>> Thanks!
>> >>>>>>> steven
>> >>>>>>>
>> >>>>>>> On Sun, Aug 7, 2011 at 4:02 PM, Victor Lazzarini
>> >>>>>>>  wrote:
>> >>>>>>>> I think we should possibly migrate to 1.3 on all OSX new
>> >>>>>>>> releases
>> >>>>>>>> (10.5-.7),
>> >>>>>>>> what do you reckon?
>> >>>>>>>> Victor
>> >>>>>>>> On 7 Aug 2011, at 19:58, Steven Yi wrote:
>> >>>>>>>>
>> >>>>>>>> Ah okay, I will modify and commit when I return home in
>> a few
>> >>>>>>>> hours, thanks!
>> >>>>>>>>
>> >>>>>>>> On Aug 7, 2011 1:55 PM, "Victor Lazzarini"
>> >>>>>>>>  wrote:
>> >>>>>>>>> No reason, particularly. If fltk-config works on OSX,
>> we can
>> >>>>>>>>> use
>> >>>>>>>>> it.
>> >>>>>>>>>
>> >>>>>>>>> Victor
>> >>>>>>>>> On 7 Aug 2011, at 14:50, Steven Yi wrote:
>> >>>>>>>>>
>> >>>>>>>>>> Hi All,
>> >>>>>>>>>>
>> >>>>>>>>>> I just got finished building FLTK on Mac Lion and
>> found an
>> >>>>>>>>>> issue
>> >>>>>>>>>> with
>> >>>>>>>>>> SConstruct, but I wasn't sure how to proceed. So for
>> OSX Lion,
>> >>>>>>>>>> FLTK
>> >>>>>>>>>> 1.1.10 does not build universal as it uses Carbon. However,
>> >>>>>>>>>> FLTK
>> >>>>>>>>>> 1.3.x does build out of the box a universal
>> i386/x86_64 build
>> >>>>>>>>>> with
>> >>>>>>>>>> Lion as it uses Cocoa.
>> >>>>>>>>>>
>> >>>>>>>>>> When building with the currently SConstruct, the
>> build was
>> >>>>>>>>>> failing. I
>> >>>>>>>>>> traced it down to:
>> >>>>>>>>>>
>> >>>>>>>>>>
>> >>>>>>>>>> elif getPlatform() == 'darwin':
>> >>>>>>>>>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>> >>>>>>>>>> 'pthread', 'm'])
>> >>>>>>>>>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>> >>>>>>>>>> -framework Carbon -framework CoreAudio -framework CoreMidi
>> >>>>>>>>>> -framework ApplicationServices
>> >>>>>>>>>> '''))
>> >>>>>>>>>>
>> >>>>>>>>>> This has hardcoded link flags. The build was failing
>> as the
>> >>>>>>>>>> Cocoa
>> >>>>>>>>>> classes were missing. Modifying it to add Cocoa:
>> >>>>>>>>>>
>> >>>>>>>>>>
>> >>>>>>>>>> elif getPlatform() == 'darwin':
>> >>>>>>>>>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>> >>>>>>>>>> 'pthread', 'm'])
>> >>>>>>>>>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>> >>>>>>>>>> -framework Carbon -framework CoreAudio -framework CoreMidi
>> >>>>>>>>>> -framework ApplicationServices -framework Cocoa
>> >>>>>>>>>> '''))
>> >>>>>>>>>>
>> >>>>>>>>>> Does get the widgets and virtual keyboard to build. A quick
>> >>>>>>>>>> test
>> >>>>>>>>>> shows
>> >>>>>>>>>> the virtual keyboard works great with 1.3.x.
>> >>>>>>>>>>
>> >>>>>>>>>> However, in SConstruct I noticed that a few lines up
>> we have
>> >>>>>>>>>> for
>> >>>>>>>>>> linux:
>> >>>>>>>>>>
>> >>>>>>>>>> widgetsEnvironment.ParseConfig('fltk-config --use-
>> images --
>> >>>>>>>>>> cflags
>> >>>>>>>>>> --cxxflags --ldflags')
>> >>>>>>>>>>
>> >>>>>>>>>> I'm curious, is there any reason why we are not using
>> fltk-
>> >>>>>>>>>> config
>> >>>>>>>>>> for
>> >>>>>>>>>> Mac? At least for FLTK 1.3.x, doing "make install" installs
>> >>>>>>>>>> fltk-config into /usr/local/bin.
>> >>>>>>>>>>
>> >>>>>>>>>> Thanks,
>> >>>>>>>>>> steven
>> >>>>>>>>>>
>> >>>>>>>>>>
>> >>>>>>>>>> ------------------------------------------------------
>> ------------------------
>> >>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>> Francisco, CA
>> >>>>>>>>>> The must-attend event for mobile developers. Connect with
>> >>>>>>>>>> experts.
>> >>>>>>>>>> Get tools for creating Super Apps. See the latest
>> >>>>>>>>>> technologies.
>> >>>>>>>>>> Sessions, hands-on labs, demos & much more. Register
>> early &
>> >>>>>>>>>> save!
>> >>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>> >>>>>>>>>> _______________________________________________
>> >>>>>>>>>> Csound-devel mailing list
>> >>>>>>>>>> Csound-devel@lists.sourceforge.net
>> >>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>>>>>>
>> >>>>>>>>> Dr Victor Lazzarini
>> >>>>>>>>> Senior Lecturer
>> >>>>>>>>> Dept. of Music
>> >>>>>>>>> NUI Maynooth Ireland
>> >>>>>>>>> tel.: +353 1 708 3545
>> >>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>> >>>>>>>>>
>> >>>>>>>>>
>> >>>>>>>>>
>> >>>>>>>>>
>> >>>>>>>>>
>> >>>>>>>>> -------------------------------------------------------
>> -----------------------
>> >>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>> Francisco, CA
>> >>>>>>>>> The must-attend event for mobile developers. Connect with
>> >>>>>>>>> experts.
>> >>>>>>>>> Get tools for creating Super Apps. See the latest
>> technologies.>>>>>>>>> Sessions, hands-on labs, demos & much
>> more. Register early &
>> >>>>>>>>> save!
>> >>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>> >>>>>>>>> _______________________________________________
>> >>>>>>>>> Csound-devel mailing list
>> >>>>>>>>> Csound-devel@lists.sourceforge.net
>> >>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>>>>> --------------------------------------------------------
>> ----------------------
>> >>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>> Francisco, CA
>> >>>>>>>> The must-attend event for mobile developers. Connect with
>> >>>>>>>> experts.
>> >>>>>>>> Get tools for creating Super Apps. See the latest
>> technologies.>>>>>>>> Sessions, hands-on labs, demos & much
>> more. Register early &
>> >>>>>>>> save!
>> >>>>>>>> http://p.sf.net/sfu/rim-blackberry-
>> 1_______________________________________________>>>>>>>> Csound-
>> devel mailing list
>> >>>>>>>> Csound-devel@lists.sourceforge.net
>> >>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>>>>>
>> >>>>>>>> Dr Victor Lazzarini
>> >>>>>>>> Senior Lecturer
>> >>>>>>>> Dept. of Music
>> >>>>>>>> NUI Maynooth Ireland
>> >>>>>>>> tel.: +353 1 708 3545
>> >>>>>>>> Victor dot Lazzarini AT nuim dot ie
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>> --------------------------------------------------------
>> ----------------------
>> >>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>> Francisco, CA
>> >>>>>>>> The must-attend event for mobile developers. Connect with
>> >>>>>>>> experts.
>> >>>>>>>> Get tools for creating Super Apps. See the latest
>> technologies.>>>>>>>> Sessions, hands-on labs, demos & much
>> more. Register early &
>> >>>>>>>> save!
>> >>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>> >>>>>>>> _______________________________________________
>> >>>>>>>> Csound-devel mailing list
>> >>>>>>>> Csound-devel@lists.sourceforge.net
>> >>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>
>> >>>>>>> ---------------------------------------------------------
>> ---------------------
>> >>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>> Francisco, CA
>> >>>>>>> The must-attend event for mobile developers. Connect with
>> >>>>>>> experts.
>> >>>>>>> Get tools for creating Super Apps. See the latest
>> technologies.>>>>>>> Sessions, hands-on labs, demos & much more.
>> Register early &
>> >>>>>>> save!
>> >>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>> >>>>>>> _______________________________________________
>> >>>>>>> Csound-devel mailing list
>> >>>>>>> Csound-devel@lists.sourceforge.net
>> >>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>>>
>> >>>>>> Dr Victor Lazzarini
>> >>>>>> Senior Lecturer
>> >>>>>> Dept. of Music
>> >>>>>> NUI Maynooth Ireland
>> >>>>>> tel.: +353 1 708 3545
>> >>>>>> Victor dot Lazzarini AT nuim dot ie
>> >>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>> ----------------------------------------------------------
>> --------------------
>> >>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>> Francisco, CA
>> >>>>>> The must-attend event for mobile developers. Connect with
>> experts.>>>>>> Get tools for creating Super Apps. See the latest
>> technologies.>>>>>> Sessions, hands-on labs, demos & much more.
>> Register early & save!
>> >>>>>> http://p.sf.net/sfu/rim-blackberry-1
>> >>>>>> _______________________________________________
>> >>>>>> Csound-devel mailing list
>> >>>>>> Csound-devel@lists.sourceforge.net
>> >>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>>>
>> >>>>>
>> >>>>> -----------------------------------------------------------
>> -------------------
>> >>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>> Francisco, CA
>> >>>>> The must-attend event for mobile developers. Connect with
>> experts.>>>>> Get tools for creating Super Apps. See the latest
>> technologies.>>>>> Sessions, hands-on labs, demos & much more.
>> Register early & save!
>> >>>>> http://p.sf.net/sfu/rim-blackberry-1
>> >>>>> _______________________________________________
>> >>>>> Csound-devel mailing list
>> >>>>> Csound-devel@lists.sourceforge.net
>> >>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>
>> >>>> Dr Victor Lazzarini
>> >>>> Senior Lecturer
>> >>>> Dept. of Music
>> >>>> NUI Maynooth Ireland
>> >>>> tel.: +353 1 708 3545
>> >>>> Victor dot Lazzarini AT nuim dot ie
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>> ------------------------------------------------------------
>> ------------------
>> >>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>> >>>> The must-attend event for mobile developers. Connect with
>> experts.>>>> Get tools for creating Super Apps. See the latest
>> technologies.>>>> Sessions, hands-on labs, demos & much more.
>> Register early & save!
>> >>>> http://p.sf.net/sfu/rim-blackberry-1
>> >>>> _______________________________________________
>> >>>> Csound-devel mailing list
>> >>>> Csound-devel@lists.sourceforge.net
>> >>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>
>> >>>
>> >>
>> >> --------------------------------------------------------------
>> ----------------
>> >> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>> >> The must-attend event for mobile developers. Connect with experts.
>> >> Get tools for creating Super Apps. See the latest technologies.
>> >> Sessions, hands-on labs, demos & much more. Register early & save!
>> >> http://p.sf.net/sfu/rim-blackberry-1
>> >> _______________________________________________
>> >> Csound-devel mailing list
>> >> Csound-devel@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >
>> > Dr Victor Lazzarini
>> > Senior Lecturer
>> > Dept. of Music
>> > NUI Maynooth Ireland
>> > tel.: +353 1 708 3545
>> > Victor dot Lazzarini AT nuim dot ie
>> >
>> >
>> >
>> >
>> > ---------------------------------------------------------------
>> ---------------
>> > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>> > The must-attend event for mobile developers. Connect with experts.
>> > Get tools for creating Super Apps. See the latest technologies.
>> > Sessions, hands-on labs, demos & much more. Register early & save!
>> > http://p.sf.net/sfu/rim-blackberry-1
>> > _______________________________________________
>> > Csound-devel mailing list
>> > Csound-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >
>>
>> -----------------------------------------------------------------
>> -------------
>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>> The must-attend event for mobile developers. Connect with
>> experts.
>> Get tools for creating Super Apps. See the latest technologies.
>> Sessions, hands-on labs, demos & much more. Register early & save!
>> http://p.sf.net/sfu/rim-blackberry-1
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,
> National University of Ireland, Maynooth
>
> ------------------------------------------------------------------------------
> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> The must-attend event for mobile developers. Connect with experts.
> Get tools for creating Super Apps. See the latest technologies.
> Sessions, hands-on labs, demos & much more. Register early & save!
> http://p.sf.net/sfu/rim-blackberry-1
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-08-09 12:12
FromVictor Lazzarini
SubjectRe: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
Attachmentscsound-test.c  None  None  
Here it goes


On 8 Aug 2011, at 21:31, Steven Yi wrote:

> That'd be great.  I searched my email and there was a thread 2005 (!!)
> about this issue, apparently affected Linux too at that time.  I think
> it had to do with multiple instances running at the same time. The
> code for that was in Python.
>
> I think I found some test code you posted in an earlier thread.  I'll
> give it a go after I finish up with my work day today and see if I can
> reproduce and if so diagnose.
>
> Thanks!
> steven
>
> On Mon, Aug 8, 2011 at 3:17 PM,   wrote:
>> That sounds promising, because even creating a new instance was  
>> crashing
>> Csound. I have a little C test code, which I can send to you  
>> tomorrow, if
>> you wish.
>>
>> Victor
>>
>> ----- Original Message -----
>> From: Steven Yi 
>> Date: Monday, August 8, 2011 7:52 pm
>> Subject: Re: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
>> To: Developer discussions 
>>
>>> Ah strange, I just ran blue with PortMIDI and using Csound
>>> API.  I was
>>> able to run over and over. I think I'm creating a new instance of
>>> Csound per run, but I'll have to double check.  I'll try to
>>> find that
>>> email with the C code you gave earlier to try to debug with that.
>>>
>>> On Mon, Aug 8, 2011 at 12:39 PM, Victor Lazzarini
>>>  wrote:
>>>> yes, I had no problems building it on 10.6, but it crashes
>>> Csound when
>>>> we try to load a second instance.
>>>>
>>>> Victor
>>>> On 8 Aug 2011, at 16:20, Steven Yi wrote:
>>>>
>>>>> Well the build didn't seem to be problematic.  I modified the
>>>>> CMakeFiles.txt in portmidi to remove ppc as a build
>>> architecture and
>>>>> just left i386 and x86_64.  I was able to build and install
>>> portmidi>> and build csound's portmidi lib with that.
>>>>>
>>>>> I wrote down the steps I did for using CMake to build
>>> portmidi on
>>>>> the wiki:
>>>>>
>>>>>
>>>
>>> https://sourceforge.net/apps/mediawiki/csound/index.php?title=Building_Csound_on_OSX_Lion 
>>> >>
>>>>> I'm running into an issue now where the SConstruct I
>>> installed from
>>>>> ports is running with python 2.6, but the installed version
>>> on the
>>>>> system is 2.7 (the 2.6 was installed from ports).  This is
>>> causing a
>>>>> problem with the logic in SConstruct and failing to build the
>>> python>> opcodes/interface.  I'm going to remove that SCons and
>>> install>> manually to fix that and will update the wiki accordingly.
>>>>>
>>>>> On Mon, Aug 8, 2011 at 10:08 AM, Steven Yi
>>>  wrote:
>>>>>> Yes I ran into issues with Portmidi as well on the Lion
>>> machine.  I'm
>>>>>> on the 10.6 machine and noticed I was able to install a universal
>>>>>> build via ports.  The portfile for portmidi
>>>>>>
>>> (https://trac.macports.org/browser/trunk/dports/audio/portmidi/Portfile 
>>> >>>
>>> )
>>>>>> shows that it uses some patches to build.  The patches are at:
>>>>>>
>>>>>> https://trac.macports.org/browser/trunk/dports/audio/portmidi
>>>>>>
>>>>>> I'm going to experiment later today to see if those will fix
>>> allow to
>>>>>> build universal on Lion.
>>>>>>
>>>>>> steven
>>>>>>
>>>>>> On Mon, Aug 8, 2011 at 9:37 AM, Victor Lazzarini
>>>>>>  wrote:
>>>>>>> OK, it all seems to work fine, I have upgraded to 1.3 and
>>> re-built
>>>>>>> with your SConstruct commits.
>>>>>>> One less problem moving to x86_64. Now, we'll have to solve the
>>>>>>> portmidi problem.
>>>>>>>
>>>>>>> Vicroe
>>>>>>>
>>>>>>> On 7 Aug 2011, at 22:12, Steven Yi wrote:
>>>>>>>
>>>>>>>> Just FYI: I committed the fltk-config change for darwin
>>> and updated
>>>>>>>> the wiki page with the commands I used to build:
>>>>>>>>
>>>>>>>>
>>>
>>> https://sourceforge.net/apps/mediawiki/csound/index.php?title=Building_Csound_on_OSX_Lion 
>>> >>>>>
>>>>>>>> Thanks!
>>>>>>>> steven
>>>>>>>>
>>>>>>>> On Sun, Aug 7, 2011 at 4:56 PM, Victor Lazzarini
>>>>>>>>  wrote:
>>>>>>>>> Sounds good. I'll have a look at this during the week.
>>>>>>>>>
>>>>>>>>> Victor
>>>>>>>>> On 7 Aug 2011, at 21:50, Steven Yi wrote:
>>>>>>>>>
>>>>>>>>>> That sounds good to me.  I'm using 1.3.x here on Lion
>>> and will
>>>>>>>>>> try
>>>>>>>>>> to
>>>>>>>>>> test some more with Iain McCurdy's examples.  I still
>>> have my
>>>>>>>>>> work
>>>>>>>>>> Macbook that has 10.6, and on that machine I think I was  
>>>>>>>>>> using
>>>>>>>>>> 1.3.x
>>>>>>>>>> with MacPorts (must have been as it was a universal
>>> build there).
>>>>>>>>>>
>>>>>>>>>> Just FYI: I'm building all dependencies myself on my
>>> Lion machine
>>>>>>>>>> now
>>>>>>>>>> to match up with your setup.  Should make things better for
>>>>>>>>>> keeping in
>>>>>>>>>> sync I think.
>>>>>>>>>>
>>>>>>>>>> I'll work on the fltk-config change now and will commit that
>>>>>>>>>> shortly.
>>>>>>>>>>
>>>>>>>>>> Thanks!
>>>>>>>>>> steven
>>>>>>>>>>
>>>>>>>>>> On Sun, Aug 7, 2011 at 4:02 PM, Victor Lazzarini
>>>>>>>>>>  wrote:
>>>>>>>>>>> I think we should possibly migrate to 1.3 on all OSX new
>>>>>>>>>>> releases
>>>>>>>>>>> (10.5-.7),
>>>>>>>>>>> what do you reckon?
>>>>>>>>>>> Victor
>>>>>>>>>>> On 7 Aug 2011, at 19:58, Steven Yi wrote:
>>>>>>>>>>>
>>>>>>>>>>> Ah okay, I will modify and commit when I return home in
>>> a few
>>>>>>>>>>> hours, thanks!
>>>>>>>>>>>
>>>>>>>>>>> On Aug 7, 2011 1:55 PM, "Victor Lazzarini"
>>>>>>>>>>>  wrote:
>>>>>>>>>>>> No reason, particularly. If fltk-config works on OSX,
>>> we can
>>>>>>>>>>>> use
>>>>>>>>>>>> it.
>>>>>>>>>>>>
>>>>>>>>>>>> Victor
>>>>>>>>>>>> On 7 Aug 2011, at 14:50, Steven Yi wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi All,
>>>>>>>>>>>>>
>>>>>>>>>>>>> I just got finished building FLTK on Mac Lion and
>>> found an
>>>>>>>>>>>>> issue
>>>>>>>>>>>>> with
>>>>>>>>>>>>> SConstruct, but I wasn't sure how to proceed. So for
>>> OSX Lion,
>>>>>>>>>>>>> FLTK
>>>>>>>>>>>>> 1.1.10 does not build universal as it uses Carbon.  
>>>>>>>>>>>>> However,
>>>>>>>>>>>>> FLTK
>>>>>>>>>>>>> 1.3.x does build out of the box a universal
>>> i386/x86_64 build
>>>>>>>>>>>>> with
>>>>>>>>>>>>> Lion as it uses Cocoa.
>>>>>>>>>>>>>
>>>>>>>>>>>>> When building with the currently SConstruct, the
>>> build was
>>>>>>>>>>>>> failing. I
>>>>>>>>>>>>> traced it down to:
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> elif getPlatform() == 'darwin':
>>>>>>>>>>>>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>>>>>>>>>>>>> 'pthread', 'm'])
>>>>>>>>>>>>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>>>>>>>>>>>>> -framework Carbon -framework CoreAudio -framework CoreMidi
>>>>>>>>>>>>> -framework ApplicationServices
>>>>>>>>>>>>> '''))
>>>>>>>>>>>>>
>>>>>>>>>>>>> This has hardcoded link flags. The build was failing
>>> as the
>>>>>>>>>>>>> Cocoa
>>>>>>>>>>>>> classes were missing. Modifying it to add Cocoa:
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> elif getPlatform() == 'darwin':
>>>>>>>>>>>>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>>>>>>>>>>>>> 'pthread', 'm'])
>>>>>>>>>>>>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>>>>>>>>>>>>> -framework Carbon -framework CoreAudio -framework CoreMidi
>>>>>>>>>>>>> -framework ApplicationServices -framework Cocoa
>>>>>>>>>>>>> '''))
>>>>>>>>>>>>>
>>>>>>>>>>>>> Does get the widgets and virtual keyboard to build. A  
>>>>>>>>>>>>> quick
>>>>>>>>>>>>> test
>>>>>>>>>>>>> shows
>>>>>>>>>>>>> the virtual keyboard works great with 1.3.x.
>>>>>>>>>>>>>
>>>>>>>>>>>>> However, in SConstruct I noticed that a few lines up
>>> we have
>>>>>>>>>>>>> for
>>>>>>>>>>>>> linux:
>>>>>>>>>>>>>
>>>>>>>>>>>>> widgetsEnvironment.ParseConfig('fltk-config --use-
>>> images --
>>>>>>>>>>>>> cflags
>>>>>>>>>>>>> --cxxflags --ldflags')
>>>>>>>>>>>>>
>>>>>>>>>>>>> I'm curious, is there any reason why we are not using
>>> fltk-
>>>>>>>>>>>>> config
>>>>>>>>>>>>> for
>>>>>>>>>>>>> Mac? At least for FLTK 1.3.x, doing "make install"  
>>>>>>>>>>>>> installs
>>>>>>>>>>>>> fltk-config into /usr/local/bin.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>> steven
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> ------------------------------------------------------
>>> ------------------------
>>>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>>> Francisco, CA
>>>>>>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>>>>>>>>>> experts.
>>>>>>>>>>>>> Get tools for creating Super Apps. See the latest
>>>>>>>>>>>>> technologies.
>>>>>>>>>>>>> Sessions, hands-on labs, demos & much more. Register
>>> early &
>>>>>>>>>>>>> save!
>>>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>
>>>>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>>>>> Senior Lecturer
>>>>>>>>>>>> Dept. of Music
>>>>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> -------------------------------------------------------
>>> -----------------------
>>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>>> Francisco, CA
>>>>>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>>>>>>>>> experts.
>>>>>>>>>>>> Get tools for creating Super Apps. See the latest
>>> technologies.>>>>>>>>> Sessions, hands-on labs, demos & much
>>> more. Register early &
>>>>>>>>>>>> save!
>>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>> --------------------------------------------------------
>>> ----------------------
>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>>> Francisco, CA
>>>>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>>>>>>>> experts.
>>>>>>>>>>> Get tools for creating Super Apps. See the latest
>>> technologies.>>>>>>>> Sessions, hands-on labs, demos & much
>>> more. Register early &
>>>>>>>>>>> save!
>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-
>>> 1_______________________________________________>>>>>>>> Csound-
>>> devel mailing list
>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>
>>>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>>>> Senior Lecturer
>>>>>>>>>>> Dept. of Music
>>>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --------------------------------------------------------
>>> ----------------------
>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>>> Francisco, CA
>>>>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>>>>>>>> experts.
>>>>>>>>>>> Get tools for creating Super Apps. See the latest
>>> technologies.>>>>>>>> Sessions, hands-on labs, demos & much
>>> more. Register early &
>>>>>>>>>>> save!
>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ---------------------------------------------------------
>>> ---------------------
>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>>> Francisco, CA
>>>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>>>>>>> experts.
>>>>>>>>>> Get tools for creating Super Apps. See the latest
>>> technologies.>>>>>>> Sessions, hands-on labs, demos & much more.
>>> Register early &
>>>>>>>>>> save!
>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>> Senior Lecturer
>>>>>>>>> Dept. of Music
>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ----------------------------------------------------------
>>> --------------------
>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>>> Francisco, CA
>>>>>>>>> The must-attend event for mobile developers. Connect with
>>> experts.>>>>>> Get tools for creating Super Apps. See the latest
>>> technologies.>>>>>> Sessions, hands-on labs, demos & much more.
>>> Register early & save!
>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>
>>>>>>>> -----------------------------------------------------------
>>> -------------------
>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>>> Francisco, CA
>>>>>>>> The must-attend event for mobile developers. Connect with
>>> experts.>>>>> Get tools for creating Super Apps. See the latest
>>> technologies.>>>>> Sessions, hands-on labs, demos & much more.
>>> Register early & save!
>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>> Dr Victor Lazzarini
>>>>>>> Senior Lecturer
>>>>>>> Dept. of Music
>>>>>>> NUI Maynooth Ireland
>>>>>>> tel.: +353 1 708 3545
>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------
>>> ------------------
>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>>> The must-attend event for mobile developers. Connect with
>>> experts.>>>> Get tools for creating Super Apps. See the latest
>>> technologies.>>>> Sessions, hands-on labs, demos & much more.
>>> Register early & save!
>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>
>>>>>
>>>>> --------------------------------------------------------------
>>> ----------------
>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>> The must-attend event for mobile developers. Connect with experts.
>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>> Dr Victor Lazzarini
>>>> Senior Lecturer
>>>> Dept. of Music
>>>> NUI Maynooth Ireland
>>>> tel.: +353 1 708 3545
>>>> Victor dot Lazzarini AT nuim dot ie
>>>>
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------
>>> ---------------
>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>> The must-attend event for mobile developers. Connect with experts.
>>>> Get tools for creating Super Apps. See the latest technologies.
>>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>> -----------------------------------------------------------------
>>> -------------
>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>> The must-attend event for mobile developers. Connect with
>>> experts.
>>> Get tools for creating Super Apps. See the latest technologies.
>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>> http://p.sf.net/sfu/rim-blackberry-1
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,
>> National University of Ireland, Maynooth
>>
>> ------------------------------------------------------------------------------
>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>> The must-attend event for mobile developers. Connect with experts.
>> Get tools for creating Super Apps. See the latest technologies.
>> Sessions, hands-on labs, demos & much more. Register early & save!
>> http://p.sf.net/sfu/rim-blackberry-1
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>
> ------------------------------------------------------------------------------
> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> The must-attend event for mobile developers. Connect with experts.
> Get tools for creating Super Apps. See the latest technologies.
> Sessions, hands-on labs, demos & much more. Register early & save!
> http://p.sf.net/sfu/rim-blackberry-1
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




Date2011-08-09 16:29
FromSteven Yi
SubjectRe: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
Hi Victor,

I found this test file in my email archive and ran it with a
lecture1.csd file that was something you had emailed previously.  I
got 4 runs of the CSD with portmidi and I did not get a crash.
Hopefully will be the same on your side!

BTW: For testing, I used a Korg Nanokey MIDI Keyboard.

Thanks!
steven


On Tue, Aug 9, 2011 at 7:12 AM, Victor Lazzarini
 wrote:
> Here it goes
>
>
>
> On 8 Aug 2011, at 21:31, Steven Yi wrote:
>
>> That'd be great.  I searched my email and there was a thread 2005 (!!)
>> about this issue, apparently affected Linux too at that time.  I think
>> it had to do with multiple instances running at the same time. The
>> code for that was in Python.
>>
>> I think I found some test code you posted in an earlier thread.  I'll
>> give it a go after I finish up with my work day today and see if I can
>> reproduce and if so diagnose.
>>
>> Thanks!
>> steven
>>
>> On Mon, Aug 8, 2011 at 3:17 PM,   wrote:
>>>
>>> That sounds promising, because even creating a new instance was crashing
>>> Csound. I have a little C test code, which I can send to you tomorrow, if
>>> you wish.
>>>
>>> Victor
>>>
>>> ----- Original Message -----
>>> From: Steven Yi 
>>> Date: Monday, August 8, 2011 7:52 pm
>>> Subject: Re: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
>>> To: Developer discussions 
>>>
>>>> Ah strange, I just ran blue with PortMIDI and using Csound
>>>> API.  I was
>>>> able to run over and over. I think I'm creating a new instance of
>>>> Csound per run, but I'll have to double check.  I'll try to
>>>> find that
>>>> email with the C code you gave earlier to try to debug with that.
>>>>
>>>> On Mon, Aug 8, 2011 at 12:39 PM, Victor Lazzarini
>>>>  wrote:
>>>>>
>>>>> yes, I had no problems building it on 10.6, but it crashes
>>>>
>>>> Csound when
>>>>>
>>>>> we try to load a second instance.
>>>>>
>>>>> Victor
>>>>> On 8 Aug 2011, at 16:20, Steven Yi wrote:
>>>>>
>>>>>> Well the build didn't seem to be problematic.  I modified the
>>>>>> CMakeFiles.txt in portmidi to remove ppc as a build
>>>>
>>>> architecture and
>>>>>>
>>>>>> just left i386 and x86_64.  I was able to build and install
>>>>
>>>> portmidi>> and build csound's portmidi lib with that.
>>>>>>
>>>>>> I wrote down the steps I did for using CMake to build
>>>>
>>>> portmidi on
>>>>>>
>>>>>> the wiki:
>>>>>>
>>>>>>
>>>>
>>>>
>>>> https://sourceforge.net/apps/mediawiki/csound/index.php?title=Building_Csound_on_OSX_Lion>>
>>>>>>
>>>>>> I'm running into an issue now where the SConstruct I
>>>>
>>>> installed from
>>>>>>
>>>>>> ports is running with python 2.6, but the installed version
>>>>
>>>> on the
>>>>>>
>>>>>> system is 2.7 (the 2.6 was installed from ports).  This is
>>>>
>>>> causing a
>>>>>>
>>>>>> problem with the logic in SConstruct and failing to build the
>>>>
>>>> python>> opcodes/interface.  I'm going to remove that SCons and
>>>> install>> manually to fix that and will update the wiki accordingly.
>>>>>>
>>>>>> On Mon, Aug 8, 2011 at 10:08 AM, Steven Yi
>>>>
>>>>  wrote:
>>>>>>>
>>>>>>> Yes I ran into issues with Portmidi as well on the Lion
>>>>
>>>> machine.  I'm
>>>>>>>
>>>>>>> on the 10.6 machine and noticed I was able to install a universal
>>>>>>> build via ports.  The portfile for portmidi
>>>>>>>
>>>>
>>>> (https://trac.macports.org/browser/trunk/dports/audio/portmidi/Portfile>>>
>>>> )
>>>>>>>
>>>>>>> shows that it uses some patches to build.  The patches are at:
>>>>>>>
>>>>>>> https://trac.macports.org/browser/trunk/dports/audio/portmidi
>>>>>>>
>>>>>>> I'm going to experiment later today to see if those will fix
>>>>
>>>> allow to
>>>>>>>
>>>>>>> build universal on Lion.
>>>>>>>
>>>>>>> steven
>>>>>>>
>>>>>>> On Mon, Aug 8, 2011 at 9:37 AM, Victor Lazzarini
>>>>>>>  wrote:
>>>>>>>>
>>>>>>>> OK, it all seems to work fine, I have upgraded to 1.3 and
>>>>
>>>> re-built
>>>>>>>>
>>>>>>>> with your SConstruct commits.
>>>>>>>> One less problem moving to x86_64. Now, we'll have to solve the
>>>>>>>> portmidi problem.
>>>>>>>>
>>>>>>>> Vicroe
>>>>>>>>
>>>>>>>> On 7 Aug 2011, at 22:12, Steven Yi wrote:
>>>>>>>>
>>>>>>>>> Just FYI: I committed the fltk-config change for darwin
>>>>
>>>> and updated
>>>>>>>>>
>>>>>>>>> the wiki page with the commands I used to build:
>>>>>>>>>
>>>>>>>>>
>>>>
>>>>
>>>> https://sourceforge.net/apps/mediawiki/csound/index.php?title=Building_Csound_on_OSX_Lion>>>>>
>>>>>>>>>
>>>>>>>>> Thanks!
>>>>>>>>> steven
>>>>>>>>>
>>>>>>>>> On Sun, Aug 7, 2011 at 4:56 PM, Victor Lazzarini
>>>>>>>>>  wrote:
>>>>>>>>>>
>>>>>>>>>> Sounds good. I'll have a look at this during the week.
>>>>>>>>>>
>>>>>>>>>> Victor
>>>>>>>>>> On 7 Aug 2011, at 21:50, Steven Yi wrote:
>>>>>>>>>>
>>>>>>>>>>> That sounds good to me.  I'm using 1.3.x here on Lion
>>>>
>>>> and will
>>>>>>>>>>>
>>>>>>>>>>> try
>>>>>>>>>>> to
>>>>>>>>>>> test some more with Iain McCurdy's examples.  I still
>>>>
>>>> have my
>>>>>>>>>>>
>>>>>>>>>>> work
>>>>>>>>>>> Macbook that has 10.6, and on that machine I think I was using
>>>>>>>>>>> 1.3.x
>>>>>>>>>>> with MacPorts (must have been as it was a universal
>>>>
>>>> build there).
>>>>>>>>>>>
>>>>>>>>>>> Just FYI: I'm building all dependencies myself on my
>>>>
>>>> Lion machine
>>>>>>>>>>>
>>>>>>>>>>> now
>>>>>>>>>>> to match up with your setup.  Should make things better for
>>>>>>>>>>> keeping in
>>>>>>>>>>> sync I think.
>>>>>>>>>>>
>>>>>>>>>>> I'll work on the fltk-config change now and will commit that
>>>>>>>>>>> shortly.
>>>>>>>>>>>
>>>>>>>>>>> Thanks!
>>>>>>>>>>> steven
>>>>>>>>>>>
>>>>>>>>>>> On Sun, Aug 7, 2011 at 4:02 PM, Victor Lazzarini
>>>>>>>>>>>  wrote:
>>>>>>>>>>>>
>>>>>>>>>>>> I think we should possibly migrate to 1.3 on all OSX new
>>>>>>>>>>>> releases
>>>>>>>>>>>> (10.5-.7),
>>>>>>>>>>>> what do you reckon?
>>>>>>>>>>>> Victor
>>>>>>>>>>>> On 7 Aug 2011, at 19:58, Steven Yi wrote:
>>>>>>>>>>>>
>>>>>>>>>>>> Ah okay, I will modify and commit when I return home in
>>>>
>>>> a few
>>>>>>>>>>>>
>>>>>>>>>>>> hours, thanks!
>>>>>>>>>>>>
>>>>>>>>>>>> On Aug 7, 2011 1:55 PM, "Victor Lazzarini"
>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>> No reason, particularly. If fltk-config works on OSX,
>>>>
>>>> we can
>>>>>>>>>>>>>
>>>>>>>>>>>>> use
>>>>>>>>>>>>> it.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Victor
>>>>>>>>>>>>> On 7 Aug 2011, at 14:50, Steven Yi wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi All,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I just got finished building FLTK on Mac Lion and
>>>>
>>>> found an
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> issue
>>>>>>>>>>>>>> with
>>>>>>>>>>>>>> SConstruct, but I wasn't sure how to proceed. So for
>>>>
>>>> OSX Lion,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> FLTK
>>>>>>>>>>>>>> 1.1.10 does not build universal as it uses Carbon. However,
>>>>>>>>>>>>>> FLTK
>>>>>>>>>>>>>> 1.3.x does build out of the box a universal
>>>>
>>>> i386/x86_64 build
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> with
>>>>>>>>>>>>>> Lion as it uses Cocoa.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> When building with the currently SConstruct, the
>>>>
>>>> build was
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> failing. I
>>>>>>>>>>>>>> traced it down to:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> elif getPlatform() == 'darwin':
>>>>>>>>>>>>>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>>>>>>>>>>>>>> 'pthread', 'm'])
>>>>>>>>>>>>>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>>>>>>>>>>>>>> -framework Carbon -framework CoreAudio -framework CoreMidi
>>>>>>>>>>>>>> -framework ApplicationServices
>>>>>>>>>>>>>> '''))
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> This has hardcoded link flags. The build was failing
>>>>
>>>> as the
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Cocoa
>>>>>>>>>>>>>> classes were missing. Modifying it to add Cocoa:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> elif getPlatform() == 'darwin':
>>>>>>>>>>>>>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>>>>>>>>>>>>>> 'pthread', 'm'])
>>>>>>>>>>>>>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>>>>>>>>>>>>>> -framework Carbon -framework CoreAudio -framework CoreMidi
>>>>>>>>>>>>>> -framework ApplicationServices -framework Cocoa
>>>>>>>>>>>>>> '''))
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Does get the widgets and virtual keyboard to build. A quick
>>>>>>>>>>>>>> test
>>>>>>>>>>>>>> shows
>>>>>>>>>>>>>> the virtual keyboard works great with 1.3.x.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> However, in SConstruct I noticed that a few lines up
>>>>
>>>> we have
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> for
>>>>>>>>>>>>>> linux:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> widgetsEnvironment.ParseConfig('fltk-config --use-
>>>>
>>>> images --
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> cflags
>>>>>>>>>>>>>> --cxxflags --ldflags')
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I'm curious, is there any reason why we are not using
>>>>
>>>> fltk-
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> config
>>>>>>>>>>>>>> for
>>>>>>>>>>>>>> Mac? At least for FLTK 1.3.x, doing "make install" installs
>>>>>>>>>>>>>> fltk-config into /usr/local/bin.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>> steven
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> ------------------------------------------------------
>>>>
>>>> ------------------------
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>>>>
>>>> Francisco, CA
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>>>>>>>>>>> experts.
>>>>>>>>>>>>>> Get tools for creating Super Apps. See the latest
>>>>>>>>>>>>>> technologies.
>>>>>>>>>>>>>> Sessions, hands-on labs, demos & much more. Register
>>>>
>>>> early &
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> save!
>>>>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>
>>>>>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>>>>>> Senior Lecturer
>>>>>>>>>>>>> Dept. of Music
>>>>>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> -------------------------------------------------------
>>>>
>>>> -----------------------
>>>>>>>>>>>>>
>>>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>>>>
>>>> Francisco, CA
>>>>>>>>>>>>>
>>>>>>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>>>>>>>>>> experts.
>>>>>>>>>>>>> Get tools for creating Super Apps. See the latest
>>>>
>>>> technologies.>>>>>>>>> Sessions, hands-on labs, demos & much
>>>> more. Register early &
>>>>>>>>>>>>>
>>>>>>>>>>>>> save!
>>>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>
>>>>>>>>>>>> --------------------------------------------------------
>>>>
>>>> ----------------------
>>>>>>>>>>>>
>>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>>>>
>>>> Francisco, CA
>>>>>>>>>>>>
>>>>>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>>>>>>>>> experts.
>>>>>>>>>>>> Get tools for creating Super Apps. See the latest
>>>>
>>>> technologies.>>>>>>>> Sessions, hands-on labs, demos & much
>>>> more. Register early &
>>>>>>>>>>>>
>>>>>>>>>>>> save!
>>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-
>>>>
>>>> 1_______________________________________________>>>>>>>> Csound-
>>>> devel mailing list
>>>>>>>>>>>>
>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>
>>>>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>>>>> Senior Lecturer
>>>>>>>>>>>> Dept. of Music
>>>>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --------------------------------------------------------
>>>>
>>>> ----------------------
>>>>>>>>>>>>
>>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>>>>
>>>> Francisco, CA
>>>>>>>>>>>>
>>>>>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>>>>>>>>> experts.
>>>>>>>>>>>> Get tools for creating Super Apps. See the latest
>>>>
>>>> technologies.>>>>>>>> Sessions, hands-on labs, demos & much
>>>> more. Register early &
>>>>>>>>>>>>
>>>>>>>>>>>> save!
>>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ---------------------------------------------------------
>>>>
>>>> ---------------------
>>>>>>>>>>>
>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>>>>
>>>> Francisco, CA
>>>>>>>>>>>
>>>>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>>>>>>>> experts.
>>>>>>>>>>> Get tools for creating Super Apps. See the latest
>>>>
>>>> technologies.>>>>>>> Sessions, hands-on labs, demos & much more.
>>>> Register early &
>>>>>>>>>>>
>>>>>>>>>>> save!
>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>>> Senior Lecturer
>>>>>>>>>> Dept. of Music
>>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ----------------------------------------------------------
>>>>
>>>> --------------------
>>>>>>>>>>
>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>>>>
>>>> Francisco, CA
>>>>>>>>>>
>>>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>
>>>> experts.>>>>>> Get tools for creating Super Apps. See the latest
>>>> technologies.>>>>>> Sessions, hands-on labs, demos & much more.
>>>> Register early & save!
>>>>>>>>>>
>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> -----------------------------------------------------------
>>>>
>>>> -------------------
>>>>>>>>>
>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>>>>
>>>> Francisco, CA
>>>>>>>>>
>>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>
>>>> experts.>>>>> Get tools for creating Super Apps. See the latest
>>>> technologies.>>>>> Sessions, hands-on labs, demos & much more.
>>>> Register early & save!
>>>>>>>>>
>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>> Dr Victor Lazzarini
>>>>>>>> Senior Lecturer
>>>>>>>> Dept. of Music
>>>>>>>> NUI Maynooth Ireland
>>>>>>>> tel.: +353 1 708 3545
>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------
>>>>
>>>> ------------------
>>>>>>>>
>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>
>>>> experts.>>>> Get tools for creating Super Apps. See the latest
>>>> technologies.>>>> Sessions, hands-on labs, demos & much more.
>>>> Register early & save!
>>>>>>>>
>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>> --------------------------------------------------------------
>>>>
>>>> ----------------
>>>>>>
>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>> The must-attend event for mobile developers. Connect with experts.
>>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>> Dr Victor Lazzarini
>>>>> Senior Lecturer
>>>>> Dept. of Music
>>>>> NUI Maynooth Ireland
>>>>> tel.: +353 1 708 3545
>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------
>>>>
>>>> ---------------
>>>>>
>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>> The must-attend event for mobile developers. Connect with experts.
>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>> -----------------------------------------------------------------
>>>> -------------
>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>> The must-attend event for mobile developers. Connect with
>>>> experts.
>>>> Get tools for creating Super Apps. See the latest technologies.
>>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,
>>> National University of Ireland, Maynooth
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>> The must-attend event for mobile developers. Connect with experts.
>>> Get tools for creating Super Apps. See the latest technologies.
>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>> http://p.sf.net/sfu/rim-blackberry-1
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>> The must-attend event for mobile developers. Connect with experts.
>> Get tools for creating Super Apps. See the latest technologies.
>> Sessions, hands-on labs, demos & much more. Register early & save!
>> http://p.sf.net/sfu/rim-blackberry-1
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> uberSVN's rich system and user administration capabilities and model
> configuration take the hassle out of deploying and managing Subversion and
> the tools developers use with it. Learn more about uberSVN and get a free
> download at:  http://p.sf.net/sfu/wandisco-dev2dev
>
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-08-09 16:36
FromVictor.Lazzarini@nuim.ie
SubjectRe: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
AttachmentsNone  None  None  None  

Date2011-08-09 18:31
From"Dr. Richard Boulanger"
SubjectRe: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
AttachmentsNone  None  
Wonderful news!  

Is there any chance that there would be an Xcode project file that could be shared for the latest and future builds?

Rick


Richard Boulanger, Ph.D.
Professor of Electronic Production and Design
Music Technology Division
Berklee College of Music
1140 Boylston Street
Boston, MA 02215
617-747-2485 (office)
774-488-9166 (cell)
rboulanger@berklee.edu
http://csounds.com/boulanger

On Aug 9, 2011, at 11:36 AM, Victor.Lazzarini@nuim.ie wrote:

Oh, well, that's grand then, we can build releases for 10.6 and 10.7

Victor

----- Original Message -----
From: Steven Yi <stevenyi@gmail.com>
Date: Tuesday, August 9, 2011 4:30 pm
Subject: Re: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
To: Developer discussions <csound-devel@lists.sourceforge.net>

> Hi Victor,
>
> I found this test file in my email archive and ran it with a
> lecture1.csd file that was something you had emailed
> previously.  I
> got 4 runs of the CSD with portmidi and I did not get a crash.
> Hopefully will be the same on your side!
>
> BTW: For testing, I used a Korg Nanokey MIDI Keyboard.
>
> Thanks!
> steven
>
>
> On Tue, Aug 9, 2011 at 7:12 AM, Victor Lazzarini
> <Victor.Lazzarini@nuim.ie> wrote:
> > Here it goes
> >
> >
> >
> > On 8 Aug 2011, at 21:31, Steven Yi wrote:
> >
> >> That'd be great.  I searched my email and there was a thread
> 2005 (!!)
> >> about this issue, apparently affected Linux too at that time.
>  I think
> >> it had to do with multiple instances running at the same
> time. The
> >> code for that was in Python.
> >>
> >> I think I found some test code you posted in an earlier
> thread.  I'll
> >> give it a go after I finish up with my work day today and see
> if I can
> >> reproduce and if so diagnose.
> >>
> >> Thanks!
> >> steven
> >>
> >> On Mon, Aug 8, 2011 at 3:17 PM,
>  <Victor.Lazzarini@nuim.ie> wrote:
> >>>
> >>> That sounds promising, because even creating a new instance
> was crashing
> >>> Csound. I have a little C test code, which I can send to you
> tomorrow, if
> >>> you wish.
> >>>
> >>> Victor
> >>>
> >>> ----- Original Message -----
> >>> From: Steven Yi <stevenyi@gmail.com>
> >>> Date: Monday, August 8, 2011 7:52 pm
> >>> Subject: Re: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
> >>> To: Developer discussions <csound-devel@lists.sourceforge.net>
> >>>
> >>>> Ah strange, I just ran blue with PortMIDI and using Csound
> >>>> API.  I was
> >>>> able to run over and over. I think I'm creating a new
> instance of
> >>>> Csound per run, but I'll have to double check.  I'll try to
> >>>> find that
> >>>> email with the C code you gave earlier to try to debug with that.
> >>>>
> >>>> On Mon, Aug 8, 2011 at 12:39 PM, Victor Lazzarini
> >>>> <Victor.Lazzarini@nuim.ie> wrote:
> >>>>>
> >>>>> yes, I had no problems building it on 10.6, but it crashes
> >>>>
> >>>> Csound when
> >>>>>
> >>>>> we try to load a second instance.
> >>>>>
> >>>>> Victor
> >>>>> On 8 Aug 2011, at 16:20, Steven Yi wrote:
> >>>>>
> >>>>>> Well the build didn't seem to be problematic.  I modified the
> >>>>>> CMakeFiles.txt in portmidi to remove ppc as a build
> >>>>
> >>>> architecture and
> >>>>>>
> >>>>>> just left i386 and x86_64.  I was able to build and install
> >>>>
> >>>> portmidi>> and build csound's portmidi lib with that.
> >>>>>>
> >>>>>> I wrote down the steps I did for using CMake to build
> >>>>
> >>>> portmidi on
> >>>>>>
> >>>>>> the wiki:
> >>>>>>
> >>>>>>
> >>>>
> >>>>
> >>>>
> https://sourceforge.net/apps/mediawiki/csound/index.php?title=Building_Csound_on_OSX_Lion>>>>>>>>
> >>>>>> I'm running into an issue now where the SConstruct I
> >>>>
> >>>> installed from
> >>>>>>
> >>>>>> ports is running with python 2.6, but the installed version
> >>>>
> >>>> on the
> >>>>>>
> >>>>>> system is 2.7 (the 2.6 was installed from ports).  This is
> >>>>
> >>>> causing a
> >>>>>>
> >>>>>> problem with the logic in SConstruct and failing to build the
> >>>>
> >>>> python>> opcodes/interface.  I'm going to remove that SCons and
> >>>> install>> manually to fix that and will update the wiki
> accordingly.>>>>>>
> >>>>>> On Mon, Aug 8, 2011 at 10:08 AM, Steven Yi
> >>>>
> >>>> <stevenyi@gmail.com> wrote:
> >>>>>>>
> >>>>>>> Yes I ran into issues with Portmidi as well on the Lion
> >>>>
> >>>> machine.  I'm
> >>>>>>>
> >>>>>>> on the 10.6 machine and noticed I was able to install a
> universal>>>>>>> build via ports.  The portfile for portmidi
> >>>>>>>
> >>>>
> >>>>
> (https://trac.macports.org/browser/trunk/dports/audio/portmidi/Portfile>>>>>>> )
> >>>>>>>
> >>>>>>> shows that it uses some patches to build.  The patches
> are at:
> >>>>>>>
> >>>>>>> https://trac.macports.org/browser/trunk/dports/audio/portmidi
> >>>>>>>
> >>>>>>> I'm going to experiment later today to see if those will fix
> >>>>
> >>>> allow to
> >>>>>>>
> >>>>>>> build universal on Lion.
> >>>>>>>
> >>>>>>> steven
> >>>>>>>
> >>>>>>> On Mon, Aug 8, 2011 at 9:37 AM, Victor Lazzarini
> >>>>>>> <Victor.Lazzarini@nuim.ie> wrote:
> >>>>>>>>
> >>>>>>>> OK, it all seems to work fine, I have upgraded to 1.3 and
> >>>>
> >>>> re-built
> >>>>>>>>
> >>>>>>>> with your SConstruct commits.
> >>>>>>>> One less problem moving to x86_64. Now, we'll have to
> solve the
> >>>>>>>> portmidi problem.
> >>>>>>>>
> >>>>>>>> Vicroe
> >>>>>>>>
> >>>>>>>> On 7 Aug 2011, at 22:12, Steven Yi wrote:
> >>>>>>>>
> >>>>>>>>> Just FYI: I committed the fltk-config change for darwin
> >>>>
> >>>> and updated
> >>>>>>>>>
> >>>>>>>>> the wiki page with the commands I used to build:
> >>>>>>>>>
> >>>>>>>>>
> >>>>
> >>>>
> >>>>
> https://sourceforge.net/apps/mediawiki/csound/index.php?title=Building_Csound_on_OSX_Lion>>>>>>>>>>>>>>
> >>>>>>>>> Thanks!
> >>>>>>>>> steven
> >>>>>>>>>
> >>>>>>>>> On Sun, Aug 7, 2011 at 4:56 PM, Victor Lazzarini
> >>>>>>>>> <Victor.Lazzarini@nuim.ie> wrote:
> >>>>>>>>>>
> >>>>>>>>>> Sounds good. I'll have a look at this during the week.
> >>>>>>>>>>
> >>>>>>>>>> Victor
> >>>>>>>>>> On 7 Aug 2011, at 21:50, Steven Yi wrote:
> >>>>>>>>>>
> >>>>>>>>>>> That sounds good to me.  I'm using 1.3.x here on Lion
> >>>>
> >>>> and will
> >>>>>>>>>>>
> >>>>>>>>>>> try
> >>>>>>>>>>> to
> >>>>>>>>>>> test some more with Iain McCurdy's examples.  I still
> >>>>
> >>>> have my
> >>>>>>>>>>>
> >>>>>>>>>>> work
> >>>>>>>>>>> Macbook that has 10.6, and on that machine I think I
> was using
> >>>>>>>>>>> 1.3.x
> >>>>>>>>>>> with MacPorts (must have been as it was a universal
> >>>>
> >>>> build there).
> >>>>>>>>>>>
> >>>>>>>>>>> Just FYI: I'm building all dependencies myself on my
> >>>>
> >>>> Lion machine
> >>>>>>>>>>>
> >>>>>>>>>>> now
> >>>>>>>>>>> to match up with your setup.  Should make things
> better for
> >>>>>>>>>>> keeping in
> >>>>>>>>>>> sync I think.
> >>>>>>>>>>>
> >>>>>>>>>>> I'll work on the fltk-config change now and will
> commit that
> >>>>>>>>>>> shortly.
> >>>>>>>>>>>
> >>>>>>>>>>> Thanks!
> >>>>>>>>>>> steven
> >>>>>>>>>>>
> >>>>>>>>>>> On Sun, Aug 7, 2011 at 4:02 PM, Victor Lazzarini
> >>>>>>>>>>> <Victor.Lazzarini@nuim.ie> wrote:
> >>>>>>>>>>>>
> >>>>>>>>>>>> I think we should possibly migrate to 1.3 on all
> OSX new
> >>>>>>>>>>>> releases
> >>>>>>>>>>>> (10.5-.7),
> >>>>>>>>>>>> what do you reckon?
> >>>>>>>>>>>> Victor
> >>>>>>>>>>>> On 7 Aug 2011, at 19:58, Steven Yi wrote:
> >>>>>>>>>>>>
> >>>>>>>>>>>> Ah okay, I will modify and commit when I return
> home in
> >>>>
> >>>> a few
> >>>>>>>>>>>>
> >>>>>>>>>>>> hours, thanks!
> >>>>>>>>>>>>
> >>>>>>>>>>>> On Aug 7, 2011 1:55 PM, "Victor Lazzarini"
> >>>>>>>>>>>> <Victor.Lazzarini@nuim.ie> wrote:
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> No reason, particularly. If fltk-config works on OSX,
> >>>>
> >>>> we can
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> use
> >>>>>>>>>>>>> it.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Victor
> >>>>>>>>>>>>> On 7 Aug 2011, at 14:50, Steven Yi wrote:
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> Hi All,
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> I just got finished building FLTK on Mac Lion and
> >>>>
> >>>> found an
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> issue
> >>>>>>>>>>>>>> with
> >>>>>>>>>>>>>> SConstruct, but I wasn't sure how to proceed. So for
> >>>>
> >>>> OSX Lion,
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> FLTK
> >>>>>>>>>>>>>> 1.1.10 does not build universal as it uses
> Carbon. However,
> >>>>>>>>>>>>>> FLTK
> >>>>>>>>>>>>>> 1.3.x does build out of the box a universal
> >>>>
> >>>> i386/x86_64 build
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> with
> >>>>>>>>>>>>>> Lion as it uses Cocoa.
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> When building with the currently SConstruct, the
> >>>>
> >>>> build was
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> failing. I
> >>>>>>>>>>>>>> traced it down to:
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> elif getPlatform() == 'darwin':
> >>>>>>>>>>>>>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
> >>>>>>>>>>>>>> 'pthread', 'm'])
> >>>>>>>>>>>>>> widgetsEnvironment.Append(LINKFLAGS = Split('''
> >>>>>>>>>>>>>> -framework Carbon -framework CoreAudio -framework
> CoreMidi>>>>>>>>>>>>>> -framework ApplicationServices
> >>>>>>>>>>>>>> '''))
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> This has hardcoded link flags. The build was failing
> >>>>
> >>>> as the
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> Cocoa
> >>>>>>>>>>>>>> classes were missing. Modifying it to add Cocoa:
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> elif getPlatform() == 'darwin':
> >>>>>>>>>>>>>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
> >>>>>>>>>>>>>> 'pthread', 'm'])
> >>>>>>>>>>>>>> widgetsEnvironment.Append(LINKFLAGS = Split('''
> >>>>>>>>>>>>>> -framework Carbon -framework CoreAudio -framework
> CoreMidi>>>>>>>>>>>>>> -framework ApplicationServices -framework Cocoa
> >>>>>>>>>>>>>> '''))
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> Does get the widgets and virtual keyboard to
> build. A quick
> >>>>>>>>>>>>>> test
> >>>>>>>>>>>>>> shows
> >>>>>>>>>>>>>> the virtual keyboard works great with 1.3.x.
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> However, in SConstruct I noticed that a few lines up
> >>>>
> >>>> we have
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> for
> >>>>>>>>>>>>>> linux:
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> widgetsEnvironment.ParseConfig('fltk-config --use-
> >>>>
> >>>> images --
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> cflags
> >>>>>>>>>>>>>> --cxxflags --ldflags')
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> I'm curious, is there any reason why we are not using
> >>>>
> >>>> fltk-
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> config
> >>>>>>>>>>>>>> for
> >>>>>>>>>>>>>> Mac? At least for FLTK 1.3.x, doing "make
> install" installs
> >>>>>>>>>>>>>> fltk-config into /usr/local/bin.
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> Thanks,
> >>>>>>>>>>>>>> steven
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> --------------------------------------------------
> ----
> >>>>
> >>>> ------------------------
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
> >>>>
> >>>> Francisco, CA
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> The must-attend event for mobile developers.
> Connect with
> >>>>>>>>>>>>>> experts.
> >>>>>>>>>>>>>> Get tools for creating Super Apps. See the latest
> >>>>>>>>>>>>>> technologies.
> >>>>>>>>>>>>>> Sessions, hands-on labs, demos & much more. Register
> >>>>
> >>>> early &
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> save!
> >>>>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
> >>>>>>>>>>>>>> _______________________________________________
> >>>>>>>>>>>>>> Csound-devel mailing list
> >>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
> >>>>>>>>>>>>>>
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Dr Victor Lazzarini
> >>>>>>>>>>>>> Senior Lecturer
> >>>>>>>>>>>>> Dept. of Music
> >>>>>>>>>>>>> NUI Maynooth Ireland
> >>>>>>>>>>>>> tel.: +353 1 708 3545
> >>>>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> ---------------------------------------------------
> ----
> >>>>
> >>>> -----------------------
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
> >>>>
> >>>> Francisco, CA
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> The must-attend event for mobile developers.
> Connect with
> >>>>>>>>>>>>> experts.
> >>>>>>>>>>>>> Get tools for creating Super Apps. See the latest
> >>>>
> >>>> technologies.>>>>>>>>> Sessions, hands-on labs, demos & much
> >>>> more. Register early &
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> save!
> >>>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
> >>>>>>>>>>>>> _______________________________________________
> >>>>>>>>>>>>> Csound-devel mailing list
> >>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
> >>>>>>>>>>>>>
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>>>>>>>>>>
> >>>>>>>>>>>> ----------------------------------------------------
> ----
> >>>>
> >>>> ----------------------
> >>>>>>>>>>>>
> >>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
> >>>>
> >>>> Francisco, CA
> >>>>>>>>>>>>
> >>>>>>>>>>>> The must-attend event for mobile developers.
> Connect with
> >>>>>>>>>>>> experts.
> >>>>>>>>>>>> Get tools for creating Super Apps. See the latest
> >>>>
> >>>> technologies.>>>>>>>> Sessions, hands-on labs, demos & much
> >>>> more. Register early &
> >>>>>>>>>>>>
> >>>>>>>>>>>> save!
> >>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-
> >>>>
> >>>> 1_______________________________________________>>>>>>>>
> Csound-
> >>>> devel mailing list
> >>>>>>>>>>>>
> >>>>>>>>>>>> Csound-devel@lists.sourceforge.net
> >>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>>>>>>>>>>
> >>>>>>>>>>>> Dr Victor Lazzarini
> >>>>>>>>>>>> Senior Lecturer
> >>>>>>>>>>>> Dept. of Music
> >>>>>>>>>>>> NUI Maynooth Ireland
> >>>>>>>>>>>> tel.: +353 1 708 3545
> >>>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>> ----------------------------------------------------
> ----
> >>>>
> >>>> ----------------------
> >>>>>>>>>>>>
> >>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
> >>>>
> >>>> Francisco, CA
> >>>>>>>>>>>>
> >>>>>>>>>>>> The must-attend event for mobile developers.
> Connect with
> >>>>>>>>>>>> experts.
> >>>>>>>>>>>> Get tools for creating Super Apps. See the latest
> >>>>
> >>>> technologies.>>>>>>>> Sessions, hands-on labs, demos & much
> >>>> more. Register early &
> >>>>>>>>>>>>
> >>>>>>>>>>>> save!
> >>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
> >>>>>>>>>>>> _______________________________________________
> >>>>>>>>>>>> Csound-devel mailing list
> >>>>>>>>>>>> Csound-devel@lists.sourceforge.net
> >>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> -----------------------------------------------------
> ----
> >>>>
> >>>> ---------------------
> >>>>>>>>>>>
> >>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
> >>>>
> >>>> Francisco, CA
> >>>>>>>>>>>
> >>>>>>>>>>> The must-attend event for mobile developers. Connect with
> >>>>>>>>>>> experts.
> >>>>>>>>>>> Get tools for creating Super Apps. See the latest
> >>>>
> >>>> technologies.>>>>>>> Sessions, hands-on labs, demos & much more.
> >>>> Register early &
> >>>>>>>>>>>
> >>>>>>>>>>> save!
> >>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
> >>>>>>>>>>> _______________________________________________
> >>>>>>>>>>> Csound-devel mailing list
> >>>>>>>>>>> Csound-devel@lists.sourceforge.net
> >>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>>>>>>>>
> >>>>>>>>>> Dr Victor Lazzarini
> >>>>>>>>>> Senior Lecturer
> >>>>>>>>>> Dept. of Music
> >>>>>>>>>> NUI Maynooth Ireland
> >>>>>>>>>> tel.: +353 1 708 3545
> >>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> ------------------------------------------------------
> ----
> >>>>
> >>>> --------------------
> >>>>>>>>>>
> >>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
> >>>>
> >>>> Francisco, CA
> >>>>>>>>>>
> >>>>>>>>>> The must-attend event for mobile developers. Connect with
> >>>>
> >>>> experts.>>>>>> Get tools for creating Super Apps. See the latest
> >>>> technologies.>>>>>> Sessions, hands-on labs, demos & much more.
> >>>> Register early & save!
> >>>>>>>>>>
> >>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
> >>>>>>>>>> _______________________________________________
> >>>>>>>>>> Csound-devel mailing list
> >>>>>>>>>> Csound-devel@lists.sourceforge.net
> >>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> -------------------------------------------------------
> ----
> >>>>
> >>>> -------------------
> >>>>>>>>>
> >>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
> >>>>
> >>>> Francisco, CA
> >>>>>>>>>
> >>>>>>>>> The must-attend event for mobile developers. Connect with
> >>>>
> >>>> experts.>>>>> Get tools for creating Super Apps. See the latest
> >>>> technologies.>>>>> Sessions, hands-on labs, demos & much more.
> >>>> Register early & save!
> >>>>>>>>>
> >>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
> >>>>>>>>> _______________________________________________
> >>>>>>>>> Csound-devel mailing list
> >>>>>>>>> Csound-devel@lists.sourceforge.net
> >>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>>>>>>
> >>>>>>>> Dr Victor Lazzarini
> >>>>>>>> Senior Lecturer
> >>>>>>>> Dept. of Music
> >>>>>>>> NUI Maynooth Ireland
> >>>>>>>> tel.: +353 1 708 3545
> >>>>>>>> Victor dot Lazzarini AT nuim dot ie
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> --------------------------------------------------------
> ----
> >>>>
> >>>> ------------------
> >>>>>>>>
> >>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> >>>>>>>> The must-attend event for mobile developers. Connect with
> >>>>
> >>>> experts.>>>> Get tools for creating Super Apps. See the latest
> >>>> technologies.>>>> Sessions, hands-on labs, demos & much more.
> >>>> Register early & save!
> >>>>>>>>
> >>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
> >>>>>>>> _______________________________________________
> >>>>>>>> Csound-devel mailing list
> >>>>>>>> Csound-devel@lists.sourceforge.net
> >>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>> ----------------------------------------------------------
> ----
> >>>>
> >>>> ----------------
> >>>>>>
> >>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> >>>>>> The must-attend event for mobile developers. Connect with
> experts.>>>>>> Get tools for creating Super Apps. See the latest
> technologies.>>>>>> Sessions, hands-on labs, demos & much more.
> Register early & save!
> >>>>>> http://p.sf.net/sfu/rim-blackberry-1
> >>>>>> _______________________________________________
> >>>>>> Csound-devel mailing list
> >>>>>> Csound-devel@lists.sourceforge.net
> >>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>>>
> >>>>> Dr Victor Lazzarini
> >>>>> Senior Lecturer
> >>>>> Dept. of Music
> >>>>> NUI Maynooth Ireland
> >>>>> tel.: +353 1 708 3545
> >>>>> Victor dot Lazzarini AT nuim dot ie
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> -----------------------------------------------------------
> ----
> >>>>
> >>>> ---------------
> >>>>>
> >>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> >>>>> The must-attend event for mobile developers. Connect with
> experts.>>>>> Get tools for creating Super Apps. See the latest
> technologies.>>>>> Sessions, hands-on labs, demos & much more.
> Register early & save!
> >>>>> http://p.sf.net/sfu/rim-blackberry-1
> >>>>> _______________________________________________
> >>>>> Csound-devel mailing list
> >>>>> Csound-devel@lists.sourceforge.net
> >>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>>>
> >>>>
> >>>> ------------------------------------------------------------
> -----
> >>>> -------------
> >>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> >>>> The must-attend event for mobile developers. Connect with
> >>>> experts.
> >>>> Get tools for creating Super Apps. See the latest technologies.
> >>>> Sessions, hands-on labs, demos & much more. Register early
> & save!
> >>>> http://p.sf.net/sfu/rim-blackberry-1
> >>>> _______________________________________________
> >>>> Csound-devel mailing list
> >>>> Csound-devel@lists.sourceforge.net
> >>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>
> >>> Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,
> >>> National University of Ireland, Maynooth
> >>>
> >>>
> >>> -------------------------------------------------------------
> -----------------
> >>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> >>> The must-attend event for mobile developers. Connect with experts.
> >>> Get tools for creating Super Apps. See the latest technologies.
> >>> Sessions, hands-on labs, demos & much more. Register early & save!
> >>> http://p.sf.net/sfu/rim-blackberry-1
> >>> _______________________________________________
> >>> Csound-devel mailing list
> >>> Csound-devel@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>
> >>>
> >>
> >>
> >> --------------------------------------------------------------
> ----------------
> >> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> >> The must-attend event for mobile developers. Connect with experts.
> >> Get tools for creating Super Apps. See the latest technologies.
> >> Sessions, hands-on labs, demos & much more. Register early & save!
> >> http://p.sf.net/sfu/rim-blackberry-1
> >> _______________________________________________
> >> Csound-devel mailing list
> >> Csound-devel@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >
> > Dr Victor Lazzarini
> > Senior Lecturer
> > Dept. of Music
> > NUI Maynooth Ireland
> > tel.: +353 1 708 3545
> > Victor dot Lazzarini AT nuim dot ie
> >
> >
> >
> >
> > ---------------------------------------------------------------
> ---------------
> > uberSVN's rich system and user administration capabilities and model
> > configuration take the hassle out of deploying and managing
> Subversion and
> > the tools developers use with it. Learn more about uberSVN and
> get a free
> > download at:  http://p.sf.net/sfu/wandisco-dev2dev
> >
> > _______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
> >
> >
>
> -----------------------------------------------------------------
> -------------
> uberSVN's rich system and user administration capabilities and
> model
> configuration take the hassle out of deploying and managing
> Subversion and
> the tools developers use with it. Learn more about uberSVN and
> get a free
> download at:  http://p.sf.net/sfu/wandisco-dev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,
National University of Ireland, Maynooth
------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2011-08-09 18:41
FromSteven Yi
SubjectRe: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
An xcode project can be generated from the CMake project file:

1. clone a copy of csound5 from git
2. make a directory to store the cmake build for xcode (call it
cs5xcode), put this directory at the same level as csound5 and not
within it
3. cd into the cs5xcode folder, then type:

cmake ../csound5 -G "Xcode"

This will generate an xcode project.

However, one thing to note, I last tested with Xcode 3.2.3 and the
project files seemed to be a little strange when I tried on Lion and
Xcode 4.1.  I'm going to try to diagnose when I have some time, but
may be a few days until that happens.

Thanks!
steven


On Tue, Aug 9, 2011 at 1:31 PM, Dr. Richard Boulanger
 wrote:
> Wonderful news!
> Is there any chance that there would be an Xcode project file that could be
> shared for the latest and future builds?
> Rick
>
>
> Richard Boulanger, Ph.D.
> Professor of Electronic Production and Design
> Music Technology Division
> Berklee College of Music
> 1140 Boylston Street
> Boston, MA 02215
> 617-747-2485 (office)
> 774-488-9166 (cell)
> rboulanger@berklee.edu
> http://csounds.com/boulanger
> On Aug 9, 2011, at 11:36 AM, Victor.Lazzarini@nuim.ie wrote:
>
> Oh, well, that's grand then, we can build releases for 10.6 and 10.7
>
> Victor
>
> ----- Original Message -----
> From: Steven Yi 
> Date: Tuesday, August 9, 2011 4:30 pm
> Subject: Re: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
> To: Developer discussions 
>
>> Hi Victor,
>>
>> I found this test file in my email archive and ran it with a
>> lecture1.csd file that was something you had emailed
>> previously.  I
>> got 4 runs of the CSD with portmidi and I did not get a crash.
>> Hopefully will be the same on your side!
>>
>> BTW: For testing, I used a Korg Nanokey MIDI Keyboard.
>>
>> Thanks!
>> steven
>>
>>
>> On Tue, Aug 9, 2011 at 7:12 AM, Victor Lazzarini
>>  wrote:
>> > Here it goes
>> >
>> >
>> >
>> > On 8 Aug 2011, at 21:31, Steven Yi wrote:
>> >
>> >> That'd be great.  I searched my email and there was a thread
>> 2005 (!!)
>> >> about this issue, apparently affected Linux too at that time.
>>  I think
>> >> it had to do with multiple instances running at the same
>> time. The
>> >> code for that was in Python.
>> >>
>> >> I think I found some test code you posted in an earlier
>> thread.  I'll
>> >> give it a go after I finish up with my work day today and see
>> if I can
>> >> reproduce and if so diagnose.
>> >>
>> >> Thanks!
>> >> steven
>> >>
>> >> On Mon, Aug 8, 2011 at 3:17 PM,
>>   wrote:
>> >>>
>> >>> That sounds promising, because even creating a new instance
>> was crashing
>> >>> Csound. I have a little C test code, which I can send to you
>> tomorrow, if
>> >>> you wish.
>> >>>
>> >>> Victor
>> >>>
>> >>> ----- Original Message -----
>> >>> From: Steven Yi 
>> >>> Date: Monday, August 8, 2011 7:52 pm
>> >>> Subject: Re: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
>> >>> To: Developer discussions 
>> >>>
>> >>>> Ah strange, I just ran blue with PortMIDI and using Csound
>> >>>> API.  I was
>> >>>> able to run over and over. I think I'm creating a new
>> instance of
>> >>>> Csound per run, but I'll have to double check.  I'll try to
>> >>>> find that
>> >>>> email with the C code you gave earlier to try to debug with that.
>> >>>>
>> >>>> On Mon, Aug 8, 2011 at 12:39 PM, Victor Lazzarini
>> >>>>  wrote:
>> >>>>>
>> >>>>> yes, I had no problems building it on 10.6, but it crashes
>> >>>>
>> >>>> Csound when
>> >>>>>
>> >>>>> we try to load a second instance.
>> >>>>>
>> >>>>> Victor
>> >>>>> On 8 Aug 2011, at 16:20, Steven Yi wrote:
>> >>>>>
>> >>>>>> Well the build didn't seem to be problematic.  I modified the
>> >>>>>> CMakeFiles.txt in portmidi to remove ppc as a build
>> >>>>
>> >>>> architecture and
>> >>>>>>
>> >>>>>> just left i386 and x86_64.  I was able to build and install
>> >>>>
>> >>>> portmidi>> and build csound's portmidi lib with that.
>> >>>>>>
>> >>>>>> I wrote down the steps I did for using CMake to build
>> >>>>
>> >>>> portmidi on
>> >>>>>>
>> >>>>>> the wiki:
>> >>>>>>
>> >>>>>>
>> >>>>
>> >>>>
>> >>>>
>>
>> https://sourceforge.net/apps/mediawiki/csound/index.php?title=Building_Csound_on_OSX_Lion>>>>>>>>
>> >>>>>> I'm running into an issue now where the SConstruct I
>> >>>>
>> >>>> installed from
>> >>>>>>
>> >>>>>> ports is running with python 2.6, but the installed version
>> >>>>
>> >>>> on the
>> >>>>>>
>> >>>>>> system is 2.7 (the 2.6 was installed from ports).  This is
>> >>>>
>> >>>> causing a
>> >>>>>>
>> >>>>>> problem with the logic in SConstruct and failing to build the
>> >>>>
>> >>>> python>> opcodes/interface.  I'm going to remove that SCons and
>> >>>> install>> manually to fix that and will update the wiki
>> accordingly.>>>>>>
>> >>>>>> On Mon, Aug 8, 2011 at 10:08 AM, Steven Yi
>> >>>>
>> >>>>  wrote:
>> >>>>>>>
>> >>>>>>> Yes I ran into issues with Portmidi as well on the Lion
>> >>>>
>> >>>> machine.  I'm
>> >>>>>>>
>> >>>>>>> on the 10.6 machine and noticed I was able to install a
>> universal>>>>>>> build via ports.  The portfile for portmidi
>> >>>>>>>
>> >>>>
>> >>>>
>>
>> (https://trac.macports.org/browser/trunk/dports/audio/portmidi/Portfile>>>>>>>
>> )
>> >>>>>>>
>> >>>>>>> shows that it uses some patches to build.  The patches
>> are at:
>> >>>>>>>
>> >>>>>>> https://trac.macports.org/browser/trunk/dports/audio/portmidi
>> >>>>>>>
>> >>>>>>> I'm going to experiment later today to see if those will fix
>> >>>>
>> >>>> allow to
>> >>>>>>>
>> >>>>>>> build universal on Lion.
>> >>>>>>>
>> >>>>>>> steven
>> >>>>>>>
>> >>>>>>> On Mon, Aug 8, 2011 at 9:37 AM, Victor Lazzarini
>> >>>>>>>  wrote:
>> >>>>>>>>
>> >>>>>>>> OK, it all seems to work fine, I have upgraded to 1.3 and
>> >>>>
>> >>>> re-built
>> >>>>>>>>
>> >>>>>>>> with your SConstruct commits.
>> >>>>>>>> One less problem moving to x86_64. Now, we'll have to
>> solve the
>> >>>>>>>> portmidi problem.
>> >>>>>>>>
>> >>>>>>>> Vicroe
>> >>>>>>>>
>> >>>>>>>> On 7 Aug 2011, at 22:12, Steven Yi wrote:
>> >>>>>>>>
>> >>>>>>>>> Just FYI: I committed the fltk-config change for darwin
>> >>>>
>> >>>> and updated
>> >>>>>>>>>
>> >>>>>>>>> the wiki page with the commands I used to build:
>> >>>>>>>>>
>> >>>>>>>>>
>> >>>>
>> >>>>
>> >>>>
>>
>> https://sourceforge.net/apps/mediawiki/csound/index.php?title=Building_Csound_on_OSX_Lion>>>>>>>>>>>>>>
>> >>>>>>>>> Thanks!
>> >>>>>>>>> steven
>> >>>>>>>>>
>> >>>>>>>>> On Sun, Aug 7, 2011 at 4:56 PM, Victor Lazzarini
>> >>>>>>>>>  wrote:
>> >>>>>>>>>>
>> >>>>>>>>>> Sounds good. I'll have a look at this during the week.
>> >>>>>>>>>>
>> >>>>>>>>>> Victor
>> >>>>>>>>>> On 7 Aug 2011, at 21:50, Steven Yi wrote:
>> >>>>>>>>>>
>> >>>>>>>>>>> That sounds good to me.  I'm using 1.3.x here on Lion
>> >>>>
>> >>>> and will
>> >>>>>>>>>>>
>> >>>>>>>>>>> try
>> >>>>>>>>>>> to
>> >>>>>>>>>>> test some more with Iain McCurdy's examples.  I still
>> >>>>
>> >>>> have my
>> >>>>>>>>>>>
>> >>>>>>>>>>> work
>> >>>>>>>>>>> Macbook that has 10.6, and on that machine I think I
>> was using
>> >>>>>>>>>>> 1.3.x
>> >>>>>>>>>>> with MacPorts (must have been as it was a universal
>> >>>>
>> >>>> build there).
>> >>>>>>>>>>>
>> >>>>>>>>>>> Just FYI: I'm building all dependencies myself on my
>> >>>>
>> >>>> Lion machine
>> >>>>>>>>>>>
>> >>>>>>>>>>> now
>> >>>>>>>>>>> to match up with your setup.  Should make things
>> better for
>> >>>>>>>>>>> keeping in
>> >>>>>>>>>>> sync I think.
>> >>>>>>>>>>>
>> >>>>>>>>>>> I'll work on the fltk-config change now and will
>> commit that
>> >>>>>>>>>>> shortly.
>> >>>>>>>>>>>
>> >>>>>>>>>>> Thanks!
>> >>>>>>>>>>> steven
>> >>>>>>>>>>>
>> >>>>>>>>>>> On Sun, Aug 7, 2011 at 4:02 PM, Victor Lazzarini
>> >>>>>>>>>>>  wrote:
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> I think we should possibly migrate to 1.3 on all
>> OSX new
>> >>>>>>>>>>>> releases
>> >>>>>>>>>>>> (10.5-.7),
>> >>>>>>>>>>>> what do you reckon?
>> >>>>>>>>>>>> Victor
>> >>>>>>>>>>>> On 7 Aug 2011, at 19:58, Steven Yi wrote:
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> Ah okay, I will modify and commit when I return
>> home in
>> >>>>
>> >>>> a few
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> hours, thanks!
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> On Aug 7, 2011 1:55 PM, "Victor Lazzarini"
>> >>>>>>>>>>>>  wrote:
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> No reason, particularly. If fltk-config works on OSX,
>> >>>>
>> >>>> we can
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> use
>> >>>>>>>>>>>>> it.
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> Victor
>> >>>>>>>>>>>>> On 7 Aug 2011, at 14:50, Steven Yi wrote:
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>> Hi All,
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>> I just got finished building FLTK on Mac Lion and
>> >>>>
>> >>>> found an
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>> issue
>> >>>>>>>>>>>>>> with
>> >>>>>>>>>>>>>> SConstruct, but I wasn't sure how to proceed. So for
>> >>>>
>> >>>> OSX Lion,
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>> FLTK
>> >>>>>>>>>>>>>> 1.1.10 does not build universal as it uses
>> Carbon. However,
>> >>>>>>>>>>>>>> FLTK
>> >>>>>>>>>>>>>> 1.3.x does build out of the box a universal
>> >>>>
>> >>>> i386/x86_64 build
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>> with
>> >>>>>>>>>>>>>> Lion as it uses Cocoa.
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>> When building with the currently SConstruct, the
>> >>>>
>> >>>> build was
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>> failing. I
>> >>>>>>>>>>>>>> traced it down to:
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>> elif getPlatform() == 'darwin':
>> >>>>>>>>>>>>>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>> >>>>>>>>>>>>>> 'pthread', 'm'])
>> >>>>>>>>>>>>>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>> >>>>>>>>>>>>>> -framework Carbon -framework CoreAudio -framework
>> CoreMidi>>>>>>>>>>>>>> -framework ApplicationServices
>> >>>>>>>>>>>>>> '''))
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>> This has hardcoded link flags. The build was failing
>> >>>>
>> >>>> as the
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>> Cocoa
>> >>>>>>>>>>>>>> classes were missing. Modifying it to add Cocoa:
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>> elif getPlatform() == 'darwin':
>> >>>>>>>>>>>>>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>> >>>>>>>>>>>>>> 'pthread', 'm'])
>> >>>>>>>>>>>>>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>> >>>>>>>>>>>>>> -framework Carbon -framework CoreAudio -framework
>> CoreMidi>>>>>>>>>>>>>> -framework ApplicationServices -framework Cocoa
>> >>>>>>>>>>>>>> '''))
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>> Does get the widgets and virtual keyboard to
>> build. A quick
>> >>>>>>>>>>>>>> test
>> >>>>>>>>>>>>>> shows
>> >>>>>>>>>>>>>> the virtual keyboard works great with 1.3.x.
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>> However, in SConstruct I noticed that a few lines up
>> >>>>
>> >>>> we have
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>> for
>> >>>>>>>>>>>>>> linux:
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>> widgetsEnvironment.ParseConfig('fltk-config --use-
>> >>>>
>> >>>> images --
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>> cflags
>> >>>>>>>>>>>>>> --cxxflags --ldflags')
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>> I'm curious, is there any reason why we are not using
>> >>>>
>> >>>> fltk-
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>> config
>> >>>>>>>>>>>>>> for
>> >>>>>>>>>>>>>> Mac? At least for FLTK 1.3.x, doing "make
>> install" installs
>> >>>>>>>>>>>>>> fltk-config into /usr/local/bin.
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>> Thanks,
>> >>>>>>>>>>>>>> steven
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>> --------------------------------------------------
>> ----
>> >>>>
>> >>>> ------------------------
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>> >>>>
>> >>>> Francisco, CA
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>> The must-attend event for mobile developers.
>> Connect with
>> >>>>>>>>>>>>>> experts.
>> >>>>>>>>>>>>>> Get tools for creating Super Apps. See the latest
>> >>>>>>>>>>>>>> technologies.
>> >>>>>>>>>>>>>> Sessions, hands-on labs, demos & much more. Register
>> >>>>
>> >>>> early &
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>> save!
>> >>>>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>> >>>>>>>>>>>>>> _______________________________________________
>> >>>>>>>>>>>>>> Csound-devel mailing list
>> >>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>> >>>>>>>>>>>>>>
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> Dr Victor Lazzarini
>> >>>>>>>>>>>>> Senior Lecturer
>> >>>>>>>>>>>>> Dept. of Music
>> >>>>>>>>>>>>> NUI Maynooth Ireland
>> >>>>>>>>>>>>> tel.: +353 1 708 3545
>> >>>>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> ---------------------------------------------------
>> ----
>> >>>>
>> >>>> -----------------------
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>> >>>>
>> >>>> Francisco, CA
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> The must-attend event for mobile developers.
>> Connect with
>> >>>>>>>>>>>>> experts.
>> >>>>>>>>>>>>> Get tools for creating Super Apps. See the latest
>> >>>>
>> >>>> technologies.>>>>>>>>> Sessions, hands-on labs, demos & much
>> >>>> more. Register early &
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> save!
>> >>>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>> >>>>>>>>>>>>> _______________________________________________
>> >>>>>>>>>>>>> Csound-devel mailing list
>> >>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>> >>>>>>>>>>>>>
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> ----------------------------------------------------
>> ----
>> >>>>
>> >>>> ----------------------
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>> >>>>
>> >>>> Francisco, CA
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> The must-attend event for mobile developers.
>> Connect with
>> >>>>>>>>>>>> experts.
>> >>>>>>>>>>>> Get tools for creating Super Apps. See the latest
>> >>>>
>> >>>> technologies.>>>>>>>> Sessions, hands-on labs, demos & much
>> >>>> more. Register early &
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> save!
>> >>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-
>> >>>>
>> >>>> 1_______________________________________________>>>>>>>>
>> Csound-
>> >>>> devel mailing list
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>> >>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> Dr Victor Lazzarini
>> >>>>>>>>>>>> Senior Lecturer
>> >>>>>>>>>>>> Dept. of Music
>> >>>>>>>>>>>> NUI Maynooth Ireland
>> >>>>>>>>>>>> tel.: +353 1 708 3545
>> >>>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>> >>>>>>>>>>>>
>> >>>>>>>>>>>>
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> ----------------------------------------------------
>> ----
>> >>>>
>> >>>> ----------------------
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>> >>>>
>> >>>> Francisco, CA
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> The must-attend event for mobile developers.
>> Connect with
>> >>>>>>>>>>>> experts.
>> >>>>>>>>>>>> Get tools for creating Super Apps. See the latest
>> >>>>
>> >>>> technologies.>>>>>>>> Sessions, hands-on labs, demos & much
>> >>>> more. Register early &
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> save!
>> >>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>> >>>>>>>>>>>> _______________________________________________
>> >>>>>>>>>>>> Csound-devel mailing list
>> >>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>> >>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>>>>>>>>>
>> >>>>>>>>>>>>
>> >>>>>>>>>>>
>> >>>>>>>>>>> -----------------------------------------------------
>> ----
>> >>>>
>> >>>> ---------------------
>> >>>>>>>>>>>
>> >>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>> >>>>
>> >>>> Francisco, CA
>> >>>>>>>>>>>
>> >>>>>>>>>>> The must-attend event for mobile developers. Connect with
>> >>>>>>>>>>> experts.
>> >>>>>>>>>>> Get tools for creating Super Apps. See the latest
>> >>>>
>> >>>> technologies.>>>>>>> Sessions, hands-on labs, demos & much more.
>> >>>> Register early &
>> >>>>>>>>>>>
>> >>>>>>>>>>> save!
>> >>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>> >>>>>>>>>>> _______________________________________________
>> >>>>>>>>>>> Csound-devel mailing list
>> >>>>>>>>>>> Csound-devel@lists.sourceforge.net
>> >>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>>>>>>>
>> >>>>>>>>>> Dr Victor Lazzarini
>> >>>>>>>>>> Senior Lecturer
>> >>>>>>>>>> Dept. of Music
>> >>>>>>>>>> NUI Maynooth Ireland
>> >>>>>>>>>> tel.: +353 1 708 3545
>> >>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>> >>>>>>>>>>
>> >>>>>>>>>>
>> >>>>>>>>>>
>> >>>>>>>>>>
>> >>>>>>>>>> ------------------------------------------------------
>> ----
>> >>>>
>> >>>> --------------------
>> >>>>>>>>>>
>> >>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>> >>>>
>> >>>> Francisco, CA
>> >>>>>>>>>>
>> >>>>>>>>>> The must-attend event for mobile developers. Connect with
>> >>>>
>> >>>> experts.>>>>>> Get tools for creating Super Apps. See the latest
>> >>>> technologies.>>>>>> Sessions, hands-on labs, demos & much more.
>> >>>> Register early & save!
>> >>>>>>>>>>
>> >>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>> >>>>>>>>>> _______________________________________________
>> >>>>>>>>>> Csound-devel mailing list
>> >>>>>>>>>> Csound-devel@lists.sourceforge.net
>> >>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>>>>>>>
>> >>>>>>>>>
>> >>>>>>>>> -------------------------------------------------------
>> ----
>> >>>>
>> >>>> -------------------
>> >>>>>>>>>
>> >>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>> >>>>
>> >>>> Francisco, CA
>> >>>>>>>>>
>> >>>>>>>>> The must-attend event for mobile developers. Connect with
>> >>>>
>> >>>> experts.>>>>> Get tools for creating Super Apps. See the latest
>> >>>> technologies.>>>>> Sessions, hands-on labs, demos & much more.
>> >>>> Register early & save!
>> >>>>>>>>>
>> >>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>> >>>>>>>>> _______________________________________________
>> >>>>>>>>> Csound-devel mailing list
>> >>>>>>>>> Csound-devel@lists.sourceforge.net
>> >>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>>>>>
>> >>>>>>>> Dr Victor Lazzarini
>> >>>>>>>> Senior Lecturer
>> >>>>>>>> Dept. of Music
>> >>>>>>>> NUI Maynooth Ireland
>> >>>>>>>> tel.: +353 1 708 3545
>> >>>>>>>> Victor dot Lazzarini AT nuim dot ie
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>> --------------------------------------------------------
>> ----
>> >>>>
>> >>>> ------------------
>> >>>>>>>>
>> >>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>> >>>>>>>> The must-attend event for mobile developers. Connect with
>> >>>>
>> >>>> experts.>>>> Get tools for creating Super Apps. See the latest
>> >>>> technologies.>>>> Sessions, hands-on labs, demos & much more.
>> >>>> Register early & save!
>> >>>>>>>>
>> >>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>> >>>>>>>> _______________________________________________
>> >>>>>>>> Csound-devel mailing list
>> >>>>>>>> Csound-devel@lists.sourceforge.net
>> >>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>>>>>
>> >>>>>>>
>> >>>>>>
>> >>>>>> ----------------------------------------------------------
>> ----
>> >>>>
>> >>>> ----------------
>> >>>>>>
>> >>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>> >>>>>> The must-attend event for mobile developers. Connect with
>> experts.>>>>>> Get tools for creating Super Apps. See the latest
>> technologies.>>>>>> Sessions, hands-on labs, demos & much more.
>> Register early & save!
>> >>>>>> http://p.sf.net/sfu/rim-blackberry-1
>> >>>>>> _______________________________________________
>> >>>>>> Csound-devel mailing list
>> >>>>>> Csound-devel@lists.sourceforge.net
>> >>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>>
>> >>>>> Dr Victor Lazzarini
>> >>>>> Senior Lecturer
>> >>>>> Dept. of Music
>> >>>>> NUI Maynooth Ireland
>> >>>>> tel.: +353 1 708 3545
>> >>>>> Victor dot Lazzarini AT nuim dot ie
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>> -----------------------------------------------------------
>> ----
>> >>>>
>> >>>> ---------------
>> >>>>>
>> >>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>> >>>>> The must-attend event for mobile developers. Connect with
>> experts.>>>>> Get tools for creating Super Apps. See the latest
>> technologies.>>>>> Sessions, hands-on labs, demos & much more.
>> Register early & save!
>> >>>>> http://p.sf.net/sfu/rim-blackberry-1
>> >>>>> _______________________________________________
>> >>>>> Csound-devel mailing list
>> >>>>> Csound-devel@lists.sourceforge.net
>> >>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>>
>> >>>>
>> >>>> ------------------------------------------------------------
>> -----
>> >>>> -------------
>> >>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>> >>>> The must-attend event for mobile developers. Connect with
>> >>>> experts.
>> >>>> Get tools for creating Super Apps. See the latest technologies.
>> >>>> Sessions, hands-on labs, demos & much more. Register early
>> & save!
>> >>>> http://p.sf.net/sfu/rim-blackberry-1
>> >>>> _______________________________________________
>> >>>> Csound-devel mailing list
>> >>>> Csound-devel@lists.sourceforge.net
>> >>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>
>> >>> Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,
>> >>> National University of Ireland, Maynooth
>> >>>
>> >>>
>> >>> -------------------------------------------------------------
>> -----------------
>> >>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>> >>> The must-attend event for mobile developers. Connect with experts.
>> >>> Get tools for creating Super Apps. See the latest technologies.
>> >>> Sessions, hands-on labs, demos & much more. Register early & save!
>> >>> http://p.sf.net/sfu/rim-blackberry-1
>> >>> _______________________________________________
>> >>> Csound-devel mailing list
>> >>> Csound-devel@lists.sourceforge.net
>> >>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>
>> >>>
>> >>
>> >>
>> >> --------------------------------------------------------------
>> ----------------
>> >> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>> >> The must-attend event for mobile developers. Connect with experts.
>> >> Get tools for creating Super Apps. See the latest technologies.
>> >> Sessions, hands-on labs, demos & much more. Register early & save!
>> >> http://p.sf.net/sfu/rim-blackberry-1
>> >> _______________________________________________
>> >> Csound-devel mailing list
>> >> Csound-devel@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >
>> > Dr Victor Lazzarini
>> > Senior Lecturer
>> > Dept. of Music
>> > NUI Maynooth Ireland
>> > tel.: +353 1 708 3545
>> > Victor dot Lazzarini AT nuim dot ie
>> >
>> >
>> >
>> >
>> > ---------------------------------------------------------------
>> ---------------
>> > uberSVN's rich system and user administration capabilities and model
>> > configuration take the hassle out of deploying and managing
>> Subversion and
>> > the tools developers use with it. Learn more about uberSVN and
>> get a free
>> > download at:  http://p.sf.net/sfu/wandisco-dev2dev
>> >
>> > _______________________________________________
>> > Csound-devel mailing list
>> > Csound-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >
>> >
>>
>> -----------------------------------------------------------------
>> -------------
>> uberSVN's rich system and user administration capabilities and
>> model
>> configuration take the hassle out of deploying and managing
>> Subversion and
>> the tools developers use with it. Learn more about uberSVN and
>> get a free
>> download at:  http://p.sf.net/sfu/wandisco-dev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,
> National University of Ireland, Maynooth
> ------------------------------------------------------------------------------
> uberSVN's rich system and user administration capabilities and model
> configuration take the hassle out of deploying and managing Subversion and
> the tools developers use with it. Learn more about uberSVN and get a free
> download at:  http://p.sf.net/sfu/wandisco-dev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> uberSVN's rich system and user administration capabilities and model
> configuration take the hassle out of deploying and managing Subversion and
> the tools developers use with it. Learn more about uberSVN and get a free
> download at:  http://p.sf.net/sfu/wandisco-dev2dev
>
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-08-09 18:44
From"Dr. Richard Boulanger"
SubjectRe: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
AttachmentsNone  None  
Dear Steven,

This is fantastic news - for me and my students at Berklee - who are a bit more Xcode oriented.
(We are a Mac school here - sorry.)

Hopefully these notes/instructions will appear in your blog - and eventually in the manual too.

Thanks

-dB

Richard Boulanger, Ph.D.
Professor of Electronic Production and Design
Music Technology Division
Berklee College of Music
1140 Boylston Street
Boston, MA 02215
617-747-2485 (office)
774-488-9166 (cell)
rboulanger@berklee.edu
http://csounds.com/boulanger

On Aug 9, 2011, at 1:41 PM, Steven Yi wrote:

An xcode project can be generated from the CMake project file:

1. clone a copy of csound5 from git
2. make a directory to store the cmake build for xcode (call it
cs5xcode), put this directory at the same level as csound5 and not
within it
3. cd into the cs5xcode folder, then type:

cmake ../csound5 -G "Xcode"

This will generate an xcode project.

However, one thing to note, I last tested with Xcode 3.2.3 and the
project files seemed to be a little strange when I tried on Lion and
Xcode 4.1.  I'm going to try to diagnose when I have some time, but
may be a few days until that happens.

Thanks!
steven


On Tue, Aug 9, 2011 at 1:31 PM, Dr. Richard Boulanger
<rboulanger@berklee.edu> wrote:
Wonderful news!
Is there any chance that there would be an Xcode project file that could be
shared for the latest and future builds?
Rick


Richard Boulanger, Ph.D.
Professor of Electronic Production and Design
Music Technology Division
Berklee College of Music
1140 Boylston Street
Boston, MA 02215
617-747-2485 (office)
774-488-9166 (cell)
rboulanger@berklee.edu
http://csounds.com/boulanger
On Aug 9, 2011, at 11:36 AM, Victor.Lazzarini@nuim.ie wrote:

Oh, well, that's grand then, we can build releases for 10.6 and 10.7

Victor

----- Original Message -----
From: Steven Yi <stevenyi@gmail.com>
Date: Tuesday, August 9, 2011 4:30 pm
Subject: Re: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
To: Developer discussions <csound-devel@lists.sourceforge.net>

Hi Victor,

I found this test file in my email archive and ran it with a
lecture1.csd file that was something you had emailed
previously.  I
got 4 runs of the CSD with portmidi and I did not get a crash.
Hopefully will be the same on your side!

BTW: For testing, I used a Korg Nanokey MIDI Keyboard.

Thanks!
steven


On Tue, Aug 9, 2011 at 7:12 AM, Victor Lazzarini
<Victor.Lazzarini@nuim.ie> wrote:
Here it goes



On 8 Aug 2011, at 21:31, Steven Yi wrote:

That'd be great.  I searched my email and there was a thread
2005 (!!)
about this issue, apparently affected Linux too at that time.
 I think
it had to do with multiple instances running at the same
time. The
code for that was in Python.

I think I found some test code you posted in an earlier
thread.  I'll
give it a go after I finish up with my work day today and see
if I can
reproduce and if so diagnose.

Thanks!
steven

On Mon, Aug 8, 2011 at 3:17 PM,
 <Victor.Lazzarini@nuim.ie> wrote:

That sounds promising, because even creating a new instance
was crashing
Csound. I have a little C test code, which I can send to you
tomorrow, if
you wish.

Victor

----- Original Message -----
From: Steven Yi <stevenyi@gmail.com>
Date: Monday, August 8, 2011 7:52 pm
Subject: Re: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
To: Developer discussions <csound-devel@lists.sourceforge.net>

Ah strange, I just ran blue with PortMIDI and using Csound
API.  I was
able to run over and over. I think I'm creating a new
instance of
Csound per run, but I'll have to double check.  I'll try to
find that
email with the C code you gave earlier to try to debug with that.

On Mon, Aug 8, 2011 at 12:39 PM, Victor Lazzarini
<Victor.Lazzarini@nuim.ie> wrote:

yes, I had no problems building it on 10.6, but it crashes

Csound when

we try to load a second instance.

Victor
On 8 Aug 2011, at 16:20, Steven Yi wrote:

Well the build didn't seem to be problematic.  I modified the
CMakeFiles.txt in portmidi to remove ppc as a build

architecture and

just left i386 and x86_64.  I was able to build and install

portmidi>> and build csound's portmidi lib with that.

I wrote down the steps I did for using CMake to build

portmidi on

the wiki:






https://sourceforge.net/apps/mediawiki/csound/index.php?title=Building_Csound_on_OSX_Lion>>>>>>>>
I'm running into an issue now where the SConstruct I

installed from

ports is running with python 2.6, but the installed version

on the

system is 2.7 (the 2.6 was installed from ports).  This is

causing a

problem with the logic in SConstruct and failing to build the

python>> opcodes/interface.  I'm going to remove that SCons and
install>> manually to fix that and will update the wiki
accordingly.>>>>>>
On Mon, Aug 8, 2011 at 10:08 AM, Steven Yi

<stevenyi@gmail.com> wrote:

Yes I ran into issues with Portmidi as well on the Lion

machine.  I'm

on the 10.6 machine and noticed I was able to install a
universal>>>>>>> build via ports.  The portfile for portmidi




(https://trac.macports.org/browser/trunk/dports/audio/portmidi/Portfile>>>>>>>
)

shows that it uses some patches to build.  The patches
are at:

https://trac.macports.org/browser/trunk/dports/audio/portmidi

I'm going to experiment later today to see if those will fix

allow to

build universal on Lion.

steven

On Mon, Aug 8, 2011 at 9:37 AM, Victor Lazzarini
<Victor.Lazzarini@nuim.ie> wrote:

OK, it all seems to work fine, I have upgraded to 1.3 and

re-built

with your SConstruct commits.
One less problem moving to x86_64. Now, we'll have to
solve the
portmidi problem.

Vicroe

On 7 Aug 2011, at 22:12, Steven Yi wrote:

Just FYI: I committed the fltk-config change for darwin

and updated

the wiki page with the commands I used to build:






https://sourceforge.net/apps/mediawiki/csound/index.php?title=Building_Csound_on_OSX_Lion>>>>>>>>>>>>>>
Thanks!
steven

On Sun, Aug 7, 2011 at 4:56 PM, Victor Lazzarini
<Victor.Lazzarini@nuim.ie> wrote:

Sounds good. I'll have a look at this during the week.

Victor
On 7 Aug 2011, at 21:50, Steven Yi wrote:

That sounds good to me.  I'm using 1.3.x here on Lion

and will

try
to
test some more with Iain McCurdy's examples.  I still

have my

work
Macbook that has 10.6, and on that machine I think I
was using
1.3.x
with MacPorts (must have been as it was a universal

build there).

Just FYI: I'm building all dependencies myself on my

Lion machine

now
to match up with your setup.  Should make things
better for
keeping in
sync I think.

I'll work on the fltk-config change now and will
commit that
shortly.

Thanks!
steven

On Sun, Aug 7, 2011 at 4:02 PM, Victor Lazzarini
<Victor.Lazzarini@nuim.ie> wrote:

I think we should possibly migrate to 1.3 on all
OSX new
releases
(10.5-.7),
what do you reckon?
Victor
On 7 Aug 2011, at 19:58, Steven Yi wrote:

Ah okay, I will modify and commit when I return
home in

a few

hours, thanks!

On Aug 7, 2011 1:55 PM, "Victor Lazzarini"
<Victor.Lazzarini@nuim.ie> wrote:

No reason, particularly. If fltk-config works on OSX,

we can

use
it.

Victor
On 7 Aug 2011, at 14:50, Steven Yi wrote:

Hi All,

I just got finished building FLTK on Mac Lion and

found an

issue
with
SConstruct, but I wasn't sure how to proceed. So for

OSX Lion,

FLTK
1.1.10 does not build universal as it uses
Carbon. However,
FLTK
1.3.x does build out of the box a universal

i386/x86_64 build

with
Lion as it uses Cocoa.

When building with the currently SConstruct, the

build was

failing. I
traced it down to:


elif getPlatform() == 'darwin':
widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
'pthread', 'm'])
widgetsEnvironment.Append(LINKFLAGS = Split('''
-framework Carbon -framework CoreAudio -framework
CoreMidi>>>>>>>>>>>>>> -framework ApplicationServices
'''))

This has hardcoded link flags. The build was failing

as the

Cocoa
classes were missing. Modifying it to add Cocoa:


elif getPlatform() == 'darwin':
widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
'pthread', 'm'])
widgetsEnvironment.Append(LINKFLAGS = Split('''
-framework Carbon -framework CoreAudio -framework
CoreMidi>>>>>>>>>>>>>> -framework ApplicationServices -framework Cocoa
'''))

Does get the widgets and virtual keyboard to
build. A quick
test
shows
the virtual keyboard works great with 1.3.x.

However, in SConstruct I noticed that a few lines up

we have

for
linux:

widgetsEnvironment.ParseConfig('fltk-config --use-

images --

cflags
--cxxflags --ldflags')

I'm curious, is there any reason why we are not using

fltk-

config
for
Mac? At least for FLTK 1.3.x, doing "make
install" installs
fltk-config into /usr/local/bin.

Thanks,
steven


--------------------------------------------------
----

------------------------

BlackBerry® DevCon Americas, Oct. 18-20, San

Francisco, CA

The must-attend event for mobile developers.
Connect with
experts.
Get tools for creating Super Apps. See the latest
technologies.
Sessions, hands-on labs, demos & much more. Register

early &

save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





---------------------------------------------------
----

-----------------------

BlackBerry® DevCon Americas, Oct. 18-20, San

Francisco, CA

The must-attend event for mobile developers.
Connect with
experts.
Get tools for creating Super Apps. See the latest

technologies.>>>>>>>>> Sessions, hands-on labs, demos & much
more. Register early &

save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/csound-devel

----------------------------------------------------
----

----------------------

BlackBerry® DevCon Americas, Oct. 18-20, San

Francisco, CA

The must-attend event for mobile developers.
Connect with
experts.
Get tools for creating Super Apps. See the latest

technologies.>>>>>>>> Sessions, hands-on labs, demos & much
more. Register early &

save!
http://p.sf.net/sfu/rim-blackberry-

1_______________________________________________>>>>>>>>
Csound-
devel mailing list

Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie



----------------------------------------------------
----

----------------------

BlackBerry® DevCon Americas, Oct. 18-20, San

Francisco, CA

The must-attend event for mobile developers.
Connect with
experts.
Get tools for creating Super Apps. See the latest

technologies.>>>>>>>> Sessions, hands-on labs, demos & much
more. Register early &

save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



-----------------------------------------------------
----

---------------------

BlackBerry® DevCon Americas, Oct. 18-20, San

Francisco, CA

The must-attend event for mobile developers. Connect with
experts.
Get tools for creating Super Apps. See the latest

technologies.>>>>>>> Sessions, hands-on labs, demos & much more.
Register early &

save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------
----

--------------------

BlackBerry® DevCon Americas, Oct. 18-20, San

Francisco, CA

The must-attend event for mobile developers. Connect with

experts.>>>>>> Get tools for creating Super Apps. See the latest
technologies.>>>>>> Sessions, hands-on labs, demos & much more.
Register early & save!

http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


-------------------------------------------------------
----

-------------------

BlackBerry® DevCon Americas, Oct. 18-20, San

Francisco, CA

The must-attend event for mobile developers. Connect with

experts.>>>>> Get tools for creating Super Apps. See the latest
technologies.>>>>> Sessions, hands-on labs, demos & much more.
Register early & save!

http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




--------------------------------------------------------
----

------------------

BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with

experts.>>>> Get tools for creating Super Apps. See the latest
technologies.>>>> Sessions, hands-on labs, demos & much more.
Register early & save!

http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



----------------------------------------------------------
----

----------------

BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with
experts.>>>>>> Get tools for creating Super Apps. See the latest
technologies.>>>>>> Sessions, hands-on labs, demos & much more.
Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




-----------------------------------------------------------
----

---------------

BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with
experts.>>>>> Get tools for creating Super Apps. See the latest
technologies.>>>>> Sessions, hands-on labs, demos & much more.
Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------
-----
-------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with
experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early
& save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,
National University of Ireland, Maynooth


-------------------------------------------------------------
-----------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




--------------------------------------------------------------
----------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




---------------------------------------------------------------
---------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing
Subversion and
the tools developers use with it. Learn more about uberSVN and
get a free
download at:  http://p.sf.net/sfu/wandisco-dev2dev

_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



-----------------------------------------------------------------
-------------
uberSVN's rich system and user administration capabilities and
model
configuration take the hassle out of deploying and managing
Subversion and
the tools developers use with it. Learn more about uberSVN and
get a free
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,
National University of Ireland, Maynooth
------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at:  http://p.sf.net/sfu/wandisco-dev2dev

_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2011-08-09 20:01
Frommatt ingalls
SubjectRe: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
YOU ARE AWESOME STEVEN!

xcode project generated.  tons of errors in xcode3 and xcode4, but
this is big progress, nevertheless!

-m

On Aug 9, 2011, at 10:41 AM, Steven Yi wrote:

> An xcode project can be generated from the CMake project file:
> 
> 1. clone a copy of csound5 from git
> 2. make a directory to store the cmake build for xcode (call it
> cs5xcode), put this directory at the same level as csound5 and not
> within it
> 3. cd into the cs5xcode folder, then type:
> 
> cmake ../csound5 -G "Xcode"
> 
> This will generate an xcode project.
> 
> However, one thing to note, I last tested with Xcode 3.2.3 and the
> project files seemed to be a little strange when I tried on Lion and
> Xcode 4.1.  I'm going to try to diagnose when I have some time, but
> may be a few days until that happens.
> 
> Thanks!
> steven
> 
> 
> On Tue, Aug 9, 2011 at 1:31 PM, Dr. Richard Boulanger
>  wrote:
>> Wonderful news!
>> Is there any chance that there would be an Xcode project file that could be
>> shared for the latest and future builds?
>> Rick
>> 
>> 
>> Richard Boulanger, Ph.D.
>> Professor of Electronic Production and Design
>> Music Technology Division
>> Berklee College of Music
>> 1140 Boylston Street
>> Boston, MA 02215
>> 617-747-2485 (office)
>> 774-488-9166 (cell)
>> rboulanger@berklee.edu
>> http://csounds.com/boulanger
>> On Aug 9, 2011, at 11:36 AM, Victor.Lazzarini@nuim.ie wrote:
>> 
>> Oh, well, that's grand then, we can build releases for 10.6 and 10.7
>> 
>> Victor
>> 
>> ----- Original Message -----
>> From: Steven Yi 
>> Date: Tuesday, August 9, 2011 4:30 pm
>> Subject: Re: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
>> To: Developer discussions 
>> 
>>> Hi Victor,
>>> 
>>> I found this test file in my email archive and ran it with a
>>> lecture1.csd file that was something you had emailed
>>> previously.  I
>>> got 4 runs of the CSD with portmidi and I did not get a crash.
>>> Hopefully will be the same on your side!
>>> 
>>> BTW: For testing, I used a Korg Nanokey MIDI Keyboard.
>>> 
>>> Thanks!
>>> steven
>>> 
>>> 
>>> On Tue, Aug 9, 2011 at 7:12 AM, Victor Lazzarini
>>>  wrote:
>>>> Here it goes
>>>> 
>>>> 
>>>> 
>>>> On 8 Aug 2011, at 21:31, Steven Yi wrote:
>>>> 
>>>>> That'd be great.  I searched my email and there was a thread
>>> 2005 (!!)
>>>>> about this issue, apparently affected Linux too at that time.
>>>  I think
>>>>> it had to do with multiple instances running at the same
>>> time. The
>>>>> code for that was in Python.
>>>>> 
>>>>> I think I found some test code you posted in an earlier
>>> thread.  I'll
>>>>> give it a go after I finish up with my work day today and see
>>> if I can
>>>>> reproduce and if so diagnose.
>>>>> 
>>>>> Thanks!
>>>>> steven
>>>>> 
>>>>> On Mon, Aug 8, 2011 at 3:17 PM,
>>>   wrote:
>>>>>> 
>>>>>> That sounds promising, because even creating a new instance
>>> was crashing
>>>>>> Csound. I have a little C test code, which I can send to you
>>> tomorrow, if
>>>>>> you wish.
>>>>>> 
>>>>>> Victor
>>>>>> 
>>>>>> ----- Original Message -----
>>>>>> From: Steven Yi 
>>>>>> Date: Monday, August 8, 2011 7:52 pm
>>>>>> Subject: Re: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
>>>>>> To: Developer discussions 
>>>>>> 
>>>>>>> Ah strange, I just ran blue with PortMIDI and using Csound
>>>>>>> API.  I was
>>>>>>> able to run over and over. I think I'm creating a new
>>> instance of
>>>>>>> Csound per run, but I'll have to double check.  I'll try to
>>>>>>> find that
>>>>>>> email with the C code you gave earlier to try to debug with that.
>>>>>>> 
>>>>>>> On Mon, Aug 8, 2011 at 12:39 PM, Victor Lazzarini
>>>>>>>  wrote:
>>>>>>>> 
>>>>>>>> yes, I had no problems building it on 10.6, but it crashes
>>>>>>> 
>>>>>>> Csound when
>>>>>>>> 
>>>>>>>> we try to load a second instance.
>>>>>>>> 
>>>>>>>> Victor
>>>>>>>> On 8 Aug 2011, at 16:20, Steven Yi wrote:
>>>>>>>> 
>>>>>>>>> Well the build didn't seem to be problematic.  I modified the
>>>>>>>>> CMakeFiles.txt in portmidi to remove ppc as a build
>>>>>>> 
>>>>>>> architecture and
>>>>>>>>> 
>>>>>>>>> just left i386 and x86_64.  I was able to build and install
>>>>>>> 
>>>>>>> portmidi>> and build csound's portmidi lib with that.
>>>>>>>>> 
>>>>>>>>> I wrote down the steps I did for using CMake to build
>>>>>>> 
>>>>>>> portmidi on
>>>>>>>>> 
>>>>>>>>> the wiki:
>>>>>>>>> 
>>>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>> 
>>> https://sourceforge.net/apps/mediawiki/csound/index.php?title=Building_Csound_on_OSX_Lion>>>>>>>>
>>>>>>>>> I'm running into an issue now where the SConstruct I
>>>>>>> 
>>>>>>> installed from
>>>>>>>>> 
>>>>>>>>> ports is running with python 2.6, but the installed version
>>>>>>> 
>>>>>>> on the
>>>>>>>>> 
>>>>>>>>> system is 2.7 (the 2.6 was installed from ports).  This is
>>>>>>> 
>>>>>>> causing a
>>>>>>>>> 
>>>>>>>>> problem with the logic in SConstruct and failing to build the
>>>>>>> 
>>>>>>> python>> opcodes/interface.  I'm going to remove that SCons and
>>>>>>> install>> manually to fix that and will update the wiki
>>> accordingly.>>>>>>
>>>>>>>>> On Mon, Aug 8, 2011 at 10:08 AM, Steven Yi
>>>>>>> 
>>>>>>>  wrote:
>>>>>>>>>> 
>>>>>>>>>> Yes I ran into issues with Portmidi as well on the Lion
>>>>>>> 
>>>>>>> machine.  I'm
>>>>>>>>>> 
>>>>>>>>>> on the 10.6 machine and noticed I was able to install a
>>> universal>>>>>>> build via ports.  The portfile for portmidi
>>>>>>>>>> 
>>>>>>> 
>>>>>>> 
>>> 
>>> (https://trac.macports.org/browser/trunk/dports/audio/portmidi/Portfile>>>>>>>
>>> )
>>>>>>>>>> 
>>>>>>>>>> shows that it uses some patches to build.  The patches
>>> are at:
>>>>>>>>>> 
>>>>>>>>>> https://trac.macports.org/browser/trunk/dports/audio/portmidi
>>>>>>>>>> 
>>>>>>>>>> I'm going to experiment later today to see if those will fix
>>>>>>> 
>>>>>>> allow to
>>>>>>>>>> 
>>>>>>>>>> build universal on Lion.
>>>>>>>>>> 
>>>>>>>>>> steven
>>>>>>>>>> 
>>>>>>>>>> On Mon, Aug 8, 2011 at 9:37 AM, Victor Lazzarini
>>>>>>>>>>  wrote:
>>>>>>>>>>> 
>>>>>>>>>>> OK, it all seems to work fine, I have upgraded to 1.3 and
>>>>>>> 
>>>>>>> re-built
>>>>>>>>>>> 
>>>>>>>>>>> with your SConstruct commits.
>>>>>>>>>>> One less problem moving to x86_64. Now, we'll have to
>>> solve the
>>>>>>>>>>> portmidi problem.
>>>>>>>>>>> 
>>>>>>>>>>> Vicroe
>>>>>>>>>>> 
>>>>>>>>>>> On 7 Aug 2011, at 22:12, Steven Yi wrote:
>>>>>>>>>>> 
>>>>>>>>>>>> Just FYI: I committed the fltk-config change for darwin
>>>>>>> 
>>>>>>> and updated
>>>>>>>>>>>> 
>>>>>>>>>>>> the wiki page with the commands I used to build:
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>> 
>>> https://sourceforge.net/apps/mediawiki/csound/index.php?title=Building_Csound_on_OSX_Lion>>>>>>>>>>>>>>
>>>>>>>>>>>> Thanks!
>>>>>>>>>>>> steven
>>>>>>>>>>>> 
>>>>>>>>>>>> On Sun, Aug 7, 2011 at 4:56 PM, Victor Lazzarini
>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>> 
>>>>>>>>>>>>> Sounds good. I'll have a look at this during the week.
>>>>>>>>>>>>> 
>>>>>>>>>>>>> Victor
>>>>>>>>>>>>> On 7 Aug 2011, at 21:50, Steven Yi wrote:
>>>>>>>>>>>>> 
>>>>>>>>>>>>>> That sounds good to me.  I'm using 1.3.x here on Lion
>>>>>>> 
>>>>>>> and will
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> try
>>>>>>>>>>>>>> to
>>>>>>>>>>>>>> test some more with Iain McCurdy's examples.  I still
>>>>>>> 
>>>>>>> have my
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> work
>>>>>>>>>>>>>> Macbook that has 10.6, and on that machine I think I
>>> was using
>>>>>>>>>>>>>> 1.3.x
>>>>>>>>>>>>>> with MacPorts (must have been as it was a universal
>>>>>>> 
>>>>>>> build there).
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> Just FYI: I'm building all dependencies myself on my
>>>>>>> 
>>>>>>> Lion machine
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> now
>>>>>>>>>>>>>> to match up with your setup.  Should make things
>>> better for
>>>>>>>>>>>>>> keeping in
>>>>>>>>>>>>>> sync I think.
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> I'll work on the fltk-config change now and will
>>> commit that
>>>>>>>>>>>>>> shortly.
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>> steven
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> On Sun, Aug 7, 2011 at 4:02 PM, Victor Lazzarini
>>>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> I think we should possibly migrate to 1.3 on all
>>> OSX new
>>>>>>>>>>>>>>> releases
>>>>>>>>>>>>>>> (10.5-.7),
>>>>>>>>>>>>>>> what do you reckon?
>>>>>>>>>>>>>>> Victor
>>>>>>>>>>>>>>> On 7 Aug 2011, at 19:58, Steven Yi wrote:
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> Ah okay, I will modify and commit when I return
>>> home in
>>>>>>> 
>>>>>>> a few
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> hours, thanks!
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> On Aug 7, 2011 1:55 PM, "Victor Lazzarini"
>>>>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> No reason, particularly. If fltk-config works on OSX,
>>>>>>> 
>>>>>>> we can
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> use
>>>>>>>>>>>>>>>> it.
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> Victor
>>>>>>>>>>>>>>>> On 7 Aug 2011, at 14:50, Steven Yi wrote:
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> Hi All,
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> I just got finished building FLTK on Mac Lion and
>>>>>>> 
>>>>>>> found an
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> issue
>>>>>>>>>>>>>>>>> with
>>>>>>>>>>>>>>>>> SConstruct, but I wasn't sure how to proceed. So for
>>>>>>> 
>>>>>>> OSX Lion,
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> FLTK
>>>>>>>>>>>>>>>>> 1.1.10 does not build universal as it uses
>>> Carbon. However,
>>>>>>>>>>>>>>>>> FLTK
>>>>>>>>>>>>>>>>> 1.3.x does build out of the box a universal
>>>>>>> 
>>>>>>> i386/x86_64 build
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> with
>>>>>>>>>>>>>>>>> Lion as it uses Cocoa.
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> When building with the currently SConstruct, the
>>>>>>> 
>>>>>>> build was
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> failing. I
>>>>>>>>>>>>>>>>> traced it down to:
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> elif getPlatform() == 'darwin':
>>>>>>>>>>>>>>>>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>>>>>>>>>>>>>>>>> 'pthread', 'm'])
>>>>>>>>>>>>>>>>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>>>>>>>>>>>>>>>>> -framework Carbon -framework CoreAudio -framework
>>> CoreMidi>>>>>>>>>>>>>> -framework ApplicationServices
>>>>>>>>>>>>>>>>> '''))
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> This has hardcoded link flags. The build was failing
>>>>>>> 
>>>>>>> as the
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> Cocoa
>>>>>>>>>>>>>>>>> classes were missing. Modifying it to add Cocoa:
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> elif getPlatform() == 'darwin':
>>>>>>>>>>>>>>>>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>>>>>>>>>>>>>>>>> 'pthread', 'm'])
>>>>>>>>>>>>>>>>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>>>>>>>>>>>>>>>>> -framework Carbon -framework CoreAudio -framework
>>> CoreMidi>>>>>>>>>>>>>> -framework ApplicationServices -framework Cocoa
>>>>>>>>>>>>>>>>> '''))
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> Does get the widgets and virtual keyboard to
>>> build. A quick
>>>>>>>>>>>>>>>>> test
>>>>>>>>>>>>>>>>> shows
>>>>>>>>>>>>>>>>> the virtual keyboard works great with 1.3.x.
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> However, in SConstruct I noticed that a few lines up
>>>>>>> 
>>>>>>> we have
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> for
>>>>>>>>>>>>>>>>> linux:
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> widgetsEnvironment.ParseConfig('fltk-config --use-
>>>>>>> 
>>>>>>> images --
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> cflags
>>>>>>>>>>>>>>>>> --cxxflags --ldflags')
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> I'm curious, is there any reason why we are not using
>>>>>>> 
>>>>>>> fltk-
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> config
>>>>>>>>>>>>>>>>> for
>>>>>>>>>>>>>>>>> Mac? At least for FLTK 1.3.x, doing "make
>>> install" installs
>>>>>>>>>>>>>>>>> fltk-config into /usr/local/bin.
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>> steven
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> --------------------------------------------------
>>> ----
>>>>>>> 
>>>>>>> ------------------------
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>>>>>>> 
>>>>>>> Francisco, CA
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> The must-attend event for mobile developers.
>>> Connect with
>>>>>>>>>>>>>>>>> experts.
>>>>>>>>>>>>>>>>> Get tools for creating Super Apps. See the latest
>>>>>>>>>>>>>>>>> technologies.
>>>>>>>>>>>>>>>>> Sessions, hands-on labs, demos & much more. Register
>>>>>>> 
>>>>>>> early &
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> save!
>>>>>>>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>>> 
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>>>>>>>>> Senior Lecturer
>>>>>>>>>>>>>>>> Dept. of Music
>>>>>>>>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> ---------------------------------------------------
>>> ----
>>>>>>> 
>>>>>>> -----------------------
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>>>>>>> 
>>>>>>> Francisco, CA
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> The must-attend event for mobile developers.
>>> Connect with
>>>>>>>>>>>>>>>> experts.
>>>>>>>>>>>>>>>> Get tools for creating Super Apps. See the latest
>>>>>>> 
>>>>>>> technologies.>>>>>>>>> Sessions, hands-on labs, demos & much
>>>>>>> more. Register early &
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> save!
>>>>>>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>> 
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> ----------------------------------------------------
>>> ----
>>>>>>> 
>>>>>>> ----------------------
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>>>>>>> 
>>>>>>> Francisco, CA
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> The must-attend event for mobile developers.
>>> Connect with
>>>>>>>>>>>>>>> experts.
>>>>>>>>>>>>>>> Get tools for creating Super Apps. See the latest
>>>>>>> 
>>>>>>> technologies.>>>>>>>> Sessions, hands-on labs, demos & much
>>>>>>> more. Register early &
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> save!
>>>>>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-
>>>>>>> 
>>>>>>> 1_______________________________________________>>>>>>>>
>>> Csound-
>>>>>>> devel mailing list
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>>>>>>>> Senior Lecturer
>>>>>>>>>>>>>>> Dept. of Music
>>>>>>>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> ----------------------------------------------------
>>> ----
>>>>>>> 
>>>>>>> ----------------------
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>>>>>>> 
>>>>>>> Francisco, CA
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> The must-attend event for mobile developers.
>>> Connect with
>>>>>>>>>>>>>>> experts.
>>>>>>>>>>>>>>> Get tools for creating Super Apps. See the latest
>>>>>>> 
>>>>>>> technologies.>>>>>>>> Sessions, hands-on labs, demos & much
>>>>>>> more. Register early &
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> save!
>>>>>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> -----------------------------------------------------
>>> ----
>>>>>>> 
>>>>>>> ---------------------
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>>>>>>> 
>>>>>>> Francisco, CA
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>>>>>>>>>>> experts.
>>>>>>>>>>>>>> Get tools for creating Super Apps. See the latest
>>>>>>> 
>>>>>>> technologies.>>>>>>> Sessions, hands-on labs, demos & much more.
>>>>>>> Register early &
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> save!
>>>>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>> 
>>>>>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>>>>>> Senior Lecturer
>>>>>>>>>>>>> Dept. of Music
>>>>>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> ------------------------------------------------------
>>> ----
>>>>>>> 
>>>>>>> --------------------
>>>>>>>>>>>>> 
>>>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>>>>>>> 
>>>>>>> Francisco, CA
>>>>>>>>>>>>> 
>>>>>>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>>>> 
>>>>>>> experts.>>>>>> Get tools for creating Super Apps. See the latest
>>>>>>> technologies.>>>>>> Sessions, hands-on labs, demos & much more.
>>>>>>> Register early & save!
>>>>>>>>>>>>> 
>>>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> -------------------------------------------------------
>>> ----
>>>>>>> 
>>>>>>> -------------------
>>>>>>>>>>>> 
>>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>>>>>>> 
>>>>>>> Francisco, CA
>>>>>>>>>>>> 
>>>>>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>>>> 
>>>>>>> experts.>>>>> Get tools for creating Super Apps. See the latest
>>>>>>> technologies.>>>>> Sessions, hands-on labs, demos & much more.
>>>>>>> Register early & save!
>>>>>>>>>>>> 
>>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>> 
>>>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>>>> Senior Lecturer
>>>>>>>>>>> Dept. of Music
>>>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> --------------------------------------------------------
>>> ----
>>>>>>> 
>>>>>>> ------------------
>>>>>>>>>>> 
>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>>>> 
>>>>>>> experts.>>>> Get tools for creating Super Apps. See the latest
>>>>>>> technologies.>>>> Sessions, hands-on labs, demos & much more.
>>>>>>> Register early & save!
>>>>>>>>>>> 
>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> ----------------------------------------------------------
>>> ----
>>>>>>> 
>>>>>>> ----------------
>>>>>>>>> 
>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>>>>> The must-attend event for mobile developers. Connect with
>>> experts.>>>>>> Get tools for creating Super Apps. See the latest
>>> technologies.>>>>>> Sessions, hands-on labs, demos & much more.
>>> Register early & save!
>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>> 
>>>>>>>> Dr Victor Lazzarini
>>>>>>>> Senior Lecturer
>>>>>>>> Dept. of Music
>>>>>>>> NUI Maynooth Ireland
>>>>>>>> tel.: +353 1 708 3545
>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> -----------------------------------------------------------
>>> ----
>>>>>>> 
>>>>>>> ---------------
>>>>>>>> 
>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>>>> The must-attend event for mobile developers. Connect with
>>> experts.>>>>> Get tools for creating Super Apps. See the latest
>>> technologies.>>>>> Sessions, hands-on labs, demos & much more.
>>> Register early & save!
>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>> 
>>>>>>> 
>>>>>>> ------------------------------------------------------------
>>> -----
>>>>>>> -------------
>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>>> The must-attend event for mobile developers. Connect with
>>>>>>> experts.
>>>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>>>> Sessions, hands-on labs, demos & much more. Register early
>>> & save!
>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>> 
>>>>>> Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,
>>>>>> National University of Ireland, Maynooth
>>>>>> 
>>>>>> 
>>>>>> -------------------------------------------------------------
>>> -----------------
>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>> The must-attend event for mobile developers. Connect with experts.
>>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>> 
>>>>>> 
>>>>> 
>>>>> 
>>>>> --------------------------------------------------------------
>>> ----------------
>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>> The must-attend event for mobile developers. Connect with experts.
>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>> 
>>>> Dr Victor Lazzarini
>>>> Senior Lecturer
>>>> Dept. of Music
>>>> NUI Maynooth Ireland
>>>> tel.: +353 1 708 3545
>>>> Victor dot Lazzarini AT nuim dot ie
>>>> 
>>>> 
>>>> 
>>>> 
>>>> ---------------------------------------------------------------
>>> ---------------
>>>> uberSVN's rich system and user administration capabilities and model
>>>> configuration take the hassle out of deploying and managing
>>> Subversion and
>>>> the tools developers use with it. Learn more about uberSVN and
>>> get a free
>>>> download at:  http://p.sf.net/sfu/wandisco-dev2dev
>>>> 
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>> 
>>>> 
>>> 
>>> -----------------------------------------------------------------
>>> -------------
>>> uberSVN's rich system and user administration capabilities and
>>> model
>>> configuration take the hassle out of deploying and managing
>>> Subversion and
>>> the tools developers use with it. Learn more about uberSVN and
>>> get a free
>>> download at:  http://p.sf.net/sfu/wandisco-dev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> 
>> Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,
>> National University of Ireland, Maynooth
>> ------------------------------------------------------------------------------
>> uberSVN's rich system and user administration capabilities and model
>> configuration take the hassle out of deploying and managing Subversion and
>> the tools developers use with it. Learn more about uberSVN and get a free
>> download at:  http://p.sf.net/sfu/wandisco-dev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> 
>> 
>> ------------------------------------------------------------------------------
>> uberSVN's rich system and user administration capabilities and model
>> configuration take the hassle out of deploying and managing Subversion and
>> the tools developers use with it. Learn more about uberSVN and get a free
>> download at:  http://p.sf.net/sfu/wandisco-dev2dev
>> 
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> 
>> 
> 
> ------------------------------------------------------------------------------
> uberSVN's rich system and user administration capabilities and model 
> configuration take the hassle out of deploying and managing Subversion and 
> the tools developers use with it. Learn more about uberSVN and get a free 
> download at:  http://p.sf.net/sfu/wandisco-dev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-08-09 20:51
FromSteven Yi
SubjectRe: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
Thanks Matt!  Just to note, a lot of the work on the CMake files was
done by Felipe as well. On Snow Leopard I was getting Xcode to compile
alright earlier, but I'm not sure exactly what the differences are
that make it not build on my Lion machine.  I think it probably has to
do with the Lion machine not using MacPorts for all the libs. On Lion
though I'm getting tons of errors too. :P  Hopefully will get it
sorted out sooner rather than later!


On Tue, Aug 9, 2011 at 3:01 PM, matt ingalls  wrote:
> YOU ARE AWESOME STEVEN!
>
> xcode project generated.  tons of errors in xcode3 and xcode4, but
> this is big progress, nevertheless!
>
> -m
>
> On Aug 9, 2011, at 10:41 AM, Steven Yi wrote:
>
>> An xcode project can be generated from the CMake project file:
>>
>> 1. clone a copy of csound5 from git
>> 2. make a directory to store the cmake build for xcode (call it
>> cs5xcode), put this directory at the same level as csound5 and not
>> within it
>> 3. cd into the cs5xcode folder, then type:
>>
>> cmake ../csound5 -G "Xcode"
>>
>> This will generate an xcode project.
>>
>> However, one thing to note, I last tested with Xcode 3.2.3 and the
>> project files seemed to be a little strange when I tried on Lion and
>> Xcode 4.1.  I'm going to try to diagnose when I have some time, but
>> may be a few days until that happens.
>>
>> Thanks!
>> steven
>>
>>
>> On Tue, Aug 9, 2011 at 1:31 PM, Dr. Richard Boulanger
>>  wrote:
>>> Wonderful news!
>>> Is there any chance that there would be an Xcode project file that could be
>>> shared for the latest and future builds?
>>> Rick
>>>
>>>
>>> Richard Boulanger, Ph.D.
>>> Professor of Electronic Production and Design
>>> Music Technology Division
>>> Berklee College of Music
>>> 1140 Boylston Street
>>> Boston, MA 02215
>>> 617-747-2485 (office)
>>> 774-488-9166 (cell)
>>> rboulanger@berklee.edu
>>> http://csounds.com/boulanger
>>> On Aug 9, 2011, at 11:36 AM, Victor.Lazzarini@nuim.ie wrote:
>>>
>>> Oh, well, that's grand then, we can build releases for 10.6 and 10.7
>>>
>>> Victor
>>>
>>> ----- Original Message -----
>>> From: Steven Yi 
>>> Date: Tuesday, August 9, 2011 4:30 pm
>>> Subject: Re: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
>>> To: Developer discussions 
>>>
>>>> Hi Victor,
>>>>
>>>> I found this test file in my email archive and ran it with a
>>>> lecture1.csd file that was something you had emailed
>>>> previously.  I
>>>> got 4 runs of the CSD with portmidi and I did not get a crash.
>>>> Hopefully will be the same on your side!
>>>>
>>>> BTW: For testing, I used a Korg Nanokey MIDI Keyboard.
>>>>
>>>> Thanks!
>>>> steven
>>>>
>>>>
>>>> On Tue, Aug 9, 2011 at 7:12 AM, Victor Lazzarini
>>>>  wrote:
>>>>> Here it goes
>>>>>
>>>>>
>>>>>
>>>>> On 8 Aug 2011, at 21:31, Steven Yi wrote:
>>>>>
>>>>>> That'd be great.  I searched my email and there was a thread
>>>> 2005 (!!)
>>>>>> about this issue, apparently affected Linux too at that time.
>>>>  I think
>>>>>> it had to do with multiple instances running at the same
>>>> time. The
>>>>>> code for that was in Python.
>>>>>>
>>>>>> I think I found some test code you posted in an earlier
>>>> thread.  I'll
>>>>>> give it a go after I finish up with my work day today and see
>>>> if I can
>>>>>> reproduce and if so diagnose.
>>>>>>
>>>>>> Thanks!
>>>>>> steven
>>>>>>
>>>>>> On Mon, Aug 8, 2011 at 3:17 PM,
>>>>   wrote:
>>>>>>>
>>>>>>> That sounds promising, because even creating a new instance
>>>> was crashing
>>>>>>> Csound. I have a little C test code, which I can send to you
>>>> tomorrow, if
>>>>>>> you wish.
>>>>>>>
>>>>>>> Victor
>>>>>>>
>>>>>>> ----- Original Message -----
>>>>>>> From: Steven Yi 
>>>>>>> Date: Monday, August 8, 2011 7:52 pm
>>>>>>> Subject: Re: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
>>>>>>> To: Developer discussions 
>>>>>>>
>>>>>>>> Ah strange, I just ran blue with PortMIDI and using Csound
>>>>>>>> API.  I was
>>>>>>>> able to run over and over. I think I'm creating a new
>>>> instance of
>>>>>>>> Csound per run, but I'll have to double check.  I'll try to
>>>>>>>> find that
>>>>>>>> email with the C code you gave earlier to try to debug with that.
>>>>>>>>
>>>>>>>> On Mon, Aug 8, 2011 at 12:39 PM, Victor Lazzarini
>>>>>>>>  wrote:
>>>>>>>>>
>>>>>>>>> yes, I had no problems building it on 10.6, but it crashes
>>>>>>>>
>>>>>>>> Csound when
>>>>>>>>>
>>>>>>>>> we try to load a second instance.
>>>>>>>>>
>>>>>>>>> Victor
>>>>>>>>> On 8 Aug 2011, at 16:20, Steven Yi wrote:
>>>>>>>>>
>>>>>>>>>> Well the build didn't seem to be problematic.  I modified the
>>>>>>>>>> CMakeFiles.txt in portmidi to remove ppc as a build
>>>>>>>>
>>>>>>>> architecture and
>>>>>>>>>>
>>>>>>>>>> just left i386 and x86_64.  I was able to build and install
>>>>>>>>
>>>>>>>> portmidi>> and build csound's portmidi lib with that.
>>>>>>>>>>
>>>>>>>>>> I wrote down the steps I did for using CMake to build
>>>>>>>>
>>>>>>>> portmidi on
>>>>>>>>>>
>>>>>>>>>> the wiki:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>
>>>> https://sourceforge.net/apps/mediawiki/csound/index.php?title=Building_Csound_on_OSX_Lion>>>>>>>>
>>>>>>>>>> I'm running into an issue now where the SConstruct I
>>>>>>>>
>>>>>>>> installed from
>>>>>>>>>>
>>>>>>>>>> ports is running with python 2.6, but the installed version
>>>>>>>>
>>>>>>>> on the
>>>>>>>>>>
>>>>>>>>>> system is 2.7 (the 2.6 was installed from ports).  This is
>>>>>>>>
>>>>>>>> causing a
>>>>>>>>>>
>>>>>>>>>> problem with the logic in SConstruct and failing to build the
>>>>>>>>
>>>>>>>> python>> opcodes/interface.  I'm going to remove that SCons and
>>>>>>>> install>> manually to fix that and will update the wiki
>>>> accordingly.>>>>>>
>>>>>>>>>> On Mon, Aug 8, 2011 at 10:08 AM, Steven Yi
>>>>>>>>
>>>>>>>>  wrote:
>>>>>>>>>>>
>>>>>>>>>>> Yes I ran into issues with Portmidi as well on the Lion
>>>>>>>>
>>>>>>>> machine.  I'm
>>>>>>>>>>>
>>>>>>>>>>> on the 10.6 machine and noticed I was able to install a
>>>> universal>>>>>>> build via ports.  The portfile for portmidi
>>>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>
>>>> (https://trac.macports.org/browser/trunk/dports/audio/portmidi/Portfile>>>>>>>
>>>> )
>>>>>>>>>>>
>>>>>>>>>>> shows that it uses some patches to build.  The patches
>>>> are at:
>>>>>>>>>>>
>>>>>>>>>>> https://trac.macports.org/browser/trunk/dports/audio/portmidi
>>>>>>>>>>>
>>>>>>>>>>> I'm going to experiment later today to see if those will fix
>>>>>>>>
>>>>>>>> allow to
>>>>>>>>>>>
>>>>>>>>>>> build universal on Lion.
>>>>>>>>>>>
>>>>>>>>>>> steven
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Aug 8, 2011 at 9:37 AM, Victor Lazzarini
>>>>>>>>>>>  wrote:
>>>>>>>>>>>>
>>>>>>>>>>>> OK, it all seems to work fine, I have upgraded to 1.3 and
>>>>>>>>
>>>>>>>> re-built
>>>>>>>>>>>>
>>>>>>>>>>>> with your SConstruct commits.
>>>>>>>>>>>> One less problem moving to x86_64. Now, we'll have to
>>>> solve the
>>>>>>>>>>>> portmidi problem.
>>>>>>>>>>>>
>>>>>>>>>>>> Vicroe
>>>>>>>>>>>>
>>>>>>>>>>>> On 7 Aug 2011, at 22:12, Steven Yi wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Just FYI: I committed the fltk-config change for darwin
>>>>>>>>
>>>>>>>> and updated
>>>>>>>>>>>>>
>>>>>>>>>>>>> the wiki page with the commands I used to build:
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>
>>>> https://sourceforge.net/apps/mediawiki/csound/index.php?title=Building_Csound_on_OSX_Lion>>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>> steven
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Sun, Aug 7, 2011 at 4:56 PM, Victor Lazzarini
>>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Sounds good. I'll have a look at this during the week.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Victor
>>>>>>>>>>>>>> On 7 Aug 2011, at 21:50, Steven Yi wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> That sounds good to me.  I'm using 1.3.x here on Lion
>>>>>>>>
>>>>>>>> and will
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> try
>>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>> test some more with Iain McCurdy's examples.  I still
>>>>>>>>
>>>>>>>> have my
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> work
>>>>>>>>>>>>>>> Macbook that has 10.6, and on that machine I think I
>>>> was using
>>>>>>>>>>>>>>> 1.3.x
>>>>>>>>>>>>>>> with MacPorts (must have been as it was a universal
>>>>>>>>
>>>>>>>> build there).
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Just FYI: I'm building all dependencies myself on my
>>>>>>>>
>>>>>>>> Lion machine
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> now
>>>>>>>>>>>>>>> to match up with your setup.  Should make things
>>>> better for
>>>>>>>>>>>>>>> keeping in
>>>>>>>>>>>>>>> sync I think.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I'll work on the fltk-config change now and will
>>>> commit that
>>>>>>>>>>>>>>> shortly.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>> steven
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Sun, Aug 7, 2011 at 4:02 PM, Victor Lazzarini
>>>>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I think we should possibly migrate to 1.3 on all
>>>> OSX new
>>>>>>>>>>>>>>>> releases
>>>>>>>>>>>>>>>> (10.5-.7),
>>>>>>>>>>>>>>>> what do you reckon?
>>>>>>>>>>>>>>>> Victor
>>>>>>>>>>>>>>>> On 7 Aug 2011, at 19:58, Steven Yi wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Ah okay, I will modify and commit when I return
>>>> home in
>>>>>>>>
>>>>>>>> a few
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> hours, thanks!
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Aug 7, 2011 1:55 PM, "Victor Lazzarini"
>>>>>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> No reason, particularly. If fltk-config works on OSX,
>>>>>>>>
>>>>>>>> we can
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> use
>>>>>>>>>>>>>>>>> it.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Victor
>>>>>>>>>>>>>>>>> On 7 Aug 2011, at 14:50, Steven Yi wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Hi All,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I just got finished building FLTK on Mac Lion and
>>>>>>>>
>>>>>>>> found an
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> issue
>>>>>>>>>>>>>>>>>> with
>>>>>>>>>>>>>>>>>> SConstruct, but I wasn't sure how to proceed. So for
>>>>>>>>
>>>>>>>> OSX Lion,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> FLTK
>>>>>>>>>>>>>>>>>> 1.1.10 does not build universal as it uses
>>>> Carbon. However,
>>>>>>>>>>>>>>>>>> FLTK
>>>>>>>>>>>>>>>>>> 1.3.x does build out of the box a universal
>>>>>>>>
>>>>>>>> i386/x86_64 build
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> with
>>>>>>>>>>>>>>>>>> Lion as it uses Cocoa.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> When building with the currently SConstruct, the
>>>>>>>>
>>>>>>>> build was
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> failing. I
>>>>>>>>>>>>>>>>>> traced it down to:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> elif getPlatform() == 'darwin':
>>>>>>>>>>>>>>>>>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>>>>>>>>>>>>>>>>>> 'pthread', 'm'])
>>>>>>>>>>>>>>>>>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>>>>>>>>>>>>>>>>>> -framework Carbon -framework CoreAudio -framework
>>>> CoreMidi>>>>>>>>>>>>>> -framework ApplicationServices
>>>>>>>>>>>>>>>>>> '''))
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> This has hardcoded link flags. The build was failing
>>>>>>>>
>>>>>>>> as the
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Cocoa
>>>>>>>>>>>>>>>>>> classes were missing. Modifying it to add Cocoa:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> elif getPlatform() == 'darwin':
>>>>>>>>>>>>>>>>>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>>>>>>>>>>>>>>>>>> 'pthread', 'm'])
>>>>>>>>>>>>>>>>>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>>>>>>>>>>>>>>>>>> -framework Carbon -framework CoreAudio -framework
>>>> CoreMidi>>>>>>>>>>>>>> -framework ApplicationServices -framework Cocoa
>>>>>>>>>>>>>>>>>> '''))
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Does get the widgets and virtual keyboard to
>>>> build. A quick
>>>>>>>>>>>>>>>>>> test
>>>>>>>>>>>>>>>>>> shows
>>>>>>>>>>>>>>>>>> the virtual keyboard works great with 1.3.x.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> However, in SConstruct I noticed that a few lines up
>>>>>>>>
>>>>>>>> we have
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> for
>>>>>>>>>>>>>>>>>> linux:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> widgetsEnvironment.ParseConfig('fltk-config --use-
>>>>>>>>
>>>>>>>> images --
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> cflags
>>>>>>>>>>>>>>>>>> --cxxflags --ldflags')
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I'm curious, is there any reason why we are not using
>>>>>>>>
>>>>>>>> fltk-
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> config
>>>>>>>>>>>>>>>>>> for
>>>>>>>>>>>>>>>>>> Mac? At least for FLTK 1.3.x, doing "make
>>>> install" installs
>>>>>>>>>>>>>>>>>> fltk-config into /usr/local/bin.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>> steven
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> --------------------------------------------------
>>>> ----
>>>>>>>>
>>>>>>>> ------------------------
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>>>>>>>>
>>>>>>>> Francisco, CA
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> The must-attend event for mobile developers.
>>>> Connect with
>>>>>>>>>>>>>>>>>> experts.
>>>>>>>>>>>>>>>>>> Get tools for creating Super Apps. See the latest
>>>>>>>>>>>>>>>>>> technologies.
>>>>>>>>>>>>>>>>>> Sessions, hands-on labs, demos & much more. Register
>>>>>>>>
>>>>>>>> early &
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> save!
>>>>>>>>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>>>>
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>>>>>>>>>> Senior Lecturer
>>>>>>>>>>>>>>>>> Dept. of Music
>>>>>>>>>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> ---------------------------------------------------
>>>> ----
>>>>>>>>
>>>>>>>> -----------------------
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>>>>>>>>
>>>>>>>> Francisco, CA
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> The must-attend event for mobile developers.
>>>> Connect with
>>>>>>>>>>>>>>>>> experts.
>>>>>>>>>>>>>>>>> Get tools for creating Super Apps. See the latest
>>>>>>>>
>>>>>>>> technologies.>>>>>>>>> Sessions, hands-on labs, demos & much
>>>>>>>> more. Register early &
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> save!
>>>>>>>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>>>
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> ----------------------------------------------------
>>>> ----
>>>>>>>>
>>>>>>>> ----------------------
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>>>>>>>>
>>>>>>>> Francisco, CA
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> The must-attend event for mobile developers.
>>>> Connect with
>>>>>>>>>>>>>>>> experts.
>>>>>>>>>>>>>>>> Get tools for creating Super Apps. See the latest
>>>>>>>>
>>>>>>>> technologies.>>>>>>>> Sessions, hands-on labs, demos & much
>>>>>>>> more. Register early &
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> save!
>>>>>>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-
>>>>>>>>
>>>>>>>> 1_______________________________________________>>>>>>>>
>>>> Csound-
>>>>>>>> devel mailing list
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>>>>>>>>> Senior Lecturer
>>>>>>>>>>>>>>>> Dept. of Music
>>>>>>>>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> ----------------------------------------------------
>>>> ----
>>>>>>>>
>>>>>>>> ----------------------
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>>>>>>>>
>>>>>>>> Francisco, CA
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> The must-attend event for mobile developers.
>>>> Connect with
>>>>>>>>>>>>>>>> experts.
>>>>>>>>>>>>>>>> Get tools for creating Super Apps. See the latest
>>>>>>>>
>>>>>>>> technologies.>>>>>>>> Sessions, hands-on labs, demos & much
>>>>>>>> more. Register early &
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> save!
>>>>>>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> -----------------------------------------------------
>>>> ----
>>>>>>>>
>>>>>>>> ---------------------
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>>>>>>>>
>>>>>>>> Francisco, CA
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>>>>>>>>>>>> experts.
>>>>>>>>>>>>>>> Get tools for creating Super Apps. See the latest
>>>>>>>>
>>>>>>>> technologies.>>>>>>> Sessions, hands-on labs, demos & much more.
>>>>>>>> Register early &
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> save!
>>>>>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>>>>>>> Senior Lecturer
>>>>>>>>>>>>>> Dept. of Music
>>>>>>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> ------------------------------------------------------
>>>> ----
>>>>>>>>
>>>>>>>> --------------------
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>>>>>>>>
>>>>>>>> Francisco, CA
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>>>>>
>>>>>>>> experts.>>>>>> Get tools for creating Super Apps. See the latest
>>>>>>>> technologies.>>>>>> Sessions, hands-on labs, demos & much more.
>>>>>>>> Register early & save!
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> -------------------------------------------------------
>>>> ----
>>>>>>>>
>>>>>>>> -------------------
>>>>>>>>>>>>>
>>>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>>>>>>>>
>>>>>>>> Francisco, CA
>>>>>>>>>>>>>
>>>>>>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>>>>>
>>>>>>>> experts.>>>>> Get tools for creating Super Apps. See the latest
>>>>>>>> technologies.>>>>> Sessions, hands-on labs, demos & much more.
>>>>>>>> Register early & save!
>>>>>>>>>>>>>
>>>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>
>>>>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>>>>> Senior Lecturer
>>>>>>>>>>>> Dept. of Music
>>>>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --------------------------------------------------------
>>>> ----
>>>>>>>>
>>>>>>>> ------------------
>>>>>>>>>>>>
>>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>>>>>
>>>>>>>> experts.>>>> Get tools for creating Super Apps. See the latest
>>>>>>>> technologies.>>>> Sessions, hands-on labs, demos & much more.
>>>>>>>> Register early & save!
>>>>>>>>>>>>
>>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ----------------------------------------------------------
>>>> ----
>>>>>>>>
>>>>>>>> ----------------
>>>>>>>>>>
>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>>>>>> The must-attend event for mobile developers. Connect with
>>>> experts.>>>>>> Get tools for creating Super Apps. See the latest
>>>> technologies.>>>>>> Sessions, hands-on labs, demos & much more.
>>>> Register early & save!
>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>> Senior Lecturer
>>>>>>>>> Dept. of Music
>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> -----------------------------------------------------------
>>>> ----
>>>>>>>>
>>>>>>>> ---------------
>>>>>>>>>
>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>>>>> The must-attend event for mobile developers. Connect with
>>>> experts.>>>>> Get tools for creating Super Apps. See the latest
>>>> technologies.>>>>> Sessions, hands-on labs, demos & much more.
>>>> Register early & save!
>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------
>>>> -----
>>>>>>>> -------------
>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>>>>> experts.
>>>>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>>>>> Sessions, hands-on labs, demos & much more. Register early
>>>> & save!
>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>> Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,
>>>>>>> National University of Ireland, Maynooth
>>>>>>>
>>>>>>>
>>>>>>> -------------------------------------------------------------
>>>> -----------------
>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>>> The must-attend event for mobile developers. Connect with experts.
>>>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --------------------------------------------------------------
>>>> ----------------
>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>> The must-attend event for mobile developers. Connect with experts.
>>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>> Dr Victor Lazzarini
>>>>> Senior Lecturer
>>>>> Dept. of Music
>>>>> NUI Maynooth Ireland
>>>>> tel.: +353 1 708 3545
>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------
>>>> ---------------
>>>>> uberSVN's rich system and user administration capabilities and model
>>>>> configuration take the hassle out of deploying and managing
>>>> Subversion and
>>>>> the tools developers use with it. Learn more about uberSVN and
>>>> get a free
>>>>> download at:  http://p.sf.net/sfu/wandisco-dev2dev
>>>>>
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>>
>>>>
>>>> -----------------------------------------------------------------
>>>> -------------
>>>> uberSVN's rich system and user administration capabilities and
>>>> model
>>>> configuration take the hassle out of deploying and managing
>>>> Subversion and
>>>> the tools developers use with it. Learn more about uberSVN and
>>>> get a free
>>>> download at:  http://p.sf.net/sfu/wandisco-dev2dev
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,
>>> National University of Ireland, Maynooth
>>> ------------------------------------------------------------------------------
>>> uberSVN's rich system and user administration capabilities and model
>>> configuration take the hassle out of deploying and managing Subversion and
>>> the tools developers use with it. Learn more about uberSVN and get a free
>>> download at:  http://p.sf.net/sfu/wandisco-dev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> uberSVN's rich system and user administration capabilities and model
>>> configuration take the hassle out of deploying and managing Subversion and
>>> the tools developers use with it. Learn more about uberSVN and get a free
>>> download at:  http://p.sf.net/sfu/wandisco-dev2dev
>>>
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>
>> ------------------------------------------------------------------------------
>> uberSVN's rich system and user administration capabilities and model
>> configuration take the hassle out of deploying and managing Subversion and
>> the tools developers use with it. Learn more about uberSVN and get a free
>> download at:  http://p.sf.net/sfu/wandisco-dev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> uberSVN's rich system and user administration capabilities and model
> configuration take the hassle out of deploying and managing Subversion and
> the tools developers use with it. Learn more about uberSVN and get a free
> download at:  http://p.sf.net/sfu/wandisco-dev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-08-13 16:37
FromSteven Yi
SubjectRe: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
Hi Matt,

Just a note, I think I fixed up the build problems with XCode.  There
seemed to be a missing folder from the include path (or a new file was
added to a new location that wasn't on the path, one or the other).
Either way, I was able to get XCode building the application now,
though I did have to turn off the interfaces builds as they weren't
quite working within XCode.

If you have a chance, could you update from git and let me know how it goes?

In other news, I found that the static analyzer reported more issues
that what Andres reported the other day.  There were a number of
warning where variables were assigned but never used (somewhat
harmless), but the analyzer found some logic errors and possible NULL
pointer dereferences that could be problematic.

I'm away this weekend visiting family, but when I get back home I will
modify the wiki to add step-by-step instructions for how to use CMake
to generate Xcode projects, then will look at some of the analyzer
warnings.

Thanks!
steven


On Tue, Aug 9, 2011 at 3:51 PM, Steven Yi  wrote:
> Thanks Matt!  Just to note, a lot of the work on the CMake files was
> done by Felipe as well. On Snow Leopard I was getting Xcode to compile
> alright earlier, but I'm not sure exactly what the differences are
> that make it not build on my Lion machine.  I think it probably has to
> do with the Lion machine not using MacPorts for all the libs. On Lion
> though I'm getting tons of errors too. :P  Hopefully will get it
> sorted out sooner rather than later!
>
>
> On Tue, Aug 9, 2011 at 3:01 PM, matt ingalls  wrote:
>> YOU ARE AWESOME STEVEN!
>>
>> xcode project generated.  tons of errors in xcode3 and xcode4, but
>> this is big progress, nevertheless!
>>
>> -m
>>
>> On Aug 9, 2011, at 10:41 AM, Steven Yi wrote:
>>
>>> An xcode project can be generated from the CMake project file:
>>>
>>> 1. clone a copy of csound5 from git
>>> 2. make a directory to store the cmake build for xcode (call it
>>> cs5xcode), put this directory at the same level as csound5 and not
>>> within it
>>> 3. cd into the cs5xcode folder, then type:
>>>
>>> cmake ../csound5 -G "Xcode"
>>>
>>> This will generate an xcode project.
>>>
>>> However, one thing to note, I last tested with Xcode 3.2.3 and the
>>> project files seemed to be a little strange when I tried on Lion and
>>> Xcode 4.1.  I'm going to try to diagnose when I have some time, but
>>> may be a few days until that happens.
>>>
>>> Thanks!
>>> steven
>>>
>>>
>>> On Tue, Aug 9, 2011 at 1:31 PM, Dr. Richard Boulanger
>>>  wrote:
>>>> Wonderful news!
>>>> Is there any chance that there would be an Xcode project file that could be
>>>> shared for the latest and future builds?
>>>> Rick
>>>>
>>>>
>>>> Richard Boulanger, Ph.D.
>>>> Professor of Electronic Production and Design
>>>> Music Technology Division
>>>> Berklee College of Music
>>>> 1140 Boylston Street
>>>> Boston, MA 02215
>>>> 617-747-2485 (office)
>>>> 774-488-9166 (cell)
>>>> rboulanger@berklee.edu
>>>> http://csounds.com/boulanger
>>>> On Aug 9, 2011, at 11:36 AM, Victor.Lazzarini@nuim.ie wrote:
>>>>
>>>> Oh, well, that's grand then, we can build releases for 10.6 and 10.7
>>>>
>>>> Victor
>>>>
>>>> ----- Original Message -----
>>>> From: Steven Yi 
>>>> Date: Tuesday, August 9, 2011 4:30 pm
>>>> Subject: Re: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
>>>> To: Developer discussions 
>>>>
>>>>> Hi Victor,
>>>>>
>>>>> I found this test file in my email archive and ran it with a
>>>>> lecture1.csd file that was something you had emailed
>>>>> previously.  I
>>>>> got 4 runs of the CSD with portmidi and I did not get a crash.
>>>>> Hopefully will be the same on your side!
>>>>>
>>>>> BTW: For testing, I used a Korg Nanokey MIDI Keyboard.
>>>>>
>>>>> Thanks!
>>>>> steven
>>>>>
>>>>>
>>>>> On Tue, Aug 9, 2011 at 7:12 AM, Victor Lazzarini
>>>>>  wrote:
>>>>>> Here it goes
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 8 Aug 2011, at 21:31, Steven Yi wrote:
>>>>>>
>>>>>>> That'd be great.  I searched my email and there was a thread
>>>>> 2005 (!!)
>>>>>>> about this issue, apparently affected Linux too at that time.
>>>>>  I think
>>>>>>> it had to do with multiple instances running at the same
>>>>> time. The
>>>>>>> code for that was in Python.
>>>>>>>
>>>>>>> I think I found some test code you posted in an earlier
>>>>> thread.  I'll
>>>>>>> give it a go after I finish up with my work day today and see
>>>>> if I can
>>>>>>> reproduce and if so diagnose.
>>>>>>>
>>>>>>> Thanks!
>>>>>>> steven
>>>>>>>
>>>>>>> On Mon, Aug 8, 2011 at 3:17 PM,
>>>>>   wrote:
>>>>>>>>
>>>>>>>> That sounds promising, because even creating a new instance
>>>>> was crashing
>>>>>>>> Csound. I have a little C test code, which I can send to you
>>>>> tomorrow, if
>>>>>>>> you wish.
>>>>>>>>
>>>>>>>> Victor
>>>>>>>>
>>>>>>>> ----- Original Message -----
>>>>>>>> From: Steven Yi 
>>>>>>>> Date: Monday, August 8, 2011 7:52 pm
>>>>>>>> Subject: Re: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
>>>>>>>> To: Developer discussions 
>>>>>>>>
>>>>>>>>> Ah strange, I just ran blue with PortMIDI and using Csound
>>>>>>>>> API.  I was
>>>>>>>>> able to run over and over. I think I'm creating a new
>>>>> instance of
>>>>>>>>> Csound per run, but I'll have to double check.  I'll try to
>>>>>>>>> find that
>>>>>>>>> email with the C code you gave earlier to try to debug with that.
>>>>>>>>>
>>>>>>>>> On Mon, Aug 8, 2011 at 12:39 PM, Victor Lazzarini
>>>>>>>>>  wrote:
>>>>>>>>>>
>>>>>>>>>> yes, I had no problems building it on 10.6, but it crashes
>>>>>>>>>
>>>>>>>>> Csound when
>>>>>>>>>>
>>>>>>>>>> we try to load a second instance.
>>>>>>>>>>
>>>>>>>>>> Victor
>>>>>>>>>> On 8 Aug 2011, at 16:20, Steven Yi wrote:
>>>>>>>>>>
>>>>>>>>>>> Well the build didn't seem to be problematic.  I modified the
>>>>>>>>>>> CMakeFiles.txt in portmidi to remove ppc as a build
>>>>>>>>>
>>>>>>>>> architecture and
>>>>>>>>>>>
>>>>>>>>>>> just left i386 and x86_64.  I was able to build and install
>>>>>>>>>
>>>>>>>>> portmidi>> and build csound's portmidi lib with that.
>>>>>>>>>>>
>>>>>>>>>>> I wrote down the steps I did for using CMake to build
>>>>>>>>>
>>>>>>>>> portmidi on
>>>>>>>>>>>
>>>>>>>>>>> the wiki:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>
>>>>> https://sourceforge.net/apps/mediawiki/csound/index.php?title=Building_Csound_on_OSX_Lion>>>>>>>>
>>>>>>>>>>> I'm running into an issue now where the SConstruct I
>>>>>>>>>
>>>>>>>>> installed from
>>>>>>>>>>>
>>>>>>>>>>> ports is running with python 2.6, but the installed version
>>>>>>>>>
>>>>>>>>> on the
>>>>>>>>>>>
>>>>>>>>>>> system is 2.7 (the 2.6 was installed from ports).  This is
>>>>>>>>>
>>>>>>>>> causing a
>>>>>>>>>>>
>>>>>>>>>>> problem with the logic in SConstruct and failing to build the
>>>>>>>>>
>>>>>>>>> python>> opcodes/interface.  I'm going to remove that SCons and
>>>>>>>>> install>> manually to fix that and will update the wiki
>>>>> accordingly.>>>>>>
>>>>>>>>>>> On Mon, Aug 8, 2011 at 10:08 AM, Steven Yi
>>>>>>>>>
>>>>>>>>>  wrote:
>>>>>>>>>>>>
>>>>>>>>>>>> Yes I ran into issues with Portmidi as well on the Lion
>>>>>>>>>
>>>>>>>>> machine.  I'm
>>>>>>>>>>>>
>>>>>>>>>>>> on the 10.6 machine and noticed I was able to install a
>>>>> universal>>>>>>> build via ports.  The portfile for portmidi
>>>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>
>>>>> (https://trac.macports.org/browser/trunk/dports/audio/portmidi/Portfile>>>>>>>
>>>>> )
>>>>>>>>>>>>
>>>>>>>>>>>> shows that it uses some patches to build.  The patches
>>>>> are at:
>>>>>>>>>>>>
>>>>>>>>>>>> https://trac.macports.org/browser/trunk/dports/audio/portmidi
>>>>>>>>>>>>
>>>>>>>>>>>> I'm going to experiment later today to see if those will fix
>>>>>>>>>
>>>>>>>>> allow to
>>>>>>>>>>>>
>>>>>>>>>>>> build universal on Lion.
>>>>>>>>>>>>
>>>>>>>>>>>> steven
>>>>>>>>>>>>
>>>>>>>>>>>> On Mon, Aug 8, 2011 at 9:37 AM, Victor Lazzarini
>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>> OK, it all seems to work fine, I have upgraded to 1.3 and
>>>>>>>>>
>>>>>>>>> re-built
>>>>>>>>>>>>>
>>>>>>>>>>>>> with your SConstruct commits.
>>>>>>>>>>>>> One less problem moving to x86_64. Now, we'll have to
>>>>> solve the
>>>>>>>>>>>>> portmidi problem.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Vicroe
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 7 Aug 2011, at 22:12, Steven Yi wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Just FYI: I committed the fltk-config change for darwin
>>>>>>>>>
>>>>>>>>> and updated
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> the wiki page with the commands I used to build:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>
>>>>> https://sourceforge.net/apps/mediawiki/csound/index.php?title=Building_Csound_on_OSX_Lion>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>> steven
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Sun, Aug 7, 2011 at 4:56 PM, Victor Lazzarini
>>>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Sounds good. I'll have a look at this during the week.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Victor
>>>>>>>>>>>>>>> On 7 Aug 2011, at 21:50, Steven Yi wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> That sounds good to me.  I'm using 1.3.x here on Lion
>>>>>>>>>
>>>>>>>>> and will
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> try
>>>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>>> test some more with Iain McCurdy's examples.  I still
>>>>>>>>>
>>>>>>>>> have my
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> work
>>>>>>>>>>>>>>>> Macbook that has 10.6, and on that machine I think I
>>>>> was using
>>>>>>>>>>>>>>>> 1.3.x
>>>>>>>>>>>>>>>> with MacPorts (must have been as it was a universal
>>>>>>>>>
>>>>>>>>> build there).
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Just FYI: I'm building all dependencies myself on my
>>>>>>>>>
>>>>>>>>> Lion machine
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> now
>>>>>>>>>>>>>>>> to match up with your setup.  Should make things
>>>>> better for
>>>>>>>>>>>>>>>> keeping in
>>>>>>>>>>>>>>>> sync I think.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I'll work on the fltk-config change now and will
>>>>> commit that
>>>>>>>>>>>>>>>> shortly.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>> steven
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Sun, Aug 7, 2011 at 4:02 PM, Victor Lazzarini
>>>>>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I think we should possibly migrate to 1.3 on all
>>>>> OSX new
>>>>>>>>>>>>>>>>> releases
>>>>>>>>>>>>>>>>> (10.5-.7),
>>>>>>>>>>>>>>>>> what do you reckon?
>>>>>>>>>>>>>>>>> Victor
>>>>>>>>>>>>>>>>> On 7 Aug 2011, at 19:58, Steven Yi wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Ah okay, I will modify and commit when I return
>>>>> home in
>>>>>>>>>
>>>>>>>>> a few
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> hours, thanks!
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Aug 7, 2011 1:55 PM, "Victor Lazzarini"
>>>>>>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> No reason, particularly. If fltk-config works on OSX,
>>>>>>>>>
>>>>>>>>> we can
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> use
>>>>>>>>>>>>>>>>>> it.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Victor
>>>>>>>>>>>>>>>>>> On 7 Aug 2011, at 14:50, Steven Yi wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Hi All,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I just got finished building FLTK on Mac Lion and
>>>>>>>>>
>>>>>>>>> found an
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> issue
>>>>>>>>>>>>>>>>>>> with
>>>>>>>>>>>>>>>>>>> SConstruct, but I wasn't sure how to proceed. So for
>>>>>>>>>
>>>>>>>>> OSX Lion,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> FLTK
>>>>>>>>>>>>>>>>>>> 1.1.10 does not build universal as it uses
>>>>> Carbon. However,
>>>>>>>>>>>>>>>>>>> FLTK
>>>>>>>>>>>>>>>>>>> 1.3.x does build out of the box a universal
>>>>>>>>>
>>>>>>>>> i386/x86_64 build
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> with
>>>>>>>>>>>>>>>>>>> Lion as it uses Cocoa.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> When building with the currently SConstruct, the
>>>>>>>>>
>>>>>>>>> build was
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> failing. I
>>>>>>>>>>>>>>>>>>> traced it down to:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> elif getPlatform() == 'darwin':
>>>>>>>>>>>>>>>>>>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>>>>>>>>>>>>>>>>>>> 'pthread', 'm'])
>>>>>>>>>>>>>>>>>>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>>>>>>>>>>>>>>>>>>> -framework Carbon -framework CoreAudio -framework
>>>>> CoreMidi>>>>>>>>>>>>>> -framework ApplicationServices
>>>>>>>>>>>>>>>>>>> '''))
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> This has hardcoded link flags. The build was failing
>>>>>>>>>
>>>>>>>>> as the
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Cocoa
>>>>>>>>>>>>>>>>>>> classes were missing. Modifying it to add Cocoa:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> elif getPlatform() == 'darwin':
>>>>>>>>>>>>>>>>>>> widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
>>>>>>>>>>>>>>>>>>> 'pthread', 'm'])
>>>>>>>>>>>>>>>>>>> widgetsEnvironment.Append(LINKFLAGS = Split('''
>>>>>>>>>>>>>>>>>>> -framework Carbon -framework CoreAudio -framework
>>>>> CoreMidi>>>>>>>>>>>>>> -framework ApplicationServices -framework Cocoa
>>>>>>>>>>>>>>>>>>> '''))
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Does get the widgets and virtual keyboard to
>>>>> build. A quick
>>>>>>>>>>>>>>>>>>> test
>>>>>>>>>>>>>>>>>>> shows
>>>>>>>>>>>>>>>>>>> the virtual keyboard works great with 1.3.x.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> However, in SConstruct I noticed that a few lines up
>>>>>>>>>
>>>>>>>>> we have
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> for
>>>>>>>>>>>>>>>>>>> linux:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> widgetsEnvironment.ParseConfig('fltk-config --use-
>>>>>>>>>
>>>>>>>>> images --
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> cflags
>>>>>>>>>>>>>>>>>>> --cxxflags --ldflags')
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I'm curious, is there any reason why we are not using
>>>>>>>>>
>>>>>>>>> fltk-
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> config
>>>>>>>>>>>>>>>>>>> for
>>>>>>>>>>>>>>>>>>> Mac? At least for FLTK 1.3.x, doing "make
>>>>> install" installs
>>>>>>>>>>>>>>>>>>> fltk-config into /usr/local/bin.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>>> steven
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> --------------------------------------------------
>>>>> ----
>>>>>>>>>
>>>>>>>>> ------------------------
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>>>>>>>>>
>>>>>>>>> Francisco, CA
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> The must-attend event for mobile developers.
>>>>> Connect with
>>>>>>>>>>>>>>>>>>> experts.
>>>>>>>>>>>>>>>>>>> Get tools for creating Super Apps. See the latest
>>>>>>>>>>>>>>>>>>> technologies.
>>>>>>>>>>>>>>>>>>> Sessions, hands-on labs, demos & much more. Register
>>>>>>>>>
>>>>>>>>> early &
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> save!
>>>>>>>>>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>>>>>
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>>>>>>>>>>> Senior Lecturer
>>>>>>>>>>>>>>>>>> Dept. of Music
>>>>>>>>>>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>>>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> ---------------------------------------------------
>>>>> ----
>>>>>>>>>
>>>>>>>>> -----------------------
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>>>>>>>>>
>>>>>>>>> Francisco, CA
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> The must-attend event for mobile developers.
>>>>> Connect with
>>>>>>>>>>>>>>>>>> experts.
>>>>>>>>>>>>>>>>>> Get tools for creating Super Apps. See the latest
>>>>>>>>>
>>>>>>>>> technologies.>>>>>>>>> Sessions, hands-on labs, demos & much
>>>>>>>>> more. Register early &
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> save!
>>>>>>>>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>>>>
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> ----------------------------------------------------
>>>>> ----
>>>>>>>>>
>>>>>>>>> ----------------------
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>>>>>>>>>
>>>>>>>>> Francisco, CA
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> The must-attend event for mobile developers.
>>>>> Connect with
>>>>>>>>>>>>>>>>> experts.
>>>>>>>>>>>>>>>>> Get tools for creating Super Apps. See the latest
>>>>>>>>>
>>>>>>>>> technologies.>>>>>>>> Sessions, hands-on labs, demos & much
>>>>>>>>> more. Register early &
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> save!
>>>>>>>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-
>>>>>>>>>
>>>>>>>>> 1_______________________________________________>>>>>>>>
>>>>> Csound-
>>>>>>>>> devel mailing list
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>>>>>>>>>> Senior Lecturer
>>>>>>>>>>>>>>>>> Dept. of Music
>>>>>>>>>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> ----------------------------------------------------
>>>>> ----
>>>>>>>>>
>>>>>>>>> ----------------------
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>>>>>>>>>
>>>>>>>>> Francisco, CA
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> The must-attend event for mobile developers.
>>>>> Connect with
>>>>>>>>>>>>>>>>> experts.
>>>>>>>>>>>>>>>>> Get tools for creating Super Apps. See the latest
>>>>>>>>>
>>>>>>>>> technologies.>>>>>>>> Sessions, hands-on labs, demos & much
>>>>>>>>> more. Register early &
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> save!
>>>>>>>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> -----------------------------------------------------
>>>>> ----
>>>>>>>>>
>>>>>>>>> ---------------------
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>>>>>>>>>
>>>>>>>>> Francisco, CA
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>>>>>>>>>>>>> experts.
>>>>>>>>>>>>>>>> Get tools for creating Super Apps. See the latest
>>>>>>>>>
>>>>>>>>> technologies.>>>>>>> Sessions, hands-on labs, demos & much more.
>>>>>>>>> Register early &
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> save!
>>>>>>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>>>>>>>> Senior Lecturer
>>>>>>>>>>>>>>> Dept. of Music
>>>>>>>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> ------------------------------------------------------
>>>>> ----
>>>>>>>>>
>>>>>>>>> --------------------
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>>>>>>>>>
>>>>>>>>> Francisco, CA
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>>>>>>
>>>>>>>>> experts.>>>>>> Get tools for creating Super Apps. See the latest
>>>>>>>>> technologies.>>>>>> Sessions, hands-on labs, demos & much more.
>>>>>>>>> Register early & save!
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> -------------------------------------------------------
>>>>> ----
>>>>>>>>>
>>>>>>>>> -------------------
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San
>>>>>>>>>
>>>>>>>>> Francisco, CA
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>>>>>>
>>>>>>>>> experts.>>>>> Get tools for creating Super Apps. See the latest
>>>>>>>>> technologies.>>>>> Sessions, hands-on labs, demos & much more.
>>>>>>>>> Register early & save!
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>
>>>>>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>>>>>> Senior Lecturer
>>>>>>>>>>>>> Dept. of Music
>>>>>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --------------------------------------------------------
>>>>> ----
>>>>>>>>>
>>>>>>>>> ------------------
>>>>>>>>>>>>>
>>>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>>>>>>
>>>>>>>>> experts.>>>> Get tools for creating Super Apps. See the latest
>>>>>>>>> technologies.>>>> Sessions, hands-on labs, demos & much more.
>>>>>>>>> Register early & save!
>>>>>>>>>>>>>
>>>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ----------------------------------------------------------
>>>>> ----
>>>>>>>>>
>>>>>>>>> ----------------
>>>>>>>>>>>
>>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>> experts.>>>>>> Get tools for creating Super Apps. See the latest
>>>>> technologies.>>>>>> Sessions, hands-on labs, demos & much more.
>>>>> Register early & save!
>>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>>> Senior Lecturer
>>>>>>>>>> Dept. of Music
>>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> -----------------------------------------------------------
>>>>> ----
>>>>>>>>>
>>>>>>>>> ---------------
>>>>>>>>>>
>>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>> experts.>>>>> Get tools for creating Super Apps. See the latest
>>>>> technologies.>>>>> Sessions, hands-on labs, demos & much more.
>>>>> Register early & save!
>>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------
>>>>> -----
>>>>>>>>> -------------
>>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>>>>> The must-attend event for mobile developers. Connect with
>>>>>>>>> experts.
>>>>>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>>>>>> Sessions, hands-on labs, demos & much more. Register early
>>>>> & save!
>>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>> Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,
>>>>>>>> National University of Ireland, Maynooth
>>>>>>>>
>>>>>>>>
>>>>>>>> -------------------------------------------------------------
>>>>> -----------------
>>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>>>> The must-attend event for mobile developers. Connect with experts.
>>>>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>>>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --------------------------------------------------------------
>>>>> ----------------
>>>>>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>>>>>> The must-attend event for mobile developers. Connect with experts.
>>>>>>> Get tools for creating Super Apps. See the latest technologies.
>>>>>>> Sessions, hands-on labs, demos & much more. Register early & save!
>>>>>>> http://p.sf.net/sfu/rim-blackberry-1
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>> Dr Victor Lazzarini
>>>>>> Senior Lecturer
>>>>>> Dept. of Music
>>>>>> NUI Maynooth Ireland
>>>>>> tel.: +353 1 708 3545
>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------
>>>>> ---------------
>>>>>> uberSVN's rich system and user administration capabilities and model
>>>>>> configuration take the hassle out of deploying and managing
>>>>> Subversion and
>>>>>> the tools developers use with it. Learn more about uberSVN and
>>>>> get a free
>>>>>> download at:  http://p.sf.net/sfu/wandisco-dev2dev
>>>>>>
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>>
>>>>>
>>>>> -----------------------------------------------------------------
>>>>> -------------
>>>>> uberSVN's rich system and user administration capabilities and
>>>>> model
>>>>> configuration take the hassle out of deploying and managing
>>>>> Subversion and
>>>>> the tools developers use with it. Learn more about uberSVN and
>>>>> get a free
>>>>> download at:  http://p.sf.net/sfu/wandisco-dev2dev
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>> Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,
>>>> National University of Ireland, Maynooth
>>>> ------------------------------------------------------------------------------
>>>> uberSVN's rich system and user administration capabilities and model
>>>> configuration take the hassle out of deploying and managing Subversion and
>>>> the tools developers use with it. Learn more about uberSVN and get a free
>>>> download at:  http://p.sf.net/sfu/wandisco-dev2dev
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> uberSVN's rich system and user administration capabilities and model
>>>> configuration take the hassle out of deploying and managing Subversion and
>>>> the tools developers use with it. Learn more about uberSVN and get a free
>>>> download at:  http://p.sf.net/sfu/wandisco-dev2dev
>>>>
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> uberSVN's rich system and user administration capabilities and model
>>> configuration take the hassle out of deploying and managing Subversion and
>>> the tools developers use with it. Learn more about uberSVN and get a free
>>> download at:  http://p.sf.net/sfu/wandisco-dev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ------------------------------------------------------------------------------
>> uberSVN's rich system and user administration capabilities and model
>> configuration take the hassle out of deploying and managing Subversion and
>> the tools developers use with it. Learn more about uberSVN and get a free
>> download at:  http://p.sf.net/sfu/wandisco-dev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>

------------------------------------------------------------------------------
FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
Subversion made easy with a complete admin console. Easy 
to use, easy to manage, easy to install, easy to extend. 
Get a Free download of the new open ALM Subversion platform now.
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-08-13 17:19
From"Dr. Richard Boulanger"
SubjectRe: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
AttachmentsNone  None  
this is all such exciting news.  i am so happy that you are working on this and can't wait
to have an Xcode project that builds Csound5 from git... with instructions.  It will be awesome!

Good luck

-dB


Richard Boulanger, Ph.D.
Professor of Electronic Production and Design
Music Technology Division
Berklee College of Music
1140 Boylston Street
Boston, MA 02215
617-747-2485 (office)
774-488-9166 (cell)
rboulanger@berklee.edu
http://csounds.com/boulanger

On Aug 13, 2011, at 11:37 AM, Steven Yi wrote:

Hi Matt,

Just a note, I think I fixed up the build problems with XCode.  There
seemed to be a missing folder from the include path (or a new file was
added to a new location that wasn't on the path, one or the other).
Either way, I was able to get XCode building the application now,
though I did have to turn off the interfaces builds as they weren't
quite working within XCode.

If you have a chance, could you update from git and let me know how it goes?

In other news, I found that the static analyzer reported more issues
that what Andres reported the other day.  There were a number of
warning where variables were assigned but never used (somewhat
harmless), but the analyzer found some logic errors and possible NULL
pointer dereferences that could be problematic.

I'm away this weekend visiting family, but when I get back home I will
modify the wiki to add step-by-step instructions for how to use CMake
to generate Xcode projects, then will look at some of the analyzer
warnings.

Thanks!
steven


On Tue, Aug 9, 2011 at 3:51 PM, Steven Yi <stevenyi@gmail.com> wrote:
Thanks Matt!  Just to note, a lot of the work on the CMake files was
done by Felipe as well. On Snow Leopard I was getting Xcode to compile
alright earlier, but I'm not sure exactly what the differences are
that make it not build on my Lion machine.  I think it probably has to
do with the Lion machine not using MacPorts for all the libs. On Lion
though I'm getting tons of errors too. :P  Hopefully will get it
sorted out sooner rather than later!


On Tue, Aug 9, 2011 at 3:01 PM, matt ingalls <matt@sonomatics.com> wrote:
YOU ARE AWESOME STEVEN!

xcode project generated.  tons of errors in xcode3 and xcode4, but
this is big progress, nevertheless!

-m

On Aug 9, 2011, at 10:41 AM, Steven Yi wrote:

An xcode project can be generated from the CMake project file:

1. clone a copy of csound5 from git
2. make a directory to store the cmake build for xcode (call it
cs5xcode), put this directory at the same level as csound5 and not
within it
3. cd into the cs5xcode folder, then type:

cmake ../csound5 -G "Xcode"

This will generate an xcode project.

However, one thing to note, I last tested with Xcode 3.2.3 and the
project files seemed to be a little strange when I tried on Lion and
Xcode 4.1.  I'm going to try to diagnose when I have some time, but
may be a few days until that happens.

Thanks!
steven


On Tue, Aug 9, 2011 at 1:31 PM, Dr. Richard Boulanger
<rboulanger@berklee.edu> wrote:
Wonderful news!
Is there any chance that there would be an Xcode project file that could be
shared for the latest and future builds?
Rick


Richard Boulanger, Ph.D.
Professor of Electronic Production and Design
Music Technology Division
Berklee College of Music
1140 Boylston Street
Boston, MA 02215
617-747-2485 (office)
774-488-9166 (cell)
rboulanger@berklee.edu
http://csounds.com/boulanger
On Aug 9, 2011, at 11:36 AM, Victor.Lazzarini@nuim.ie wrote:

Oh, well, that's grand then, we can build releases for 10.6 and 10.7

Victor

----- Original Message -----
From: Steven Yi <stevenyi@gmail.com>
Date: Tuesday, August 9, 2011 4:30 pm
Subject: Re: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
To: Developer discussions <csound-devel@lists.sourceforge.net>

Hi Victor,

I found this test file in my email archive and ran it with a
lecture1.csd file that was something you had emailed
previously.  I
got 4 runs of the CSD with portmidi and I did not get a crash.
Hopefully will be the same on your side!

BTW: For testing, I used a Korg Nanokey MIDI Keyboard.

Thanks!
steven


On Tue, Aug 9, 2011 at 7:12 AM, Victor Lazzarini
<Victor.Lazzarini@nuim.ie> wrote:
Here it goes



On 8 Aug 2011, at 21:31, Steven Yi wrote:

That'd be great.  I searched my email and there was a thread
2005 (!!)
about this issue, apparently affected Linux too at that time.
 I think
it had to do with multiple instances running at the same
time. The
code for that was in Python.

I think I found some test code you posted in an earlier
thread.  I'll
give it a go after I finish up with my work day today and see
if I can
reproduce and if so diagnose.

Thanks!
steven

On Mon, Aug 8, 2011 at 3:17 PM,
 <Victor.Lazzarini@nuim.ie> wrote:

That sounds promising, because even creating a new instance
was crashing
Csound. I have a little C test code, which I can send to you
tomorrow, if
you wish.

Victor

----- Original Message -----
From: Steven Yi <stevenyi@gmail.com>
Date: Monday, August 8, 2011 7:52 pm
Subject: Re: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
To: Developer discussions <csound-devel@lists.sourceforge.net>

Ah strange, I just ran blue with PortMIDI and using Csound
API.  I was
able to run over and over. I think I'm creating a new
instance of
Csound per run, but I'll have to double check.  I'll try to
find that
email with the C code you gave earlier to try to debug with that.

On Mon, Aug 8, 2011 at 12:39 PM, Victor Lazzarini
<Victor.Lazzarini@nuim.ie> wrote:

yes, I had no problems building it on 10.6, but it crashes

Csound when

we try to load a second instance.

Victor
On 8 Aug 2011, at 16:20, Steven Yi wrote:

Well the build didn't seem to be problematic.  I modified the
CMakeFiles.txt in portmidi to remove ppc as a build

architecture and

just left i386 and x86_64.  I was able to build and install

portmidi>> and build csound's portmidi lib with that.

I wrote down the steps I did for using CMake to build

portmidi on

the wiki:






https://sourceforge.net/apps/mediawiki/csound/index.php?title=Building_Csound_on_OSX_Lion>>>>>>>>
I'm running into an issue now where the SConstruct I

installed from

ports is running with python 2.6, but the installed version

on the

system is 2.7 (the 2.6 was installed from ports).  This is

causing a

problem with the logic in SConstruct and failing to build the

python>> opcodes/interface.  I'm going to remove that SCons and
install>> manually to fix that and will update the wiki
accordingly.>>>>>>
On Mon, Aug 8, 2011 at 10:08 AM, Steven Yi

<stevenyi@gmail.com> wrote:

Yes I ran into issues with Portmidi as well on the Lion

machine.  I'm

on the 10.6 machine and noticed I was able to install a
universal>>>>>>> build via ports.  The portfile for portmidi




(https://trac.macports.org/browser/trunk/dports/audio/portmidi/Portfile>>>>>>>
)

shows that it uses some patches to build.  The patches
are at:

https://trac.macports.org/browser/trunk/dports/audio/portmidi

I'm going to experiment later today to see if those will fix

allow to

build universal on Lion.

steven

On Mon, Aug 8, 2011 at 9:37 AM, Victor Lazzarini
<Victor.Lazzarini@nuim.ie> wrote:

OK, it all seems to work fine, I have upgraded to 1.3 and

re-built

with your SConstruct commits.
One less problem moving to x86_64. Now, we'll have to
solve the
portmidi problem.

Vicroe

On 7 Aug 2011, at 22:12, Steven Yi wrote:

Just FYI: I committed the fltk-config change for darwin

and updated

the wiki page with the commands I used to build:






https://sourceforge.net/apps/mediawiki/csound/index.php?title=Building_Csound_on_OSX_Lion>>>>>>>>>>>>>>
Thanks!
steven

On Sun, Aug 7, 2011 at 4:56 PM, Victor Lazzarini
<Victor.Lazzarini@nuim.ie> wrote:

Sounds good. I'll have a look at this during the week.

Victor
On 7 Aug 2011, at 21:50, Steven Yi wrote:

That sounds good to me.  I'm using 1.3.x here on Lion

and will

try
to
test some more with Iain McCurdy's examples.  I still

have my

work
Macbook that has 10.6, and on that machine I think I
was using
1.3.x
with MacPorts (must have been as it was a universal

build there).

Just FYI: I'm building all dependencies myself on my

Lion machine

now
to match up with your setup.  Should make things
better for
keeping in
sync I think.

I'll work on the fltk-config change now and will
commit that
shortly.

Thanks!
steven

On Sun, Aug 7, 2011 at 4:02 PM, Victor Lazzarini
<Victor.Lazzarini@nuim.ie> wrote:

I think we should possibly migrate to 1.3 on all
OSX new
releases
(10.5-.7),
what do you reckon?
Victor
On 7 Aug 2011, at 19:58, Steven Yi wrote:

Ah okay, I will modify and commit when I return
home in

a few

hours, thanks!

On Aug 7, 2011 1:55 PM, "Victor Lazzarini"
<Victor.Lazzarini@nuim.ie> wrote:

No reason, particularly. If fltk-config works on OSX,

we can

use
it.

Victor
On 7 Aug 2011, at 14:50, Steven Yi wrote:

Hi All,

I just got finished building FLTK on Mac Lion and

found an

issue
with
SConstruct, but I wasn't sure how to proceed. So for

OSX Lion,

FLTK
1.1.10 does not build universal as it uses
Carbon. However,
FLTK
1.3.x does build out of the box a universal

i386/x86_64 build

with
Lion as it uses Cocoa.

When building with the currently SConstruct, the

build was

failing. I
traced it down to:


elif getPlatform() == 'darwin':
widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
'pthread', 'm'])
widgetsEnvironment.Append(LINKFLAGS = Split('''
-framework Carbon -framework CoreAudio -framework
CoreMidi>>>>>>>>>>>>>> -framework ApplicationServices
'''))

This has hardcoded link flags. The build was failing

as the

Cocoa
classes were missing. Modifying it to add Cocoa:


elif getPlatform() == 'darwin':
widgetsEnvironment.Append(LIBS = ['fltk', 'stdc++',
'pthread', 'm'])
widgetsEnvironment.Append(LINKFLAGS = Split('''
-framework Carbon -framework CoreAudio -framework
CoreMidi>>>>>>>>>>>>>> -framework ApplicationServices -framework Cocoa
'''))

Does get the widgets and virtual keyboard to
build. A quick
test
shows
the virtual keyboard works great with 1.3.x.

However, in SConstruct I noticed that a few lines up

we have

for
linux:

widgetsEnvironment.ParseConfig('fltk-config --use-

images --

cflags
--cxxflags --ldflags')

I'm curious, is there any reason why we are not using

fltk-

config
for
Mac? At least for FLTK 1.3.x, doing "make
install" installs
fltk-config into /usr/local/bin.

Thanks,
steven


--------------------------------------------------
----

------------------------

BlackBerry® DevCon Americas, Oct. 18-20, San

Francisco, CA

The must-attend event for mobile developers.
Connect with
experts.
Get tools for creating Super Apps. See the latest
technologies.
Sessions, hands-on labs, demos & much more. Register

early &

save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





---------------------------------------------------
----

-----------------------

BlackBerry® DevCon Americas, Oct. 18-20, San

Francisco, CA

The must-attend event for mobile developers.
Connect with
experts.
Get tools for creating Super Apps. See the latest

technologies.>>>>>>>>> Sessions, hands-on labs, demos & much
more. Register early &

save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/csound-devel

----------------------------------------------------
----

----------------------

BlackBerry® DevCon Americas, Oct. 18-20, San

Francisco, CA

The must-attend event for mobile developers.
Connect with
experts.
Get tools for creating Super Apps. See the latest

technologies.>>>>>>>> Sessions, hands-on labs, demos & much
more. Register early &

save!
http://p.sf.net/sfu/rim-blackberry-

1_______________________________________________>>>>>>>>
Csound-
devel mailing list

Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie



----------------------------------------------------
----

----------------------

BlackBerry® DevCon Americas, Oct. 18-20, San

Francisco, CA

The must-attend event for mobile developers.
Connect with
experts.
Get tools for creating Super Apps. See the latest

technologies.>>>>>>>> Sessions, hands-on labs, demos & much
more. Register early &

save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



-----------------------------------------------------
----

---------------------

BlackBerry® DevCon Americas, Oct. 18-20, San

Francisco, CA

The must-attend event for mobile developers. Connect with
experts.
Get tools for creating Super Apps. See the latest

technologies.>>>>>>> Sessions, hands-on labs, demos & much more.
Register early &

save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------
----

--------------------

BlackBerry® DevCon Americas, Oct. 18-20, San

Francisco, CA

The must-attend event for mobile developers. Connect with

experts.>>>>>> Get tools for creating Super Apps. See the latest
technologies.>>>>>> Sessions, hands-on labs, demos & much more.
Register early & save!

http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


-------------------------------------------------------
----

-------------------

BlackBerry® DevCon Americas, Oct. 18-20, San

Francisco, CA

The must-attend event for mobile developers. Connect with

experts.>>>>> Get tools for creating Super Apps. See the latest
technologies.>>>>> Sessions, hands-on labs, demos & much more.
Register early & save!

http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




--------------------------------------------------------
----

------------------

BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with

experts.>>>> Get tools for creating Super Apps. See the latest
technologies.>>>> Sessions, hands-on labs, demos & much more.
Register early & save!

http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



----------------------------------------------------------
----

----------------

BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with
experts.>>>>>> Get tools for creating Super Apps. See the latest
technologies.>>>>>> Sessions, hands-on labs, demos & much more.
Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




-----------------------------------------------------------
----

---------------

BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with
experts.>>>>> Get tools for creating Super Apps. See the latest
technologies.>>>>> Sessions, hands-on labs, demos & much more.
Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------
-----
-------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with
experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early
& save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,
National University of Ireland, Maynooth


-------------------------------------------------------------
-----------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




--------------------------------------------------------------
----------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




---------------------------------------------------------------
---------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing
Subversion and
the tools developers use with it. Learn more about uberSVN and
get a free
download at:  http://p.sf.net/sfu/wandisco-dev2dev

_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



-----------------------------------------------------------------
-------------
uberSVN's rich system and user administration capabilities and
model
configuration take the hassle out of deploying and managing
Subversion and
the tools developers use with it. Learn more about uberSVN and
get a free
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,
National University of Ireland, Maynooth
------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at:  http://p.sf.net/sfu/wandisco-dev2dev

_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



------------------------------------------------------------------------------
FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
Subversion made easy with a complete admin console. Easy
to use, easy to manage, easy to install, easy to extend.
Get a Free download of the new open ALM Subversion platform now.
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2011-08-14 08:10
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
> OK, it all seems to work fine, I have upgraded to 1.3 and re-built
> with your SConstruct commits.

Is there any difference with fltk 1.3?  I ask as Both my Linux
disributions package 1.1
==John ff


------------------------------------------------------------------------------
FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
Subversion made easy with a complete admin console. Easy 
to use, easy to manage, easy to install, easy to extend. 
Get a Free download of the new open ALM Subversion platform now.
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-08-14 09:57
FromVictor Lazzarini
SubjectRe: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
1.3 appears to be the current stable release.

Victor
On 14 Aug 2011, at 08:10, jpff@cs.bath.ac.uk wrote:

>> OK, it all seems to work fine, I have upgraded to 1.3 and re-built
>> with your SConstruct commits.
>
> Is there any difference with fltk 1.3?  I ask as Both my Linux
> disributions package 1.1
> ==John ff
>
>
> ------------------------------------------------------------------------------
> FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
> Subversion made easy with a complete admin console. Easy
> to use, easy to manage, easy to install, easy to extend.
> Get a Free download of the new open ALM Subversion platform now.
> http://p.sf.net/sfu/wandisco-dev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
Subversion made easy with a complete admin console. Easy 
to use, easy to manage, easy to install, easy to extend. 
Get a Free download of the new open ALM Subversion platform now.
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-08-14 10:09
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
> 1.3 appears to be the current stable release.
>


Yes, but it is not the one distributed with Debian nor OpenSuSE.  Wonder
about Ubuntu?



------------------------------------------------------------------------------
FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
Subversion made easy with a complete admin console. Easy 
to use, easy to manage, easy to install, easy to extend. 
Get a Free download of the new open ALM Subversion platform now.
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-08-14 10:17
FromAndres Cabrera
SubjectRe: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
Hi,

It is there on testing and unstable, it's just not on stable which
tends to have really old versions.

Cheers,
Andres

On Sun, Aug 14, 2011 at 10:09 AM,   wrote:
>> 1.3 appears to be the current stable release.
>>
>
>
> Yes, but it is not the one distributed with Debian nor OpenSuSE.  Wonder
> about Ubuntu?
>
>
>
> ------------------------------------------------------------------------------
> FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
> Subversion made easy with a complete admin console. Easy
> to use, easy to manage, easy to install, easy to extend.
> Get a Free download of the new open ALM Subversion platform now.
> http://p.sf.net/sfu/wandisco-dev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
Subversion made easy with a complete admin console. Easy 
to use, easy to manage, easy to install, easy to extend. 
Get a Free download of the new open ALM Subversion platform now.
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sour

Date2011-08-14 10:25
FromVictor Lazzarini
SubjectRe: [Cs-dev] OSX: Lion, FLTK 1.3 and Cocoa
On www.fltk.org, 1.3.0 is said to be "stable release" at the top of  
the page, on "quick info".

Victor
On 14 Aug 2011, at 10:17, Andres Cabrera wrote:

> Hi,
>
> It is there on testing and unstable, it's just not on stable which
> tends to have really old versions.
>
> Cheers,
> Andres
>
> On Sun, Aug 14, 2011 at 10:09 AM,   wrote:
>>> 1.3 appears to be the current stable release.
>>>
>>
>>
>> Yes, but it is not the one distributed with Debian nor OpenSuSE.   
>> Wonder
>> about Ubuntu?
>>
>>
>>
>> ------------------------------------------------------------------------------
>> FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
>> Subversion made easy with a complete admin console. Easy
>> to use, easy to manage, easy to install, easy to extend.
>> Get a Free download of the new open ALM Subversion platform now.
>> http://p.sf.net/sfu/wandisco-dev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
> Subversion made easy with a complete admin console. Easy
> to use, easy to manage, easy to install, easy to extend.
> Get a Free download of the new open ALM Subversion platform now.
> http://p.sf.net/sfu/wandisco-dev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
Subversion made easy with a complete admin console. Easy 
to use, easy to manage, easy to install, easy to extend. 
Get a Free download of the new open ALM Subversion platform now.
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net