Csound Csound-dev Csound-tekno Search About

[Cs-dev] Fw: Build fails on OS X

Date2014-10-16 21:37
From"Art Hunkins"
Subject[Cs-dev] Fw: Build fails on OS X
----- Original Message ----- 
From: "Art Hunkins" 
To: "Victor Lazzarini" 
Sent: Thursday, October 16, 2014 4:35 PM
Subject: Re: [Cs-dev] Build fails on OS X


> Then I fail to understand what this thread has been all about.
>
> I read about "build fails", and FLTK widgets causing all kinds of 
> glitches, even from the console.
>
> Please explain exactly what problems remain, if any, with FLTK widgets on 
> Mac machines. I *thought* it had to do with threading conflicts. (This has 
> *always* been a murky area for me.)
>
> Please recall I am not a Mac person, and need to understand in somewhat 
> general terms. I'd just like to know what the chances are of any of my 
> .csd's that include FLTK widgets, being performable on Macs.
>
> Art Hunkins
>
> ----- Original Message ----- 
> From: "Victor Lazzarini" 
> To: "Art Hunkins" ; "Developer discussions" 
> 
> Sent: Thursday, October 16, 2014 4:13 PM
> Subject: Re: [Cs-dev] Build fails on OS X
>
>
> Not sure what you mean. FLTK is not broken on OSX.
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
> On 16 Oct 2014, at 20:28, Art Hunkins  wrote:
>
>> It would be wonderful if FLTK were now fixed on OS X.
>>
>> Art Hunkins
>>
>> ----- Original Message ----- 
>> From: "Victor Lazzarini" 
>> To: "Developer discussions" 
>> Sent: Thursday, October 16, 2014 2:05 PM
>> Subject: Re: [Cs-dev] Build fails on OS X
>>
>>
>> I have 6.0.1 here, so the compiler version is the same. Strange.
>> Anyway, if it’s fixed for you, then it shouldn’t matter.
>> ========================
>> Dr Victor Lazzarini
>> Dean of Arts, Celtic Studies and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952
>>
>> On 16 Oct 2014, at 17:31, Steven Yi  wrote:
>>
>>> No not yet. Strange then that widgets.cpp compiled there then.  The
>>> only other thing I can think of is that I'm using XCode 6.01.  I have
>>> no idea if that is a factor or not.
>>>
>>> On Thu, Oct 16, 2014 at 12:15 PM, Victor Lazzarini
>>>  wrote:
>>>> yes, I am on 10.9. Is 10.10 already out?
>>>> ========================
>>>> Dr Victor Lazzarini
>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>> Maynooth University,
>>>> Maynooth, Co Kildare, Ireland
>>>> Tel: 00 353 7086936
>>>> Fax: 00 353 1 7086952
>>>>
>>>> On 16 Oct 2014, at 17:05, Steven Yi  wrote:
>>>>
>>>>> Are you on compiling on 10.9?  I'm wondering what the difference is.
>>>>>
>>>>> On Thu, Oct 16, 2014 at 12:04 PM, Victor Lazzarini
>>>>>  wrote:
>>>>>> The strange thing is that I can compile widgets.cpp here without any
>>>>>> problems.
>>>>>>
>>>>>> ========================
>>>>>> Dr Victor Lazzarini
>>>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>>>> Maynooth University,
>>>>>> Maynooth, Co Kildare, Ireland
>>>>>> Tel: 00 353 7086936
>>>>>> Fax: 00 353 1 7086952
>>>>>>
>>>>>> On 16 Oct 2014, at 16:53, Steven Yi  wrote:
>>>>>>
>>>>>>> Turns out FLTK widgets weren't set to build here.  I enabled it and
>>>>>>> got the same build error.  I added an include for unistd.h and that
>>>>>>> fixed it.  Fix is now committed to develop branch.
>>>>>>>
>>>>>>> On Thu, Oct 16, 2014 at 11:41 AM, Steven Yi 
>>>>>>> wrote:
>>>>>>>> Oh, maybe I misunderstood the FLTK bug. This looks like it's in our
>>>>>>>> widgets code, and perhaps we just need to #include unistd.h ?
>>>>>>>>
>>>>>>>> On Thu, Oct 16, 2014 at 11:19 AM, Victor Lazzarini
>>>>>>>>  wrote:
>>>>>>>>> which OSX version? There is a report saying that the FLTK library 
>>>>>>>>> is
>>>>>>>>> not supported under 10.10, and for this reason, you
>>>>>>>>> will need to disable FLTK in the build options.
>>>>>>>>>
>>>>>>>>> ========================
>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>>>>>>> Maynooth University,
>>>>>>>>> Maynooth, Co Kildare, Ireland
>>>>>>>>> Tel: 00 353 7086936
>>>>>>>>> Fax: 00 353 1 7086952
>>>>>>>>>
>>>>>>>>> On 16 Oct 2014, at 16:08, Pierre Clisson  
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> I am not able to build csound on OS X anymore (using homebrew):
>>>>>>>>>>
>>>>>>>>>> [ 72%] Building CXX object
>>>>>>>>>> InOut/CMakeFiles/widgets.dir/widgets.cpp.o
>>>>>>>>>> cd /tmp/csound-ZQrY22/InOut &&
>>>>>>>>>>
>>>>>>>>>> 
>>>>>>>>>> ocal/Library/ENV/4.3/clang++   -DCS_DEFAULT_PLUGINDIR=\"/Users/mesca/Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64\"
>>>>>>>>>> -DHAVE_SOCKETS -DHAVE_SPRINTF_L -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DMACOSX
>>>>>>>>>> -DNO_FLTK_THREADS -DPIPES -DUSE_LRINT -D_CSOUND_RELEASE_ -Dwidgets_EXPORTS
>>>>>>>>>> -ffast-math -msse2 -fomit-frame-pointer -DHAVE_ATOMIC_BUILTIN -fPIC
>>>>>>>>>> -I/usr/local/include -I/tmp/csound-ZQrY22/./H -I/tmp/csound-ZQrY22/./include
>>>>>>>>>> -I/tmp/csound-ZQrY22/./Engine -I/tmp/csound-ZQrY22/. -I/tmp/csound-ZQrY22
>>>>>>>>>> -I/tmp/csound-ZQrY22/include -I/System/Library/Frameworks/CoreMIDI.framework/Headers
>>>>>>>>>> -I/System/Library/Frameworks/AudioUnit.framework/Headers -I/tmp/csound-ZQrY22/InOut/.
>>>>>>>>>> -I/usr/local/Cellar/fltk/1.3.2_1/include    -o
>>>>>>>>>> CMakeFiles/widgets.dir/widgets.cpp.o -c
>>>>>>>>>> /tmp/csound-ZQrY22/InOut/widgets.cpp
>>>>>>>>>> /tmp/csound-ZQrY22/InOut/widgets.cpp:2227:17: error: use of
>>>>>>>>>> undeclared identifier 'vfork'
>>>>>>>>>> pid_t pId = vfork();
>>>>>>>>>>           ^
>>>>>>>>>> /tmp/csound-ZQrY22/InOut/widgets.cpp:2243:9: error: use of
>>>>>>>>>> undeclared identifier 'execvp'
>>>>>>>>>>   execvp(v[0], v);
>>>>>>>>>>   ^
>>>>>>>>>> /tmp/csound-ZQrY22/InOut/widgets.cpp:2246:7: error: use of
>>>>>>>>>> undeclared identifier '_exit'
>>>>>>>>>> _exit(0);
>>>>>>>>>> ^
>>>>>>>>>> 3 errors generated.
>>>>>>>>>> make[2]: *** [InOut/CMakeFiles/widgets.dir/widgets.cpp.o] Error 1
>>>>>>>>>> make[1]: *** [InOut/CMakeFiles/widgets.dir/all] Error 2
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> Comprehensive Server Monitoring with Site24x7.
>>>>>>>>>> Monitor 10 servers for $9/Month.
>>>>>>>>>> Get alerted through email, SMS, voice calls or mobile push
>>>>>>>>>> notifications.
>>>>>>>>>> Take corrective actions from your mobile device.
>>>>>>>>>> http://p.sf.net/sfu/Zoho
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> Comprehensive Server Monitoring with Site24x7.
>>>>>>>>> Monitor 10 servers for $9/Month.
>>>>>>>>> Get alerted through email, SMS, voice calls or mobile push
>>>>>>>>> notifications.
>>>>>>>>> Take corrective actions from your mobile device.
>>>>>>>>> http://p.sf.net/sfu/Zoho
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Comprehensive Server Monitoring with Site24x7.
>>>>>>> Monitor 10 servers for $9/Month.
>>>>>>> Get alerted through email, SMS, voice calls or mobile push
>>>>>>> notifications.
>>>>>>> Take corrective actions from your mobile device.
>>>>>>> http://p.sf.net/sfu/Zoho
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Comprehensive Server Monitoring with Site24x7.
>>>>>> Monitor 10 servers for $9/Month.
>>>>>> Get alerted through email, SMS, voice calls or mobile push
>>>>>> notifications.
>>>>>> Take corrective actions from your mobile device.
>>>>>> http://p.sf.net/sfu/Zoho
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Comprehensive Server Monitoring with Site24x7.
>>>>> Monitor 10 servers for $9/Month.
>>>>> Get alerted through email, SMS, voice calls or mobile push
>>>>> notifications.
>>>>> Take corrective actions from your mobile device.
>>>>> http://p.sf.net/sfu/Zoho
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Comprehensive Server Monitoring with Site24x7.
>>>> Monitor 10 servers for $9/Month.
>>>> Get alerted through email, SMS, voice calls or mobile push 
>>>> notifications.
>>>> Take corrective actions from your mobile device.
>>>> http://p.sf.net/sfu/Zoho
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> ------------------------------------------------------------------------------
>>> Comprehensive Server Monitoring with Site24x7.
>>> Monitor 10 servers for $9/Month.
>>> Get alerted through email, SMS, voice calls or mobile push 
>>> notifications.
>>> Take corrective actions from your mobile device.
>>> http://p.sf.net/sfu/Zoho
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ------------------------------------------------------------------------------
>> Comprehensive Server Monitoring with Site24x7.
>> Monitor 10 servers for $9/Month.
>> Get alerted through email, SMS, voice calls or mobile push notifications.
>> Take corrective actions from your mobile device.
>> http://p.sf.net/sfu/Zoho
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ------------------------------------------------------------------------------
>> Comprehensive Server Monitoring with Site24x7.
>> Monitor 10 servers for $9/Month.
>> Get alerted through email, SMS, voice calls or mobile push notifications.
>> Take corrective actions from your mobile device.
>> http://p.sf.net/sfu/Zoho
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 


------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net