Orisu179 / AmatiPP

An audio plugin for live-coding effects in the Faust programming language. Based off of the Amati Project
MIT License
3 stars 1 forks source link

Editor does not properly render. #24

Open magnetophon opened 2 weeks ago

magnetophon commented 2 weeks ago

I did:

git clone --recurse-submodules git@github.com:Orisu179/AmatiPP.git
cd AmatiPP/
nix-shell
mkdir build
cd build/
cmake ..
cmake --build .

Sidenote: the last line ends with a dot, which is not in the README. Without the dot, I get a cmake help text.

Then I ran it with:

carla-single vst3   Amati_pp_artefacts/VST3/Amati_pp.vst3/

It looks like this: image Similar in Ardour.

This is on NixOS unstable.

Here is the output of cmake ..:

-- Major version: 0
-- The C compiler identification is GNU 13.3.0
-- The CXX compiler identification is GNU 13.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nix/store/lbk30k56awz9vz9qpid93fkjns0xwlhd-gcc-wrapper-13.3.0/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /nix/store/lbk30k56awz9vz9qpid93fkjns0xwlhd-gcc-wrapper-13.3.0/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /nix/store/blb1ci2nwrmgzb3g1xl4mvqpwkhm3s3b-pkg-config-wrapper-0.29.2/bin/pkg-config (found version "0.29.2")
-- Checking for module 'alsa'
--   Found alsa, version 1.2.11
-- Checking for module 'freetype2'
--   Found freetype2, version 26.1.20
-- Checking for module 'gl'
--   No package 'gl' found
-- Checking for module 'libcurl'
--   No package 'libcurl' found
-- Checking for modules 'webkit2gtk-4.0;gtk+-x11-3.0'
--   No package 'webkit2gtk-4.0' found
--   No package 'gtk+-x11-3.0' found
-- Configuring juceaide
-- Building juceaide
-- Exporting juceaide
-- Building CLAP with CLAP_CXX_STANDARD=17
-- CLAP version: 1.2.0
-- Found FAUST: /nix/store/ghp2qn46rp57skx3sjxphpyay4yap7mx-faust-2.74.6/lib/libfaust.so
Faust found: /nix/store/ghp2qn46rp57skx3sjxphpyay4yap7mx-faust-2.74.6/lib/libfaust.so, /nix/store/ghp2qn46rp57skx3sjxphpyay4yap7mx-faust-2.74.6/include
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Creating CLAP Amati_pp_CLAP from Amati_pp
-- Setting Misbehaviour handler level to 'Ignore'
-- Setting Checking handler level to 'Minimal'
-- Setting event resolution to 0 samples (no sample-accurate automation)
-- Setting "Always split block" to OFF
-- Setting "Use JUCE parameter ranges" to OFF
-- Copy After Build
-- Performing Test HAVE_FLAG__ffile_prefix_map__home_bart_source_AmatiPP_build__deps_catch2_src__
-- Performing Test HAVE_FLAG__ffile_prefix_map__home_bart_source_AmatiPP_build__deps_catch2_src__ - Success
-- Configuring done (126.5s)
-- Generating done (0.1s)
-- Build files have been written to: /home/bart/source/AmatiPP/build

And here is the output of cmake --build .: https://pastebin.com/ajFWQgrz

glocq commented 1 week ago

Thank you for the report. It looks like JUCE fails to find the "default monospaced font" here.

I don't know why, I assume you have at least one monospaced font (that the plugin is able to access) on your system (are you able to tell which fonts are installed maybe?)

magnetophon commented 1 week ago

Thanks for the hint! When I link the system fonts to my home dir fonts, everything seems to work.

ln -s /run/current-system/sw/share/X11/fonts ~/.local/share/fonts

The odd thing is: that folder already existed and had some mono fonts in it.