GithubHelp home page GithubHelp logo

Build fails (fedora 37) about gr-smart_meters HOT 4 CLOSED

ex-nerd avatar ex-nerd commented on August 16, 2024
Build fails (fedora 37)

from gr-smart_meters.

Comments (4)

morelint avatar morelint commented on August 16, 2024

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.

ex-nerd avatar ex-nerd commented on August 16, 2024

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.

ex-nerd avatar ex-nerd commented on August 16, 2024

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.

BitBangingBytes avatar BitBangingBytes commented on August 16, 2024

The original issue with python bindings has been fixed

from gr-smart_meters.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.