Closed jrgehrig closed 3 years ago
I can't get one of my links above to work; the ALSA library was downloaded from here
Why not directly using the te faust2alsa
script ? https://faustdoc.grame.fr/manual/tools/#faust2alsa
The issue seems to still be that the alsa and gtk files are missing. Running that script gives a new set of errors:
Package alsa was not found in the pkg-config search path.
Perhaps you should add the directory containing `alsa.pc'
to the PKG_CONFIG_PATH environment variable
No package 'alsa' found
piano.dsp.cpp:4073:10: fatal error: gtk/gtk.h: No such file or directory
4073 | #include <gtk/gtk.h>
| ^~~~~~~~~~~
compilation terminated.
I am still not sure what to do about adding alsa and gtk to my system to get this working
Probably adding development packages for both of them.
I have been trying to compile the physical modelling piano example from examples/physicalModeling/faust-stk on Ubuntu Linux. I have been using the commands from the using the compiler page, i.e.
But when I do so I get the error
Opening the
piano.cpp
file in Visual Studio Code shows two include errors:cannot open source file "gtk/gtk.h" (dependency of "faust/gui/GTKUI.h")
andcannot open source file "alsa/asoundlib.h"
I attempted to fix the ALSA error myself by downloading
alsa-lib-1.2.4.tar.bz2
from here (also note that the link for "wide range of compilation scripts" is broken), extracting it to my user directory, and running./configure
andmake install
as instructed in the INSTALL file, but I get the following errors:How do I fix these issues? What do I need to do about the
gtk/gtk.h
file?