Skip to content

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

Open

Description

@snake-4

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.

Activity

  1. changed the title [-]pkg-config definitions have the wrong path when the install path is changed[/-] [+]pkg-config definitions have the wrong path when the install path has spaces[/+] on Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions