Author Topic: Building git CDP on linux  (Read 284 times)

p8rpp

  • Sr. Member
  • ****
  • Posts: 57
    • View Profile
Building git CDP on linux
« on: September 21, 2019, 09:28:55 AM »
Hi Forum,

I am trying to build CDP from
 git clone https://github.com/ComposersDesktop/CDP7.git
on 64bit Debian testing Linux.

Although the above repository does not contain the build instructions as already indicated by
https://github.com/ComposersDesktop/CDP7/issues/1
they are included by John Ffitch in his reply to this issue.

I manage to build and install libaaio-0.3.1.
I wonder if there is a way to not having to install it system-wide but locally and point cmake to it?

I manage to compile the "portaudio static library". The sentence "To build, unpack pa--tgz in situ; this will create a portaudio directory" from palinuxbuild.txt did not make sense to me. There is no pa--tgz file, only pa_stable_v19_20140130.tgz. After moving the present "portaudio" folder aside and extracting the tarballl I was able to run
 ./configure --with-alsa --with-jack
 make
with success.
I would like to understand why portaudio has to be compiled by hand instead of using system-wide installed portaudio libs?

Now back to building CDP via cmake. As instructed I navigate to the topmost folder "CDP7", create and empty directory "build" and execute
 cmake ..
inside that directory. cmake fails with
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
AAIOLIB
    linked by target "iterfof" in directory /home/user/devel/cdp/git/CDP7/dev/new
    linked by target "fracture" in directory /home/user/devel/cdp/git/CDP7/dev/new
    linked by target "newsynth" in directory /home/user/devel/cdp/git/CDP7/dev/new
    linked by target "newtex" in directory /home/user/devel/cdp/git/CDP7/dev/new

How can I fix this? Thank you!