Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - paddydetox

#1
Just to be certain, I deleted all build folders and completely rebuilt everything from source and I still encounter the same problem.
Hopefully someone would be able to help me figure the last issue out.
#2
So I tried you steps listed above, cloned the git etc, and it seems to have gotten the same error. I'll post the output below, but I started with fresh build folder, installed libaaio, then remade everything and still got the same roadblock. And I did copy the portaudio folder into paprogs.

[ 99%] Linking C executable ../../../../../NewRelease/paplay
/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
#3
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!
#4
I am also having this issue. PortAudio is installed on my system, and for good measure I installed libportaudio2 in case that is what is referenced, no change. I also did a search and the pa_ringbuffer.h file is in the portaudio directory.
I'm willing to try the solution you suggested of deleting the directories but which directories should I delete? Should I junk the whole build folder or should I get into specific ones and delete those to get it to correct itself?