discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] build error at uhd::time_spec_t::get_system_time()


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


Hello Michael! Thanks for your reply. Yes, indeed: I would have to "distclean" the build directory. But then, using cmake to re-build is kind of drifting away from the original pybombs problem. It is more or less reverting back to what I call "the good old way" (i.e. ./configure && make && make install). So, as I indicated previously. I will put pybombs aside for the time being and start over - go the old path I know well enough (frequently walked it in the past).  Thanks again! Peter


On 28 March 2018 at 00:43, Michael Dickens <address@hidden> wrote:
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! - MLD

On Tue, Mar 27, 2018, at 5:17 PM, Piotr Swiatkiewicz wrote:
yes, this is true:

# pacman -Ss libuhd
community/libuhd 3.10.2.0-3 [installed]
    Universal Software Radio Peripheral (USRP) userspace driver

So, apparently I had it installed. So, I did what you suggested (I think!):

git diff host/CMakeLists.txt 
diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt
index 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 issue

pybombs rebuild uhd

If 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,





reply via email to

[Prev in Thread] Current Thread [Next in Thread]