I've found that the problem comes from the DSPfactory methods: when I
comment the creation (createDSPFactoryFromString) _ and_ destruction
(deleteDSPFactory) lines of Faust.cpp, the chugin is recognized (of course
it is useless).
If I remove only the creation, the plugin is not loading, what I found
surprising at first. Probably ChucK tries to load and unload it to test it.
So it looks like it's doing its job.
So the problem lies somewhere between Faust and llvm or back.
2016-07-08 14:57 GMT+02:00 Ebm Boy <ebmtrance...@gmail.com>:
> Thanks Stéphane.
> Now that it compiles fine I should ask ChucK forum.
>
> 2016-07-08 12:02 GMT+02:00 Stéphane Letz <l...@grame.fr>:
>
>> Yes createDSPInstance as as separated function is deprecated. Better now
>> use the createDSPInstance method of the llvm_factory* factory object.
>>
>> (this was done with the new « interpreter » backend.: a new dsp_factory
>> class has been defined, which llvm_factory and interpreter_factory now
>> derive from).
>>
>> Stéphane
>>
>>
>>
>> > Le 8 juil. 2016 à 11:52, Ebm Boy <ebmtrance...@gmail.com> a écrit :
>> >
>> > Thanks Romain,
>> > indeed I was using faust-2.0.a30 that I've found on sourceforge and it
>> is too old (by the way, it is not very obvious to choose a faust2 version
>> on sourceforge/github, at the moment I choose whatever version that seems
>> up to date and I check if architecture/pure.c is present or not since c
>> interface only works in faust2).
>> >
>> > With the right version of Faust, I had to change ifstream fin( path);
>> to ifstream fin( path.c_str() ); on line 364 of Faust.cpp in order to
>> compile (4 warnings about deprecation of createDSPInstance though.)
>> >
>> > However, Chuck doesn't regard the produced Faust.chug as a valid chugin
>> yet.
>> >
>> >
>> >
>> > 2016-07-07 5:29 GMT+02:00 Romain Michon <rmnmic...@gmail.com>:
>> > Hi Ebm,
>> >
>> > I'm trying to build the Faust chugin from the sources from ccrma github
>> on Ubuntu but I can't find faust/gui/PathBuilder.h mentionned in the
>> includes of Faust.cpp.
>> >
>> > I suppose it is different from faust/gui/PathUI.h because I tried to
>> use this instead but the chugin isn't recognized after compilation.
>> >
>> > I don't know what version of Faust you're using, but PathBuilder.h
>> exists both in the master and the faust2 branch:
>> https://sourceforge.net/p/faudiostream/code/ci/faust2/tree/architecture/faust/gui/PathBuilder.h
>> >
>> > Also, you need to be using the faust2 branch in order for things to
>> work.
>> >
>> > Also, Faust.cpp doesn't compile without -std=c+11 which is not
>> mentionned in make.linux so I'm not sure github contains the right makefile.
>> >
>> > Any hint ? Thanks
>> >
>> > I see. We actually haven't tried FaucK on linux so you might be the
>> first person to do it haha! I'm very busy these days so I don't really time
>> to try anything but let us know if you manage to make it work and if there
>> are changes to be made to the Makefile or anything else, we'd be very happy
>> if you could send us the patch :).
>> >
>> > Cheers,
>> >
>> > Romain
>> >
>> >
>> ------------------------------------------------------------------------------
>> > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
>> > Francisco, CA to explore cutting-edge tech and listen to tech luminaries
>> > present their vision of the future. This family event has something for
>> > everyone, including kids. Get more information and register today.
>> > http://sdm.link/attshape_______________________________________________
>> > Faudiostream-devel mailing list
>> > Faudiostream-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/faudiostream-devel
>>
>>
>
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Faudiostream-devel mailing list
Faudiostream-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-devel