Open Bubobubobubobubo opened 3 years ago
Hmm. Interesting. It can't find the Faust source. Did you run the submodule update command as described in the readme ?
git submodule update --init --recursive
This should download a folder called Faust within the project. Get Outlook for Android
I runned git submodule update --init --recursive
. The faust
folder is here but does not contain any dsp
folder.
There is a faustgen.h
inside the faust/compiler/generator
folder.
Ah then it has something to do with where Faust is installed on your system. Did you install Faust before running this ? I might have to tweak cmakelists to better pick this up on macos
Faust is installed on my system, version 2.28.8
. The command which faust
returns /usr/local/bin/faust
but isn't the build process using the freshly cloned submodule?
I'll try to uninstall Faust to see if it changes something.
Faust is installed on my system, version
2.28.8
. The commandwhich faust
returns/usr/local/bin/faust
but isn't the build process using the freshly cloned submodule?I'll try to uninstall Faust to see if it changes something.
Yeah you're right. As far as I can see, the CMake setup as it is now should pick this up if the submodule has been downloaded correctly. Hmm.
@madskjeldgaard : tried again this morning but stumbled upon the same error as two years ago.
/Users/bubo/faustgen/plugins/FaustGen/FaustGen.hpp:7:10: fatal error: 'faust/dsp/libfaust.h' file not found
#include "faust/dsp/libfaust.h"
^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
gmake[2]: *** [CMakeFiles/FaustGen_scsynth.dir/build.make:76: CMakeFiles/FaustGen_scsynth.dir/plugins/FaustGen/FaustGen.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:139: CMakeFiles/FaustGen_scsynth.dir/all] Error 2
gmake: *** [Makefile:156: all] Error 2
Thanks. I'm not working on this anymore or at the moment at least, but I think this might be solved by having CMake manage Faust as a dependency using CPM, sort of how PortedPlugins does it https://github.com/madskjeldgaard/portedplugins/blob/main/CMakeLists.txt
Hi! I ended up with a compilation error that you might want to investigate. I am using macOS Big Sur version 11.5.2. The system is up to date, to the best of my knowledge:
supercollider
andfaustgen
sources are stored in myroot
directory.cmake --build . --config Release
from thebuild
directory.I do not use Cmake very often. It might be something trivial that I overlooked.