Re: [Faudiostream-users] Question re. Fauck and faust2ck

2022-03-14 Thread Stéphane Letz
 -std=c++11 is probably missing in the C++ command line.

Stéphane 

> Le 14 mars 2022 à 16:13, Daniel Chapiro  a écrit :
> 
> Thanks, Romain! In that case I'll stick to faust2ck for now. 
> However, for those who may want to use FaucK, I found a problems with 
> Faust.chug (I had posted it in the ChucK forum, since Faust.chug is in the 
> ChucK chugins release, but I'll cc it below).
> Cheers!
> Daniel
> ---
> 1. I downloaded the pre-compiled Faust.chug binary per the install script in 
> https://ccrma.stanford.edu/~rmichon/fauck/
> However, OSX (Big Sur) complains that it's from an unsigned developer, 
> whether I use it w/ chuck from the term, or from the miniaudicle. I know how 
> to enable OSX apps from unsigned developers - is there a way to have OSX let 
> me do likewise for .chugs (i.e., .o) files?
> 
> 2. Also, I tried to make Faust.chug from sources (cloned 
> https://github.com/ccrma/chugins), but got fatal compile errors:  
> >>> cd chugins/Faust/; make osx
> clang++ -c -o Faust.o Faust.cpp -mmacosx-version-min=10.9 -D__MACOSX_CORE__ 
> -I../chuck/include -arch x86_64 -fPIC -I/usr/local/include -O3
> In file included from Faust.cpp:35:
> In file included from /usr/local/include/faust/dsp/llvm-dsp.h:37:
> /usr/local/include/faust/dsp/dsp.h:246:52: error: expected ';' at end of 
> declaration list
> void setFpStatusRegister(intptr_t fpsr_aux) noexcept
> ^
> ;
> In file included from Faust.cpp:37:
> /usr/local/include/faust/gui/PathBuilder.h:69:31: error: non-aggregate type 
> 'std::vector' cannot be initialized with an initializer list
> std::vector rep = {' ', '#', '*', ',', '/', '?', '[', ']', '{', '}', 
> '(', ')'};
> ^ 
> 2 errors generated.
> make: *** [Faust.o] Error 1
> 
> On Mon, Mar 14, 2022 at 3:15 AM Romain Michon  wrote:
> Hi Daniel,
> 
> Beside the fact that FaucK allows you to do on-the-fly compilation of Faust 
> programs directly in ChucK, there's no real benefit in terms of using it vs. 
> faust2ck. It's just more convenient if you need to prototype Faust programs 
> directly in ChucK. If your Faust program is always the same, using faust2ck 
> might be a better option.
> 
> Cheers,
> 
> Romain 
> 
> On Sun, Mar 13, 2022 at 10:18 PM Daniel Chapiro  wrote:
> Thanks, Stéphane! Also, do you know if there any advantage in using FaucK 
> (Faust.chug) instead of faust2ck? (I don't do on-the-fly Chuck programming) 
> ___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users



___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] Question re. Fauck and faust2ck

2022-03-14 Thread Romain Michon
Hi Daniel,

Beside the fact that FaucK allows you to do on-the-fly compilation of Faust
programs directly in ChucK, there's no real benefit in terms of using it
vs. faust2ck. It's just more convenient if you need to prototype Faust
programs directly in ChucK. If your Faust program is always the same, using
faust2ck might be a better option.

Cheers,

Romain

On Sun, Mar 13, 2022 at 10:18 PM Daniel Chapiro  wrote:

> Thanks, Stéphane! Also, do you know if there any advantage in using FaucK
> (Faust.chug) instead of faust2ck? (I don't do on-the-fly Chuck
> programming)
>
> On Sun, Mar 13, 2022 at 1:05 PM Stéphane Letz  wrote:
>
>> faust2ck  is not deprecated AFAICS, but is not automatically installed
>> for now, see: https://github.com/grame-cncm/faust/tree/master-dev/tools
>>
>> Stéphane
>>
>> > Le 12 mars 2022 à 05:26, Daniel Chapiro  a écrit :
>> >
>> > Hi - I have a question for people familiar w/using Faust+Chuck:
>> >
>> > In the past I had used faust2ck to combine ChucK and Faust code.
>> > Given I don't do any "on the fly" coding, is there any benefit in using
>> FaucK instead?
>> >
>> > Although the faust2ck src is included within the faust release, "make
>> osx" makes all the faust2xyz's, except faust2ck.
>> > So I ran make osx in the faust2ck folder, and put it in
>> /usr/local/lib/chuck w/o any problem.
>> >
>> > However, shouldn't the faust-level make have done it when I compiled
>> faust? Or is it because faust2ck is deprecated?
>> >
>> > Thanks!
>> > Dan
>> > ___
>> > Faudiostream-users mailing list
>> > Faudiostream-users@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>>
>> ___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] Question re. Fauck and faust2ck

2022-03-13 Thread Daniel Chapiro
Thanks, Stéphane! Also, do you know if there any advantage in using FaucK
(Faust.chug) instead of faust2ck? (I don't do on-the-fly Chuck
programming)

On Sun, Mar 13, 2022 at 1:05 PM Stéphane Letz  wrote:

> faust2ck  is not deprecated AFAICS, but is not automatically installed for
> now, see: https://github.com/grame-cncm/faust/tree/master-dev/tools
>
> Stéphane
>
> > Le 12 mars 2022 à 05:26, Daniel Chapiro  a écrit :
> >
> > Hi - I have a question for people familiar w/using Faust+Chuck:
> >
> > In the past I had used faust2ck to combine ChucK and Faust code.
> > Given I don't do any "on the fly" coding, is there any benefit in using
> FaucK instead?
> >
> > Although the faust2ck src is included within the faust release, "make
> osx" makes all the faust2xyz's, except faust2ck.
> > So I ran make osx in the faust2ck folder, and put it in
> /usr/local/lib/chuck w/o any problem.
> >
> > However, shouldn't the faust-level make have done it when I compiled
> faust? Or is it because faust2ck is deprecated?
> >
> > Thanks!
> > Dan
> > ___
> > Faudiostream-users mailing list
> > Faudiostream-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>
>
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users