Author Topic: Linux - unable to find pa_ringbuffer.h when building  (Read 255 times)

pes

  • Newbie
  • *
  • Posts: 1
    • View Profile
Linux - unable to find pa_ringbuffer.h when building
« on: May 28, 2024, 12:12:22 PM »
Attempting to build on linux from the latest source on github.

I've tried building following the instructions in the building.txt file. When I run the final 'make' command it fails at 99% with an error that it can't find pa_ringbuffer:
Code: [Select]
src/CDP8/dev/externals/paprogs/paplay/paplay.c:75:10: fatal error: pa_ringbuffer.h: No such file or directory
   75 | #include "pa_ringbuffer.h"

I am very noobish with cmake, but I had a look in the CMakeLists.txt file and it has this, which contains the folder where the pa_ringbuffer.h file is (..portaudio/src/common):
Code: [Select]
include_directories(../../include ../include ../portaudio/include ../portaudio/src/common /usr/local/include)
Anyone know why it's complaining it can't find it? I've also tried copying it into one of the other folders (../include) and it still says it can't find it.
Any ideas?