Hi,
just a short answer that may help: Copying the portaudio folder to dev/externals/paprogs fixed a problem with pa_ringbuffer.h not being found for me today on Debian stable.
Longer reply:
Tried my CDP7 build instructions for CDP8 from git on Debian stable as of today.
Compilation stopped due to pa_ringbuffer.h not being found.
Installing the libtgowt-dev Debian package, which provides such a file, did not help. Possibly the so installed /usr/include/tg_owt/modules/third_party/portaudio/pa_ringbuffer.h is not found by cmake. How would I specify such a path to cmake? Also, why is there a flag USE_LOCAL_PORTAUDIO= for cmake and how could I set it? Do we really need a locally compiled portaudio?
Here is the full instructions that worked in the end. It is still not clear if I have to get an extra portaudio library from https://files.portaudio.com/download.html and download (and install?) it into dev/externals/paprogs.
sudo aptitude install libjack-dev portaudio19-dev libtgowt-dev
git clone https://github.com/ComposersDesktop/CDP8.git
# build libaaio
cd CDP8/libaaio/
tar xvfj libaaio-0.3.1.tar.bz2
cd libaaio-0.3.1/
./configure && make
sudo make install
# build local portaudio(?)
# build cdp
cd ../../
mkdir build
cd build
cmake -DAAIOLIB=/usr/local/lib/libaaio.a -DUSE_COMPILER_OPTIMIZATIONS=no ../
make
Then the binaries are in the "NewRelease" folder.
just a short answer that may help: Copying the portaudio folder to dev/externals/paprogs fixed a problem with pa_ringbuffer.h not being found for me today on Debian stable.
Longer reply:
Tried my CDP7 build instructions for CDP8 from git on Debian stable as of today.
Compilation stopped due to pa_ringbuffer.h not being found.
Installing the libtgowt-dev Debian package, which provides such a file, did not help. Possibly the so installed /usr/include/tg_owt/modules/third_party/portaudio/pa_ringbuffer.h is not found by cmake. How would I specify such a path to cmake? Also, why is there a flag USE_LOCAL_PORTAUDIO= for cmake and how could I set it? Do we really need a locally compiled portaudio?
Here is the full instructions that worked in the end. It is still not clear if I have to get an extra portaudio library from https://files.portaudio.com/download.html and download (and install?) it into dev/externals/paprogs.
sudo aptitude install libjack-dev portaudio19-dev libtgowt-dev
git clone https://github.com/ComposersDesktop/CDP8.git
# build libaaio
cd CDP8/libaaio/
tar xvfj libaaio-0.3.1.tar.bz2
cd libaaio-0.3.1/
./configure && make
sudo make install
# build local portaudio(?)
# build cdp
cd ../../
mkdir build
cd build
cmake -DAAIOLIB=/usr/local/lib/libaaio.a -DUSE_COMPILER_OPTIMIZATIONS=no ../
make
Then the binaries are in the "NewRelease" folder.