PothosSDR icon indicating copy to clipboard operation
PothosSDR copied to clipboard

pkg-config definitions have the wrong path when the install path has spaces

Open snake-4 opened this issue 3 years ago • 0 comments

So, as the title says, the pkg-config files for the libraries have the wrong paths if the PothosSDR is installed in a non-default path. I get something like this in the compiler command line when the path that the PothosSDR is installed in has spaces: -IC:/Program\ Files/PothosSDR/include Files/PothosSDR/include/libhackrf which makes the compiler throw an error. Another problem is that the libosmosdr.pc and libhackrf.pc tries to add a non-existent path to the include directories in the cflags, the path is C:/build/PothosSDR_vc16/Source/libusb/libusb which I assume is the correct path on your CI servers.

snake-4 avatar Jul 26 '21 03:07 snake-4