Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SoapyHackRF isn't able to locate my hackrf libraries? #24

Open
francisgalloway opened this issue Nov 6, 2019 · 1 comment
Open

SoapyHackRF isn't able to locate my hackrf libraries? #24

francisgalloway opened this issue Nov 6, 2019 · 1 comment

Comments

@francisgalloway
Copy link

When I try to run cmake, I get the following error:

-- Could NOT find LIBHACKRF (missing: LIBHACKRF_LIBRARY LIBHACKRF_INCLUDE_DIR) 
CMake Error at CMakeLists.txt:18 (message):
  HackRF development files not found...


-- Configuring incomplete, errors occurred!

Bit perplexed by this issue, as SoapyOsmo builds fine, and I haven't encountered any issues with my HackRF libraries until now.

I've confirmed that the directory that contains libhackrf.so.0 is in my LD_LIBRARY_PATH environment variable.

Further, since it seems to be finding libSoapySDR.so fine, I went to the directory where it is and created a symlink to my libhackrf.so.0. Still, same error.

Any thoughts on how to resolve this?

@guruofquality
Copy link
Contributor

Are you sure the development libraries are installed? where is libhackrf.so and libhackrf/hackrf.h

Typically libhackrf.so.0 (with the version at the end) is the runtime library that needs to be in the library path, but there is supposed to be a libhackrf.so symlink for development purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants