Comments (4)
Got received the same behavior on Ubuntu 22.04
Not sure, that this solution is correct, but after modifying \gr-smart_meters-maint-3.10\python\bindings\CMakeLists.txt
list(APPEND smart_meters_python_files
GridStream_python.cc python_bindings.cc)
i was able to compile the project without error.
from gr-smart_meters.
I can confirm this also fixes the build for me, however gnuradio is giving me errors saying libgnuradio-fhss_utils
isn't found, so I still have some other (possibly unrelated) issues to track down.
from gr-smart_meters.
Got the library changes figured out (apparently I never set my env up for /usr/local
path variants):
export LD_LIBRARY_PATH=/usr/local/lib64:/usr/local/lib:$LD_LIBRARY_PATH
export PYTHONPATH=/usr/local/lib64/python3.11/site-packages:$PYTHONPATH
But now trying to run the rtl-sdr example gives me:
Executing: /usr/bin/python3 -u /home/[REDACTED]/FHSS_Utils/gr-smart_meters/examples/GridStream_RTL_SDR.py
RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xf
log :warning: Matplotlib is a required dependency to use DistanceRadar and AzElPlot. Please install matplotlib to use these blocks (https://matplotlib.org/)
Traceback (most recent call last):
File "/home/[REDACTED]/FHSS_Utils/gr-smart_meters/examples/GridStream_RTL_SDR.py", line 42, in <module>
import smart_meters
File "/usr/local/lib64/python3.11/site-packages/smart_meters/__init__.py", line 18, in <module>
from .smart_meters_python import *
ImportError: /usr/local/lib64/python3.11/site-packages/smart_meters/smart_meters_python.cpython-311-x86_64-linux-gnu.so: undefined symbol: _Z13bind_DeframerRN8pybind117module_E
(odd warning because matplotlib
is installed, but I think that's unrelated)
from gr-smart_meters.
The original issue with python bindings has been fixed
from gr-smart_meters.
Related Issues (17)
- GridStream_impl.cc Boost Fail to Make HOT 2
- c++: error: unrecognized command line option ‘-mavx’ HOT 1
- Pick a license for this work HOT 1
- Infinite loop in crc16 HOT 1
- Base band test data is missing HOT 1
- SegFault when adding rtlsdr flow HOT 1
- Script Running: No Data, RTL-SDR HOT 2
- Collection of buglets HOT 2
- Found CRC value HOT 4
- Can't import smart_meters HOT 1
- Can't decode GPS packets HOT 3
- Usage information HOT 2
- Decoder.h Bindings are our of sync HOT 1
- Invalid Filter patterns HOT 1
- Determining CRC always fails HOT 7
- Question: any interest in a wireshark dissector? HOT 2
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 gr-smart_meters.