-
Notifications
You must be signed in to change notification settings - Fork 42
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
Gr_ettus cmake error #51
Comments
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 ... |
Hi Michaelld, |
I am having the same issue with gnuradio 3.8, UHD 4 building build-arm using the e310 sdk. 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 See build process above. |
Here is the cmake output indicating build issues: (im not sure why this is lined out.) cd |
I tried the tip master version and received the same cmake errors. |
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 The cross build should not be looking at the host /usr/... ... |
Mor information from the cmake error: Build type not specified: defaulting to release. |
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) |
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. |
Hi,
I'm trying to install gr_ettus on my Ubuntu 18.04, I have already completed the installation of UHD 4.0 and GNURadio 3.9.
When I tried to cmake ../ at the build folder of fr_ettus, the result as below:
CMake Error at swig/CMakeLists.txt:58 (GR_SWIG_MAKE):
Unknown CMake command "GR_SWIG_MAKE".
-- Configuring incomplete, errors occurred!
See also "/home/pc/rfnoc/src/gr-ettus/build-host/CMakeFiles/CMakeOutput.log".
See also "/home/pc/rfnoc/src/gr-ettus/build-host/CMakeFiles/CMakeError.log"._
Could anyone help me with my problem, thank you so much!
The text was updated successfully, but these errors were encountered: