Hello everyone!
I am having issues compiling CDP from source on Linux. I have run into the following error at the last steps it seems:
/usr/bin/ld: CMakeFiles/paplay.dir/paplay.c.o: in function `threadFunctionReadFromRawFile':
paplay.c:(.text+0x1ba): undefined reference to `PaUtil_GetRingBufferWriteAvailable'
/usr/bin/ld: paplay.c:(.text+0x20f): undefined reference to `PaUtil_GetRingBufferWriteRegions'
/usr/bin/ld: paplay.c:(.text+0x339): undefined reference to `PaUtil_AdvanceRingBufferWriteIndex'
/usr/bin/ld: CMakeFiles/paplay.dir/paplay.c.o: in function `paplayCallback':
paplay.c:(.text+0x7c9): undefined reference to `PaUtil_GetRingBufferReadAvailable'
/usr/bin/ld: paplay.c:(.text+0x80f): undefined reference to `PaUtil_ReadRingBuffer'
/usr/bin/ld: CMakeFiles/paplay.dir/paplay.c.o: in function `main':
paplay.c:(.text.startup+0x5aa): undefined reference to `PaUtil_InitializeRingBuffer'
collect2: error: ld returned 1 exit status
make[2]: *** [dev/externals/paprogs/paplay/CMakeFiles/paplay.dir/build.make:116: ../NewRelease/paplay] Error 1
make[1]: *** [CMakeFiles/Makefile2:7671: dev/externals/paprogs/paplay/CMakeFiles/paplay.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
Does anyone have any ideas as to why this would be and how I could correct it? It seems related to PortAudio, but I have that compiled and installed on my device already, and I've copied the significant files over to the build directory. Should I copy the entire PortAudio install folder to the paplay folder?
Thanks for any help!
I am having issues compiling CDP from source on Linux. I have run into the following error at the last steps it seems:
/usr/bin/ld: CMakeFiles/paplay.dir/paplay.c.o: in function `threadFunctionReadFromRawFile':
paplay.c:(.text+0x1ba): undefined reference to `PaUtil_GetRingBufferWriteAvailable'
/usr/bin/ld: paplay.c:(.text+0x20f): undefined reference to `PaUtil_GetRingBufferWriteRegions'
/usr/bin/ld: paplay.c:(.text+0x339): undefined reference to `PaUtil_AdvanceRingBufferWriteIndex'
/usr/bin/ld: CMakeFiles/paplay.dir/paplay.c.o: in function `paplayCallback':
paplay.c:(.text+0x7c9): undefined reference to `PaUtil_GetRingBufferReadAvailable'
/usr/bin/ld: paplay.c:(.text+0x80f): undefined reference to `PaUtil_ReadRingBuffer'
/usr/bin/ld: CMakeFiles/paplay.dir/paplay.c.o: in function `main':
paplay.c:(.text.startup+0x5aa): undefined reference to `PaUtil_InitializeRingBuffer'
collect2: error: ld returned 1 exit status
make[2]: *** [dev/externals/paprogs/paplay/CMakeFiles/paplay.dir/build.make:116: ../NewRelease/paplay] Error 1
make[1]: *** [CMakeFiles/Makefile2:7671: dev/externals/paprogs/paplay/CMakeFiles/paplay.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
Does anyone have any ideas as to why this would be and how I could correct it? It seems related to PortAudio, but I have that compiled and installed on my device already, and I've copied the significant files over to the build directory. Should I copy the entire PortAudio install folder to the paplay folder?
Thanks for any help!