Hi Stéphane,
Thanks for the link to the docs. That is helpful.

What really helped me, though, was finding this repo: https://github.com/magnetophon/DigiDrie. It shows how a typical project can be laid out and built. More importantly, when trying to build it, there were compile errors due to missing gtk2 headers and libs. Gtk2 is now obsolete, so I'm guessing it's no longer included in the distro.

Anyway, after installing those missing bits, as well as others, the examples I had compiled in the FaustIDE now work. The errors I was getting must’ve been due to some missing libraries.

Thanks,
Bruce

On Fri, Jan 29, 2021 at 8:46 PM, bruce davidson <darkoverlordofd...@gmail.com> wrote:
On Fri, Jan 29, 2021 at 5:02 PM, bruce davidson <darkoverlordofd...@gmail.com> wrote:
Hi Stéphane ,

I see - I have to implement a plugin 'host'.

On Fri, Jan 29, 2021 at 12:49 AM, Stéphane Letz <l...@grame.fr> wrote:
Hi Bruce,

The target you are using produces a single C file that is not self-contained and has to be included in a larger project to be usable.

If you want to directly produce a standalone application from the Faust Web IDE, you have a large choice; depending of the OS you are targeting, like for instance:

OSX/coreaudio-qt which uses the QT framework (https://www.qt.io) and Coreudio, jucae/application that allows to produce a JUEC project to be compiled, linux/alsa-gtk , linux/alsa-gt and so on.

About the architectures files themselves, there is a Work In Progress section here:

https://github.com/grame-cncm/faustdoc/blob/master/mkdocs/docs/manual/architectures.md

Stéphane


Le 29 janv. 2021 à 04:55, bruce <darkoverlordofd...@gmail.com> a écrit :

I’m trying to create a standalone application as an alternative to a browser based app, and I’m starting small, using this quick start as a hello world:
 ```
 import("stdfaust.lib");
 process = no.noise;
 ```
So I use the platform ‘source’, with architecture ‘c’, and it gives me a little c program that doesn’t compile – clang tells me that MetaGlue is undefined. But there is no header that defines it. I also notice that there is no entry point, usually ‘main’, so it looks like it should be included in a larger project, but what is that project?

So I use the platform ‘rust’, with architecture ‘portaudio’. This compiles, and runs without error, however, it also produces no sound output.

I’ve read all the documentation I can find – it's pretty sparse – but I don’t find anything that addresses compiling the generated code. Is there any example application using faust on the desktop?

 Thanks,
 Bruce


 --

 Bruce Davidson

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





On Fri, Jan 29, 2021 at 12:49 AM, Stéphane Letz <l...@grame.fr> wrote:
Hi Bruce,

The target you are using produces a single C file that is not self-contained and has to be included in a larger project to be usable.

If you want to directly produce a standalone application from the Faust Web IDE, you have a large choice; depending of the OS you are targeting, like for instance:

OSX/coreaudio-qt which uses the QT framework (https://www.qt.io) and Coreudio, jucae/application that allows to produce a JUEC project to be compiled, linux/alsa-gtk , linux/alsa-gt and so on.

About the architectures files themselves, there is a Work In Progress section here:

https://github.com/grame-cncm/faustdoc/blob/master/mkdocs/docs/manual/architectures.md

Stéphane


Le 29 janv. 2021 à 04:55, bruce <darkoverlordofd...@gmail.com> a écrit :

I’m trying to create a standalone application as an alternative to a browser based app, and I’m starting small, using this quick start as a hello world:
 ```
 import("stdfaust.lib");
 process = no.noise;
 ```
So I use the platform ‘source’, with architecture ‘c’, and it gives me a little c program that doesn’t compile – clang tells me that MetaGlue is undefined. But there is no header that defines it. I also notice that there is no entry point, usually ‘main’, so it looks like it should be included in a larger project, but what is that project?

So I use the platform ‘rust’, with architecture ‘portaudio’. This compiles, and runs without error, however, it also produces no sound output.

I’ve read all the documentation I can find – it's pretty sparse – but I don’t find anything that addresses compiling the generated code. Is there any example application using faust on the desktop?

 Thanks,
 Bruce


 --

 Bruce Davidson

 _______________________________________________
 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

Reply via email to