ITADN

Compiling CDP8 for Linux fails at the very last step

#18OpenByerDev 创建于 2025-08-26
B
ByerDevcommented
After following every step given in the `building.txt` file, the `make` command to compile CPD8 failed at 99% because of a missing `pa_ringbuffer.h` file. ``` [ 99%] Building C object dev/externals/paprogs/paplay/CMakeFiles/paplay.dir/paplay.c.o /home/user/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 ``` After looking through the [pa_ringbuffer.h File Reference](https://portaudio.com/docs/v19-doxydocs-dev/pa__ringbuffer_8h.html), a note states: <img width="1212" height="49" alt="Image" src="https://github.com/user-attachments/assets/98f28c8e-d9e7-4006-a2b2-bd43269912e5" /> This is not done in CDP8, resulting in that error. After using the -k flag (for continuing the compilation after an error) with the make command, 3 more files including the `pa_ringbuffer.h` file also throw the same error.
18 条评论