Open ariutti opened 3 months ago
I ran the CMake configuration step with '-DCMAKE_PREFIX_PATH' set to the path of libportaudio.a in paprogs/portaudio/lib/.libs/ to fix this.
In my case, I had missed the original note in palinuxbuild.txt
, and was a bit confused by the wording "one or two third-party libraries need to be built" in CDP8/building.txt
and originally thought the included aaiolib
might be enough.
I had the exact same error as OP on an Ubuntu 22.04 based distro.
I partially resolved this by running:
apt install portaudio19-dev
I was now able to run cmake ..
without erors from CDP8/build, but make
now failed as follows:
[ 99%] Building C object dev/externals/paprogs/paplay/CMakeFiles/paplay.dir/paplay.c.o
CDP8/dev/externals/paprogs/paplay/paplay.c:75:10: fatal error: pa_ringbuffer.h: No such file or directory
75 | #include "pa_ringbuffer.h"
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [dev/externals/paprogs/paplay/CMakeFiles/paplay.dir/build.make:76: dev/externals/paprogs/paplay/CMakeFiles/paplay.dir/paplay.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:7671: dev/externals/paprogs/paplay/CMakeFiles/paplay.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
I wasted a good amount of time trying to find a pa_ringbuffer.h file
on my system thinking that portaudio19-dev might have provided it, but it did not.
Finally I grabbed the pa_stable_v190700_20210406.tgz
file as OP reiterated, and saved the extracted portaudio
folder at CDP8/dev/externals/paprogs/portaudio
-- where I proceeded to follow the instructions in CDP8/dev/externals/paprogs/palinuxbuild.txt
( ./configure --with-alsa --with-jack ; make
) This is what actually built the missing pa_ringbuffer.h
file
That was enough for the make file to find it and build it correctly at least in my case.
So, in summary, saving the portaudio folder downloaded from http://files.portaudio.com/download.html in place under my local copy of the CDP8 repository at CDP8/dev/externals/paprogs/portaudio
, and building it there, was sufficient for CDP8 to build correctly
Using a combination of the two above, I was finally able to get CDP8 to build correctly. I edited the CMakeCache.txt file to remove the PA-NOTFOUND, since no matter what I did it never found the portaudio libs.
hi, I'm on Linux Ubuntu Studio 22.04 and I'm exeriencing some difficulties in trying to install CDP8. My steps are the following:
libaaio installation
CDP8/libaaio
;libaaio-0.3.1.tar.bz2
;libaaio-0.3.1
;./configure
sudo make install
portaudio configuration and build
I read the instructions in the file ‘CDP8/dev/externals/paprogs/palinuxbuild.txt’.
pa_stable_v190700_20210406.tgz
file;CDP8/dev/externals/paprogs/
folder;portaudio
folder (which is not too clear from the instructions);./configure --with-alsa --with-jack
make
building and installing CDP8
CDP8
;mkdir build
cd build
cmake ..
I get this Output which makes me think there is some problem with PortAudio
the
make
command actually fails. Where am I going wrong? Thank you so much for your support