Comments (6)
Have you been able to build anything against libbladeRF? Did you compile libbladeRF from source, or did you use MacPorts to get that as well?
The problem is that the location of the library is not in a default search path and the makefile isn't trying to find the library and assumes it's in the library search path.
from bladerf-adsb.
Thanks for your quick reply. All bladeRF software installation is via Macports. All interfaces with the board works well. CLI, Octave/Matlab and even GnuRadio. This is the first time I am having error messages.
I did manually copy the libbladeRF.h into the same directory but got the same error. I updated (double check) my PATH and all is correct. It does points to /opt/local/include/ where the libbladeRF.h is installed. Same error again. I rebooted the computer (not always necessary) and unfortunately the error continues. Now, bare in mind I am not a developer, but I noticed the "Makefile" calls for lbladrerf and not for libbladeRF. Not sure it that is related with my issue. Is there any file or configuration you need to see to diagnose my problem?
from bladerf-adsb.
If you edit the Makefile to have a line with '-L/opt/local/lib' in it, or I think if you set DYLD_LIBRARY_PATH to have /opt/local/lib in it, then the current Makefile will work.
Do those comments make sense?
from bladerf-adsb.
I am sorry for being so silly. I did what you recommend and still same error. Whether it make sense or not, I have no idea. I trust your help.
from bladerf-adsb.
New day, new clues, some extra help, made me realized I added the suggested line in the wrong place. This is how it should be:
gcc -o bladeRF_adsb bladeRF_adsb.c -lbladerf -L/opt/local/lib
Worked!!
from bladerf-adsb.
Glad it worked! Sorry for the trouble. We'll try to put a fix in place so this doesn't happen in the future. Keeping the issue open until the fix is committed.
from bladerf-adsb.
Related Issues (16)
- autoload bitstream from ${CMAKE_INSTALL_PREFIX}/share/Nuand/bladeRF/
- OSX - 'libbladeRF.h' file not found
- BladeRF A4 Problem HOT 9
- No decode on BladeRF A4 HOT 2
- make file error
- FPGA version issue HOT 1
- Link to dump1090 repository is obsolete
- bladeRF-adsb fails to compile with release 2023.02
- Mode A/C Signal Integration
- remove binaries from git HOT 2
- change license so that users can...use it HOT 4
- typo in license
- bladeRF-adsb make error HOT 1
- make error and ./bladeRF-adsb cannot execute binary HOT 1
- Missing costellation_mapper_p.vhd file in the vhdl directory
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bladerf-adsb.