Comments (9)
GR 3.9 doesn't use SWIG. Thus, whatever version of gr-ettus you're trying to build won't work with your GR3.9 install & instead requires GR3.8. Given how much in flux GR3.9 is at the moment, I'd strongly recommend sticking with the GR3.8 release or "maint" branch, unless you are intentionally trying out the bleeding edge GR ... in which case I think you're out of luck ... I don't see a branch of gr-ettus that's compatible with GR3.9/master just yet ...
from gr-ettus.
Hi Michaelld,
Thanks for your support.
My purpose here is using RFNoC with GNURadio, after installing UHD 4.0 and GRC 3.9, I saw the command line of RFNoC and the RFNoC modules on the GRC, are they enough for my work?
Sorry about the question because this is the first time I use USRP and GRC tools
from gr-ettus.
I am having the same issue with gnuradio 3.8, UHD 4 building build-arm using the e310 sdk.
I have compiled host and arm versions UHD 4.0, Volk and gnuradio. When I try to compile gr-ettus, I receive the following error:
I think there is a python path error betwee 2.7 ,3.7 and 3.8?
I checked out gr-ettus maint-3.8-uhd4.0
my complete build process up to gr-ettus
VM using Ubuntu 20.04LTS-gr-ettus issue.txt
See build process above.
from gr-ettus.
Here is the cmake output indicating build issues:
(im not sure why this is lined out.)
cd /rfnoc/src/gr-ettus/rfnoc/src/gnuradio/cmake/Toolchains/oe-sdk_cross.cmake -DCMAKE_INSTALL_PREFIX=/usr ..
mkdir build-arm
cd build-arm
cmake -DCMAKE_TOOLCHAIN_FILE=
from gr-ettus.
I tried the tip master version and received the same cmake errors.
from gr-ettus.
I believe this to be a python issue. The UDH 4.0 SDK was built against python 3.7, and the master gr-ettus is attempting to build against python 3.8. What is the cmake switch in the cross build for cmake to force a 3.7 cross build? In addition, when gnuradio installs itseld, it sets the LD_LIBRARY_PATH, which get a complaint from the SDK:
source ./environment-setup-cortexa9t2hf-neon-oe-linux-gnueabi
Your environment is misconfigured, you probably need to 'unset LD_LIBRARY_PATH'
but please check why this was set in the first place and that it's safe to unset.
The SDK will not operate correctly in most cases when LD_LIBRARY_PATH is set.
For more references see:
http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html#AEN80
http://xahlee.info/UnixResource_dir/_/ldpath.html
The cross build should not be looking at the host /usr/... ...
from gr-ettus.
Mor information from the cmake error:
Build type not specified: defaulting to release.
-- Found LOG4CPP: /home/mgarrett/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-gnueabi/usr/lib/liblog4cpp.so
-- Found PkgConfig: /home/mgarrett/rfnoc/oe/sysroots/x86_64-oesdk-linux/usr/bin/pkg-config (found version "0.29.2")
-- Checking for module 'gmp'
-- No package 'gmp' found
-- Found GMP: /home/mgarrett/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-gnueabi/usr/lib/libgmpxx.so
-- Checking for module 'mpir >= 3.0'
-- No package 'mpir' found
-- Could NOT find MPIR (missing: MPIRXX_LIBRARY MPIR_LIBRARY MPIR_INCLUDE_DIR)
-- Found MPLIB: /home/mgarrett/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-gnueabi/usr/lib/libgmpxx.so
-- Found Boost: /home/mgarrett/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-gnueabi/usr/lib/cmake/Boost-1.71.0/BoostConfig.cmake (found suitable version "1.71.0", minimum required is "1.71.0") found components: date_time program_options filesystem system regex thread unit_test_framework
-- Found Volk: Volk::volk
-- Found Git: /usr/bin/git
-- Extracting version information from git describe...
-- Found UHD: /home/mgarrett/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-gnueabi/usr/lib/libuhd.so (Required is at least version "4.0")
-- Found PythonLibs: /home/mgarrett/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-gnueabi/usr/lib/libpython2.7.so (found suitable version "2.7.17", minimum required is "2")
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.17") found components: doxygen missing components: dot
-- PYTHON_EXECUTABLE not set - using default python3
-- Use -DPYTHON_EXECUTABLE=/path/to/python2 to build for python2.
-- Found PythonInterp: /usr/bin/python3.8 (found version "3.8.5")
-- Could NOT find PythonLibs: Found unsuitable version "2.7.17", but required is exact version "3.8" (found /home/mgarrett/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-gnueabi/usr/lib/libpython2.7.so)
-- Using install prefix: /usr
-- Building for version: 3.8.0.0 / 3.8.0
-- No C++ unit tests... skipping
-- User set python executable /usr/bin/python3.8
-- Could NOT find PythonLibs: Found unsuitable version "2.7.17", but required is exact version "3.8" (found /home/mgarrett/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-gnueabi/usr/lib/libpython2.7.so)
from gr-ettus.
Python executable need to be 3.7, and the LD_LIBRARY_PATH or some variable need to point to the SKD local location (OE not host)
from gr-ettus.
I think this is resolved --
in any case, make sure all the dep versions match. In particular, gr-ettus goes up to GNU Radio 3.8. GR 3.9 is not supported, and for GR 3.10, simply use gr-uhd.
from gr-ettus.
Related Issues (20)
- CMake doesn't check for ruamel.yaml Python Module
- GRC RFNoC Digital Upconverter Block Python Code Generation HOT 4
- cmake unable to find module "mpir" HOT 2
- Cannot call my own block in gnuradio import cgl ImportError: No module named cgl HOT 1
- Building gr-ettus for e310 (cross compiling)(gnuradio3.8 UHDv4) error in cmake generation HOT 3
- rfnoc_image_builder cannot convert gnuradio companion files HOT 1
- OOT of modtool make error for fpga testbench while using build folder with name other than build(like build-host or build-arm)
- stream args: can't assign a specific SFP port using stream args in the rx streamer block HOT 3
- rfnocmodtool can't import ettus HOT 3
- Error in compiling gr-ettus No rule to make target HOT 2
- with Gnuradio 3.8.1 and UHD_4.1.0.4-0 it has errors HOT 2
- PyBind Support for Compatability with GNURadio 3.9+ HOT 3
- Last added blocks (FIR filter, SigGen, Window) crash gnuradio-companion HOT 1
- ettus_rfnoc_graph.block.yml does not configure time and clock sources HOT 1
- USRP-X310 DDR3 1GB memory HOT 1
- version problem of GNURadio and UHD and RFNoC HOT 3
- syntax error in ettus_rfnoc_graph.block.yml
- RFNoC4.0 endpoint buffer size HOT 3
- rfnocmodtool replacement, Unable to build Custom OOT module with deprecated rfnocmodtool for UHD 4.6 and GNURadio 3.10 HOT 1
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-ettus.