| It’s not defined here either, but it compiles.
[ 87%] Building CXX object frontends/CsoundAC/CMakeFiles/libCsoundAC.dir/System.cpp.o
cd /Users/victor/src/csound6/debug/frontends/CsoundAC && /usr/bin/c++ -DCS_DEFAULT_PLUGINDIR=\"/Users/victor/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_ -DlibCsoundAC_EXPORTS -ffast-math -msse2 -fomit-frame-pointer -DHAVE_ATOMIC_BUILTIN -g -arch x86_64 -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -mmacosx-version-min=10.7 -fPIC -I/usr/local/include -I/Users/victor/src/csound6/./H -I/Users/victor/src/csound6/./include -I/Users/victor/src/csound6/./Engine -I/Users/victor/src/csound6/. -I/Users/victor/src/csound6/debug -I/Users/victor/src/csound6/debug/include -I/Users/victor/src/csound6/debug/frontends -I/Users/victor/src/csound6/frontends/beats -I/Users/victor/src/csound6/interfaces -I/Users/victor/src/csound6/frontends/CsoundAC -I/Library/Frameworks/Python.framework/Headers -o CMakeFiles/libCsoundAC.dir/System.cpp.o -c /Users/victor/src/csound6/frontends/CsoundAC/System.cpp
========================
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 17 Oct 2014, at 08:41, Victor Lazzarini wrote:
> I see this
>
> #if defined(HAVE_UNISTD_H)
> #include
> #endif
>
> HAVE_UNISTD is not defined in your build. Not sure why yet. Maybe Steven knows?
>
> regards
> ========================
> 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 17 Oct 2014, at 03:17, Pierre Clisson wrote:
>
>> Unfortunately, I still can't build on OS X (10.9.5, XCode 6.01):
>>
>> [ 85%] Building CXX object frontends/CsoundAC/CMakeFiles/libCsoundAC.dir/System.cpp.o
>> cd /tmp/csound-fWC9pw/frontends/CsoundAC && /usr/local/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_ -DlibCsoundAC_EXPORTS -ffast-math -msse2 -fomit-frame-pointer -DHAVE_ATOMIC_BUILTIN -fPIC -I/usr/local/include -I/tmp/csound-fWC9pw/./H -I/tmp/csound-fWC9pw/./include -I/tmp/csound-fWC9pw/./Engine -I/tmp/csound-fWC9pw/. -I/tmp/csound-fWC9pw -I/tmp/csound-fWC9pw/include -I/tmp/csound-fWC9pw/frontends -I/tmp/csound-fWC9pw/frontends/beats -I/tmp/csound-fWC9pw/interfaces -I/usr/local/Cellar/fltk/1.3.2_1/include -I/tmp/csound-fWC9pw/frontends/CsoundAC -I/usr/include/python2.7 -I/usr/local/include/luajit-2.0 -o CMakeFiles/libCsoundAC.dir/System.cpp.o -c /tmp/csound-fWC9pw/frontends/CsoundAC/System.cpp
>> /tmp/csound-fWC9pw/frontends/CsoundAC/System.cpp:589:23: error: use of undeclared identifier 'fork'
>> int returnValue = fork();
>> ^
>> /tmp/csound-fWC9pw/frontends/CsoundAC/System.cpp:597:9: error: use of undeclared identifier 'execvp'
>> execvp(argv[0], &argv.front());
>> ^
>> 2 errors generated.
>> make[2]: *** [frontends/CsoundAC/CMakeFiles/libCsoundAC.dir/System.cpp.o] Error 1
>> make[1]: *** [frontends/CsoundAC/CMakeFiles/libCsoundAC.dir/all] Error 2
>>
>>
>> Le 16 oct. 2014 à 23:45, Art Hunkins a écrit :
>>
>>>
>>> Thanks for the clarification.
>>>
>>> So,
>>> 1) Now Csound can be *built* on all Macs (OX X).
>>>
>>> 2) Csound *runs* on all Macs.
>>>
>>> 3) If .csd's contain FLTK widgets, they will run in the Mac console and in
>>> non-gui frontends, but not in GUI/graphic frontends. (The widget systaems
>>> conflict)
>>>
>>> Running realtime, #3 above has never bothered me. On Windows, Lettuce would
>>> never handle FLTK widgets either. (I'm sure it's the same with Cabbage; both
>>> have their own performance widgets.) It seems strange to be trying to run
>>> FLTK widgets in a GUI frontend which has its own native widgets! For me, the
>>> purpose of a standalone frontend (such as with Lettuce and Cabbage) is to
>>> make use of its sliders, buttons, comboboxes, etc., in performance.
>>>
>>> Art Hunkins
>>>
>>> ----- Original Message -----
>>> From: "Victor Lazzarini"
>>> To: "Art Hunkins"
>>> Sent: Thursday, October 16, 2014 4:57 PM
>>> Subject: Re: [Cs-dev] Build fails on OS X
>>>
>>>
>>> No, you’re confusing two issues. One is the program build that failed in
>>> some machines (but not in others), but it’s now fixed.
>>> The other is running FLTK inside CsoundQT, where there is an incompatibility
>>> of the graphic systems. You can still run FLTK
>>> from non-graphic frontends (command-line, CsoundQT run-in-terminal,
>>> winXsound, etc). It’s not Csound, it’s specifically
>>> the CsoundQT frontend (which is not Csound).
>>>
>>> ========================
>>> 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 21:35, Art Hunkins wrote:
>>>
>>>> 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
>>> 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 |