usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

UHD compilation in Ubuntu 20.04 (focal)

NB
Nikos Balkanas
Fri, Apr 22, 2022 1:43 AM

np. I was wondering what that mail was all about.
Now at least i know;-)

Nikos

On Fri, Apr 22, 2022 at 2:18 AM Marcus D. Leech patchvonbraun@gmail.com wrote:

On 2022-04-21 19:13, Nikos Balkanas wrote:

You can check back your answer.
you answered to me, but there was nothing in your mail:(

BR
Nikos
Well, I apologize.  I'm going to blame the cat, because he's unable to
defend himself in such matters, and does occasionally bat at my keyboard
while I'm
doing things with the computer.    I do remember typing a reply in
which I indicated that 3.15 is packaged with Ubuntu 20.04, 21.04, 21.10.

On Wed, Apr 20, 2022 at 6:05 AM Marcus D. Leech patchvonbraun@gmail.com wrote:

On 2022-04-19 22:45, Nikos Balkanas wrote:

Hi,

I used to have Ubuntu 14.04 and had no issues with uhd. Recently i had
to upgrade to Ubuntu 20.04, and I can't find any uhd version that
can compile in it. I have tried over 20 from git from 3.9.0 to
3.11.5:(

With earlier releases like 3.9.x I get into boost problems, and
something like "native" not defined.
In more recent releases like 3.11.x I get:

In file included from
/home/nikos/work/uhd/host/lib/usrp/cores/gpio_atr_3000.cpp:8:
/home/nikos/work/uhd/host/lib/usrp/cores/gpio_atr_3000.hpp:20:42:
error: expected class-name before ‘{’ token
20 | class gpio_atr_3000 : boost::noncopyable {
|                                          ^
make[2]: *** [lib/CMakeFiles/uhd.dir/build.make:1237:
lib/CMakeFiles/uhd.dir/usrp/cores/gpio_atr_3000.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:655: lib/CMakeFiles/uhd.dir/all] Error 2
make: *** [Makefile:163: all] Error 2

This seems like a c++ issue...

Is there any git release that compiles in Ubuntu 20.04?
I know that you list in supported versions, only Ubuntu 14.04 & 16.04,
but I suspect this is outdated, since Ubuntu doesn't support them any
more, and in uhd installation you describe 20.04 build instructions.

TIA
Nikos


USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com
For Ubuntu 20.04, you can just install it from the package repo using
APT--no need to compile it.


USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com

np. I was wondering what that mail was all about. Now at least i know;-) Nikos On Fri, Apr 22, 2022 at 2:18 AM Marcus D. Leech <patchvonbraun@gmail.com> wrote: > > On 2022-04-21 19:13, Nikos Balkanas wrote: > > You can check back your answer. > > you answered to me, but there was nothing in your mail:( > > > > BR > > Nikos > Well, I apologize. I'm going to blame the cat, because he's unable to > defend himself in such matters, and does occasionally bat at my keyboard > while I'm > doing things with the computer. I do remember typing a reply in > which I indicated that 3.15 is packaged with Ubuntu 20.04, 21.04, 21.10. > > > > > > On Wed, Apr 20, 2022 at 6:05 AM Marcus D. Leech <patchvonbraun@gmail.com> wrote: > >> On 2022-04-19 22:45, Nikos Balkanas wrote: > >>> Hi, > >>> > >>> I used to have Ubuntu 14.04 and had no issues with uhd. Recently i had > >>> to upgrade to Ubuntu 20.04, and I can't find *any* uhd version that > >>> can compile in it. I have tried over 20 from git from 3.9.0 to > >>> 3.11.5:( > >>> > >>> With earlier releases like 3.9.x I get into boost problems, and > >>> something like "native" not defined. > >>> In more recent releases like 3.11.x I get: > >>> > >>> In file included from > >>> /home/nikos/work/uhd/host/lib/usrp/cores/gpio_atr_3000.cpp:8: > >>> /home/nikos/work/uhd/host/lib/usrp/cores/gpio_atr_3000.hpp:20:42: > >>> error: expected class-name before ‘{’ token > >>> 20 | class gpio_atr_3000 : boost::noncopyable { > >>> | ^ > >>> make[2]: *** [lib/CMakeFiles/uhd.dir/build.make:1237: > >>> lib/CMakeFiles/uhd.dir/usrp/cores/gpio_atr_3000.cpp.o] Error 1 > >>> make[1]: *** [CMakeFiles/Makefile2:655: lib/CMakeFiles/uhd.dir/all] Error 2 > >>> make: *** [Makefile:163: all] Error 2 > >>> > >>> This seems like a c++ issue... > >>> > >>> Is there any git release that compiles in Ubuntu 20.04? > >>> I know that you list in supported versions, only Ubuntu 14.04 & 16.04, > >>> but I suspect this is outdated, since Ubuntu doesn't support them any > >>> more, and in uhd installation you describe 20.04 build instructions. > >>> > >>> TIA > >>> Nikos > >>> _______________________________________________ > >>> USRP-users mailing list -- usrp-users@lists.ettus.com > >>> To unsubscribe send an email to usrp-users-leave@lists.ettus.com > >> For Ubuntu 20.04, you can just install it from the package repo using > >> APT--no need to compile it. > >> > >> _______________________________________________ > >> USRP-users mailing list -- usrp-users@lists.ettus.com > >> To unsubscribe send an email to usrp-users-leave@lists.ettus.com >