Hi, When compiling chugins faust and fluidsynth , I get these errors ¶ make linux g++ -c -o Faust.o Faust.cpp -pthread -D__LINUX_ALSA__ -D__PLATFORM_LINUX__ -I../chuck/include -fPIC -O3 Faust.cpp: In function ‘void faust_ctor(Chuck_Object*, void*, Chuck_VM*, Chuck_VM_Shred*, CK_DL_API)’: Faust.cpp:567:40: error: ‘struct Chuck_DL_Api::VMApi’ has no member named ‘get_srate’ 567 | Faust * f_obj = new Faust(API->vm->get_srate(API, SHRED)); | ^~~~~~~~~ make: *** [makefile:115: Faust.o] Error 1 ¶ make linux g++ -D__LINUX_ALSA__ -D__PLATFORM_LINUX__ -I../chuck/include/ -fPIC -O3 -c -o FluidSynth.o FluidSynth.cpp FluidSynth.cpp:108:30: error: ‘Chuck_Array8’ has not been declared 108 | void setTuning(int chan, Chuck_Array8 * tuning) | ^~~~~~~~~~~~ FluidSynth.cpp:125:36: error: ‘Chuck_Array8’ has not been declared 125 | void setOctaveTuning(int chan, Chuck_Array8 * tuning) ¶ chuck --version chuck version: 1.5.1.7 (chai) Linux | 64-bit audio drivers: ALSA | JACK http://chuck.cs.princeton.edu/ http://chuck.stanford.edu/ ¶ uname -a Linux uptown 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-1 (2023-07-14) x86_64 GNU/Linux thanks d
Greetings! Apologies! there has been a significant update to the chugins runtime API, but Fluidsynth and Faust was not yet brought up-to-date. Specifically `API->vm->get_srate( API, SHRED )` has been changed to `API->vm->srate( VM )`, also ChuckArray4 has been renamed to ChuckArrayInt and ChuckArray8 has been renamed to ChuckArrayFloat. Both Faust and Fluidsynth have been updated and pushed to `main` branch on the chugins repo. Please let us know if you run into any other issues! Rock on, Ge! ~~~ Ge Wang Associate Professor Center for Computer Research in Music and Acoustics (CCRMA) Department of Music (also Computer Science, by Courtesy) Stanford University https://ccrma.stanford.edu/~ge/ ~ Senior Fellow & Faculty Associate Director, Stanford HAI ~ Artful Design: Technology in Search of the Sublime! -- what we make, makes us -- https://artful.design/ ~~~ On 10/25/23 12:32 PM, d wrote:
Hi,
When compiling chugins faust and fluidsynth , I get these errors
¶ make linux g++ -c -o Faust.o Faust.cpp -pthread -D__LINUX_ALSA__ -D__PLATFORM_LINUX__ -I../chuck/include -fPIC -O3 Faust.cpp: In function ‘void faust_ctor(Chuck_Object*, void*, Chuck_VM*, Chuck_VM_Shred*, CK_DL_API)’: Faust.cpp:567:40: error: ‘struct Chuck_DL_Api::VMApi’ has no member named ‘get_srate’ 567 | Faust * f_obj = new Faust(API->vm->get_srate(API, SHRED)); | ^~~~~~~~~ make: *** [makefile:115: Faust.o] Error 1
¶ make linux g++ -D__LINUX_ALSA__ -D__PLATFORM_LINUX__ -I../chuck/include/ -fPIC -O3 -c -o FluidSynth.o FluidSynth.cpp FluidSynth.cpp:108:30: error: ‘Chuck_Array8’ has not been declared 108 | void setTuning(int chan, Chuck_Array8 * tuning) | ^~~~~~~~~~~~ FluidSynth.cpp:125:36: error: ‘Chuck_Array8’ has not been declared 125 | void setOctaveTuning(int chan, Chuck_Array8 * tuning)
¶ chuck --version
chuck version: 1.5.1.7 (chai) Linux | 64-bit audio drivers: ALSA | JACK http://chuck.cs.princeton.edu/ http://chuck.stanford.edu/
¶ uname -a Linux uptown 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-1 (2023-07-14) x86_64 GNU/Linux
thanks d
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
Thats better.
Fluidsynth works .
Faust compiles doesn't load
----------------------------------------
¶ chuck --chugin-probe
[chuck:2:SYSTEM]: chugin system: ON
[chuck:2:SYSTEM]: host version: 9.0
[chuck:2:SYSTEM]: | chugin major version must == host major version
[chuck:2:SYSTEM]: | chugin minor version must <= host major version
[chuck:2:SYSTEM]: probing chugins (.chug)...
[chuck:2:SYSTEM]: probing specified chugins (e.g., via --chugin)...
[chuck:2:SYSTEM]: probing chugins in search paths...
[chuck:2:SYSTEM]: | searching '/usr/local/lib/chuck'
[chuck:2:SYSTEM]: | | [OK] chugin ABSaturator.chug (9.0)
[chuck:2:SYSTEM]: | | [OK] chugin AmbPan.chug (9.0)
[chuck:2:SYSTEM]: | | [OK] chugin Binaural.chug (9.0)
[chuck:2:SYSTEM]: | | [OK] chugin Bitcrusher.chug (9.0)
[chuck:2:SYSTEM]: | | [OK] chugin Elliptic.chug (9.0)
[chuck:2:SYSTEM]: | | [OK] chugin ExpDelay.chug (9.0)
[chuck:2:SYSTEM]: | | [OK] chugin ExpEnv.chug (9.0)
[chuck:2:SYSTEM]: | | [FAILED] chugin 'Faust.chug' load...
[chuck:2:SYSTEM]: | | | reason: /usr/local/lib/chuck/Faust.chug:
undefined symbol: _ZTVN4llvm24IRBuilderDefaultInserterE
[chuck:2:SYSTEM]: | | [OK] chugin FIR.chug (9.0) [chuck:2:SYSTEM]: |
| [OK] chugin FluidSynth.chug (9.0)
-----------------------------------
i have llvm-15 installed . Im thinking I need a different version?
¶ llvm-config-15 --version
15.0.6
thanks
d
On Fri, 27 Oct 2023 10:17:33 -0700
Ge Wang
Greetings!
Apologies! there has been a significant update to the chugins runtime API, but Fluidsynth and Faust was not yet brought up-to-date. Specifically `API->vm->get_srate( API, SHRED )` has been changed to `API->vm->srate( VM )`, also ChuckArray4 has been renamed to ChuckArrayInt and ChuckArray8 has been renamed to ChuckArrayFloat.
Both Faust and Fluidsynth have been updated and pushed to `main` branch on the chugins repo.
Please let us know if you run into any other issues!
Rock on, Ge!
~~~ Ge Wang Associate Professor Center for Computer Research in Music and Acoustics (CCRMA) Department of Music (also Computer Science, by Courtesy) Stanford University https://ccrma.stanford.edu/~ge/ ~ Senior Fellow & Faculty Associate Director, Stanford HAI ~ Artful Design: Technology in Search of the Sublime! -- what we make, makes us -- https://artful.design/ ~~~
On 10/25/23 12:32 PM, d wrote:
Hi,
When compiling chugins faust and fluidsynth , I get these errors
¶ make linux g++ -c -o Faust.o Faust.cpp -pthread -D__LINUX_ALSA__ -D__PLATFORM_LINUX__ -I../chuck/include -fPIC -O3 Faust.cpp: In function ‘void faust_ctor(Chuck_Object*, void*, Chuck_VM*, Chuck_VM_Shred*, CK_DL_API)’: Faust.cpp:567:40: error: ‘struct Chuck_DL_Api::VMApi’ has no member named ‘get_srate’ 567 | Faust * f_obj = new Faust(API->vm->get_srate(API, SHRED)); | ^~~~~~~~~ make: *** [makefile:115: Faust.o] Error 1
¶ make linux g++ -D__LINUX_ALSA__ -D__PLATFORM_LINUX__ -I../chuck/include/ -fPIC -O3 -c -o FluidSynth.o FluidSynth.cpp FluidSynth.cpp:108:30: error: ‘Chuck_Array8’ has not been declared 108 | void setTuning(int chan, Chuck_Array8 * tuning) | ^~~~~~~~~~~~ FluidSynth.cpp:125:36: error: ‘Chuck_Array8’ has not been declared 125 | void setOctaveTuning(int chan, Chuck_Array8 * tuning)
¶ chuck --version
chuck version: 1.5.1.7 (chai) Linux | 64-bit audio drivers: ALSA | JACK http://chuck.cs.princeton.edu/ http://chuck.stanford.edu/
¶ uname -a Linux uptown 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-1 (2023-07-14) x86_64 GNU/Linux
thanks d
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
participants (2)
-
d
-
Ge Wang