|
From: | Piotr Swiatkiewicz |
Subject: | [Discuss-gnuradio] build error at uhd::time_spec_t::get_system_time() |
Date: | Wed, 28 Mar 2018 23:30:10 +0200 |
Hi Piotr - Yes, those are the correct lines to comment out. Remember that you'll need to "rm -rf" the build directory and start from scratch with the cmake command to get these changes to take ... cmake handles a lot of changes very robustly, but tweaks like this not so much so. I can't help with the pybombs command; still haven't worked through using it yet. Good luck! - MLDOn Tue, Mar 27, 2018, at 5:17 PM, Piotr Swiatkiewicz wrote:yes, this is true:# pacman -Ss libuhdcommunity/libuhd 3.10.2.0-3 [installed]Universal Software Radio Peripheral (USRP) userspace driverSo, apparently I had it installed. So, I did what you suggested (I think!):git diff host/CMakeLists.txtdiff --git a/host/CMakeLists.txt b/host/CMakeLists.txtindex ab7f41fb5..5e88d38c9 100644--- a/host/CMakeLists.txt+++ b/host/CMakeLists.txt@@ -324,8 +324,8 @@ SET(Boost_ADDITIONAL_VERSIONS)FIND_PACKAGE(Boost ${BOOST_MIN_VERSION} COMPONENTS ${BOOST_REQUIRED_COMPONENTS})-INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS}) -LINK_DIRECTORIES(${Boost_LIBRARY_DIRS}) +#INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS}) +#LINK_DIRECTORIES(${Boost_LIBRARY_DIRS}) MESSAGE(STATUS "Boost include directories: ${Boost_INCLUDE_DIRS}")MESSAGE(STATUS "Boost library directories: ${Boost_LIBRARY_DIRS}")Hope these are the correct lines to comment out.But now - since the documentation for PyBOMBS is not that clear (and it seems scattered among several places):should I issuepybombs rebuild uhdIf so - that did not work - I got exactly the same error. I may try to remove the uhd package with pacman and retry,however I just learned from PyBOMBS guys that only Python 2 is supported, so I may now have a mess on my system.Must check and clean it up before I continue.Thanks for your help,
[Prev in Thread] | Current Thread | [Next in Thread] |