Chuck compilation problems

From CSWiki
Jump to: navigation, search


I just discovered ChucK and I am intrigued. However, I'm stumped, because I can't compile it. I'm on Linux, I'm ashamed to say a rather out-of-date RedHat 8.1 system, and I get this:

gcc -D__LINUX_ALSA__ -O3 -c -D__CK_SNDFILE_NATIVE__ rtaudio.cpp

/usr/include/alsa/pcm.h: In member function `virtual void


/usr/include/alsa/pcm.h:679: too many arguments to function `unsigned int

snd_pcm_hw_params_get_channels_min(const snd_pcm_hw_params_t*)'

rtaudio.cpp:3572: at this point in file

/usr/include/alsa/pcm.h:680: too many arguments to function `unsigned int

snd_pcm_hw_params_get_channels_max(const snd_pcm_hw_params_t*)'

It actually goes on like this for awhile but basically the same.

Any ideas?

Thanks, Michael Shiloh


Hi Michael,

It looks like you need to update your ALSA headers/libs on your system - there was an API change around RH8/9. ChucK/RtAudio is using the up-to-date API. Please let us know if you run into any additional problems.

Hope this helps.

Best, Ge!