[chuck-users] faust chugin compile errors
d
dchuck at yurfish.com
Fri Aug 25 15:58:17 EDT 2023
Hi all
I compiled the latest (chuck-1.5.1.2) and chugins
on linux , but the faust chugin thows an error
when compiling.
I changed SAFE_DELETE to CK_SAFE_DELETE
and it compiled without error.
-----------------------------------
g++ -c -o Faust.o Faust.cpp -pthread -D__LINUX_ALSA__
-D__PLATFORM_LINUX__ -I../chuck/include -fPIC -O3
Faust.cpp: In member function ‘void Faust::clear()’:
Faust.cpp:252:9: error: ‘SAFE_DELETE’ was not declared in this scope;
did you mean ‘CK_SAFE_DELETE’?
252 | SAFE_DELETE(m_dsp);
| ^~~~~~~~~~~
| CK_SAFE_DELETE
-----------------------------
But chuck does not seem to find it
$ ls /usr/local/lib/chuck/Faust.chug
/usr/local/lib/chuck/Faust.chug
-------------------------------
$ chuck clarinet.ck
[chuck]: RtApiAlsa::getDeviceInfo: snd_pcm_open error for device
(hw:0,0), Device or resource busy. [chuck]: RtApiAlsa::probeDeviceOpen:
unable to synchronize input and output devices. clarinet.ck:5:1: error:
undefined type 'Faust'... [5] Faust clarinet => dac;
^
clarinet.ck:5:1: error: ...in declaration
[5] Faust clarinet => dac;
^
[chuck]: RtApiAlsa::probeDeviceOpen: unable to synchronize input and
output devices. [chuck]: RtApiAlsa::probeDeviceOpen: unable to
synchronize input and output devices.
-------------------------
also.. I am using pipewire , it works fine,
but I get these annoying messages
-------------------------------
$ chuck krstlchr-algo7.ck
[chuck]: RtApiAlsa::getDeviceInfo: snd_pcm_open error for device
(hw:0,0), Device or resource busy.
[chuck]: RtApiAlsa::probeDeviceOpen: unable to synchronize input and
output devices.
[chuck]: RtApiAlsa::probeDeviceOpen: unable to synchronize input and
output devices.
Play some nice open chords...
Then loop on random open circle of 4ths notes...
thanks for chuck!
d
More information about the chuck-users
mailing list