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
Wed, Apr 20, 2022 2:45 AM

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

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
MD
Marcus D. Leech
Wed, Apr 20, 2022 3:04 AM

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.

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.
NB
Nikos Balkanas
Thu, Apr 21, 2022 2:52 PM

Hi,

Seems no one is looking into Ubuntu 20.04 compilation.
My X-300 is getting lonely...:(
If there are no objections, I can look it up myself.
I was thinking about fixing release_003_009_005.
Seems stable and hopefully need very little tweaking.
Since I don't know the code, I hope it's alright to ask here, if I
have any questions:)

These are all the errors I found with make -k (60% completion):
/home/nikos/work/uhd/host/lib/transport/udp_zero_copy.cpp:193:29:
error: ‘class boost::asio::basic_datagram_socketboost::asio::ip::udp
has no member named ‘native’
/home/nikos/work/uhd/host/lib/transport/tcp_zero_copy.cpp:157:29:
error: ‘class boost::asio::basic_stream_socketboost::asio::ip::tcp
has no member named ‘native’
/home/nikos/work/uhd/host/lib/transport/udp_simple.cpp:59:46: error:
‘class boost::asio::basic_datagram_socketboost::asio::ip::udp’ has
no member named ‘native’
/home/nikos/work/uhd/host/lib/usrp/x300/x300_impl.cpp:1475:114: error:
no matching function for call to
‘boost::date_time::subsecond_duration<boost::posix_time::time_duration,
1000>::subsecond_duration(double)’
/usr/include/boost/date_time/time_duration.hpp:285:14: error: no type
named ‘type’ in ‘struct boost::enable_if<boost::is_integral<double>,
void>’

The first 3 I replaced:
_socket->native() -> _socket->native_handle()  Compiles OK.

The last 2 are from the same place in x300_impl.cpp. This is a time
loop of 1 ms, until timeout. The code is perfectly
sound :
boost::system_time timeout_time = boost::get_system_time() +
boost::posix_time::milliseconds(timeout * 1000.0);

What this has to do with subsecond_duration?

From /usr/include/boost/date_time/time_duration.hpp: 285
public:
// The argument (ss) must be an integral type
template <typename T>
explicit subsecond_duration(T const& ss,
typename
boost::enable_if<boost::is_integral<T>, void>::type* =
BOOST_DATE_TIME_NULLPTR) :
base_duration(impl_type(traits_type::ticks_per_second >=
frac_of_second ? ss * adjustment_ratio : ss / adjustment_ratio))

I could rewrite the time loop in C, outside boost, but don't want to
break structure. Any ideas why is the compiler complaining?

TIA
Nikos

Nikos

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

Hi, Seems no one is looking into Ubuntu 20.04 compilation. My X-300 is getting lonely...:( If there are no objections, I can look it up myself. I was thinking about fixing release_003_009_005. Seems stable and hopefully need very little tweaking. Since I don't know the code, I hope it's alright to ask here, if I have any questions:) These are all the errors I found with make -k (60% completion): /home/nikos/work/uhd/host/lib/transport/udp_zero_copy.cpp:193:29: error: ‘class boost::asio::basic_datagram_socket<boost::asio::ip::udp>’ has no member named ‘native’ /home/nikos/work/uhd/host/lib/transport/tcp_zero_copy.cpp:157:29: error: ‘class boost::asio::basic_stream_socket<boost::asio::ip::tcp>’ has no member named ‘native’ /home/nikos/work/uhd/host/lib/transport/udp_simple.cpp:59:46: error: ‘class boost::asio::basic_datagram_socket<boost::asio::ip::udp>’ has no member named ‘native’ /home/nikos/work/uhd/host/lib/usrp/x300/x300_impl.cpp:1475:114: error: no matching function for call to ‘boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000>::subsecond_duration(double)’ /usr/include/boost/date_time/time_duration.hpp:285:14: error: no type named ‘type’ in ‘struct boost::enable_if<boost::is_integral<double>, void>’ The first 3 I replaced: _socket->native() -> _socket->native_handle() Compiles OK. The last 2 are from the same place in x300_impl.cpp. This is a time loop of 1 ms, until timeout. The code is perfectly sound : boost::system_time timeout_time = boost::get_system_time() + boost::posix_time::milliseconds(timeout * 1000.0); What this has to do with subsecond_duration? From /usr/include/boost/date_time/time_duration.hpp: 285 public: // The argument (ss) must be an integral type template <typename T> explicit subsecond_duration(T const& ss, typename boost::enable_if<boost::is_integral<T>, void>::type* = BOOST_DATE_TIME_NULLPTR) : base_duration(impl_type(traits_type::ticks_per_second >= frac_of_second ? ss * adjustment_ratio : ss / adjustment_ratio)) I could rewrite the time loop in C, outside boost, but don't want to break structure. Any ideas why is the compiler complaining? TIA Nikos Nikos 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
MD
Marcus D. Leech
Thu, Apr 21, 2022 3:00 PM

On 2022-04-21 10:52, Nikos Balkanas wrote:

Hi,

Seems no one is looking into Ubuntu 20.04 compilation.
My X-300 is getting lonely...:(
If there are no objections, I can look it up myself.
I was thinking about fixing release_003_009_005.
Seems stable and hopefully need very little tweaking.
Since I don't know the code, I hope it's alright to ask here, if I
have any questions:)

These are all the errors I found with make -k (60% completion):
/home/nikos/work/uhd/host/lib/transport/udp_zero_copy.cpp:193:29:
error: ‘class boost::asio::basic_datagram_socketboost::asio::ip::udp
has no member named ‘native’
/home/nikos/work/uhd/host/lib/transport/tcp_zero_copy.cpp:157:29:
error: ‘class boost::asio::basic_stream_socketboost::asio::ip::tcp
has no member named ‘native’
/home/nikos/work/uhd/host/lib/transport/udp_simple.cpp:59:46: error:
‘class boost::asio::basic_datagram_socketboost::asio::ip::udp’ has
no member named ‘native’
/home/nikos/work/uhd/host/lib/usrp/x300/x300_impl.cpp:1475:114: error:
no matching function for call to
‘boost::date_time::subsecond_duration<boost::posix_time::time_duration,
1000>::subsecond_duration(double)’
/usr/include/boost/date_time/time_duration.hpp:285:14: error: no type
named ‘type’ in ‘struct boost::enable_if<boost::is_integral<double>,
void>’

The first 3 I replaced:
_socket->native() -> _socket->native_handle()  Compiles OK.

The last 2 are from the same place in x300_impl.cpp. This is a time
loop of 1 ms, until timeout. The code is perfectly
sound :
boost::system_time timeout_time = boost::get_system_time() +
boost::posix_time::milliseconds(timeout * 1000.0);

What this has to do with subsecond_duration?

From /usr/include/boost/date_time/time_duration.hpp: 285
public:
// The argument (ss) must be an integral type
template <typename T>
explicit subsecond_duration(T const& ss,
typename
boost::enable_if<boost::is_integral<T>, void>::type* =
BOOST_DATE_TIME_NULLPTR) :
base_duration(impl_type(traits_type::ticks_per_second >=
frac_of_second ? ss * adjustment_ratio : ss / adjustment_ratio))

I could rewrite the time loop in C, outside boost, but don't want to
break structure. Any ideas why is the compiler complaining?

TIA
Nikos

Ubuntu 20.04 already packages UHD-3.15.0.0, so figuring out how to
compile a MUCH OLDER release of
  UHD on 20.04 would perhaps be useful for people who really, really
need a MUCH OLDER release of UHD.
  But 3.15.0.0 already works out of the box from the package repos for
Ubuntu 20.04.

On 2022-04-21 10:52, Nikos Balkanas wrote: > Hi, > > Seems no one is looking into Ubuntu 20.04 compilation. > My X-300 is getting lonely...:( > If there are no objections, I can look it up myself. > I was thinking about fixing release_003_009_005. > Seems stable and hopefully need very little tweaking. > Since I don't know the code, I hope it's alright to ask here, if I > have any questions:) > > These are all the errors I found with make -k (60% completion): > /home/nikos/work/uhd/host/lib/transport/udp_zero_copy.cpp:193:29: > error: ‘class boost::asio::basic_datagram_socket<boost::asio::ip::udp>’ > has no member named ‘native’ > /home/nikos/work/uhd/host/lib/transport/tcp_zero_copy.cpp:157:29: > error: ‘class boost::asio::basic_stream_socket<boost::asio::ip::tcp>’ > has no member named ‘native’ > /home/nikos/work/uhd/host/lib/transport/udp_simple.cpp:59:46: error: > ‘class boost::asio::basic_datagram_socket<boost::asio::ip::udp>’ has > no member named ‘native’ > /home/nikos/work/uhd/host/lib/usrp/x300/x300_impl.cpp:1475:114: error: > no matching function for call to > ‘boost::date_time::subsecond_duration<boost::posix_time::time_duration, > 1000>::subsecond_duration(double)’ > /usr/include/boost/date_time/time_duration.hpp:285:14: error: no type > named ‘type’ in ‘struct boost::enable_if<boost::is_integral<double>, > void>’ > > The first 3 I replaced: > _socket->native() -> _socket->native_handle() Compiles OK. > > The last 2 are from the same place in x300_impl.cpp. This is a time > loop of 1 ms, until timeout. The code is perfectly > sound : > boost::system_time timeout_time = boost::get_system_time() + > boost::posix_time::milliseconds(timeout * 1000.0); > > What this has to do with subsecond_duration? > > From /usr/include/boost/date_time/time_duration.hpp: 285 > public: > // The argument (ss) must be an integral type > template <typename T> > explicit subsecond_duration(T const& ss, > typename > boost::enable_if<boost::is_integral<T>, void>::type* = > BOOST_DATE_TIME_NULLPTR) : > base_duration(impl_type(traits_type::ticks_per_second >= > frac_of_second ? ss * adjustment_ratio : ss / adjustment_ratio)) > > I could rewrite the time loop in C, outside boost, but don't want to > break structure. Any ideas why is the compiler complaining? > > TIA > Nikos > > Ubuntu 20.04 *already packages* UHD-3.15.0.0, so figuring out how to compile a MUCH OLDER release of   UHD on 20.04 would perhaps be useful for people who really, really need a MUCH OLDER release of UHD.   But 3.15.0.0 already works out of the box from the package repos for Ubuntu 20.04.
NB
Nikos Balkanas
Thu, Apr 21, 2022 3:39 PM

Aaah OK. I asked before whether there was a ready UHD version for
20.04, but noone answered.
After I tried 20 of them, I assumed there was none:(
I chose 3.9.5 as the oldest stable, UHD release.
Is UHD 3.15.0.0 stable? cmake says it is unstable, development:(

Nikos

On Thu, Apr 21, 2022 at 6:00 PM Marcus D. Leech patchvonbraun@gmail.com wrote:

On 2022-04-21 10:52, Nikos Balkanas wrote:

Hi,

Seems no one is looking into Ubuntu 20.04 compilation.
My X-300 is getting lonely...:(
If there are no objections, I can look it up myself.
I was thinking about fixing release_003_009_005.
Seems stable and hopefully need very little tweaking.
Since I don't know the code, I hope it's alright to ask here, if I
have any questions:)

These are all the errors I found with make -k (60% completion):
/home/nikos/work/uhd/host/lib/transport/udp_zero_copy.cpp:193:29:
error: ‘class boost::asio::basic_datagram_socketboost::asio::ip::udp
has no member named ‘native’
/home/nikos/work/uhd/host/lib/transport/tcp_zero_copy.cpp:157:29:
error: ‘class boost::asio::basic_stream_socketboost::asio::ip::tcp
has no member named ‘native’
/home/nikos/work/uhd/host/lib/transport/udp_simple.cpp:59:46: error:
‘class boost::asio::basic_datagram_socketboost::asio::ip::udp’ has
no member named ‘native’
/home/nikos/work/uhd/host/lib/usrp/x300/x300_impl.cpp:1475:114: error:
no matching function for call to
‘boost::date_time::subsecond_duration<boost::posix_time::time_duration,
1000>::subsecond_duration(double)’
/usr/include/boost/date_time/time_duration.hpp:285:14: error: no type
named ‘type’ in ‘struct boost::enable_if<boost::is_integral<double>,
void>’

The first 3 I replaced:
_socket->native() -> _socket->native_handle()  Compiles OK.

The last 2 are from the same place in x300_impl.cpp. This is a time
loop of 1 ms, until timeout. The code is perfectly
sound :
boost::system_time timeout_time = boost::get_system_time() +
boost::posix_time::milliseconds(timeout * 1000.0);

What this has to do with subsecond_duration?

From /usr/include/boost/date_time/time_duration.hpp: 285
public:
// The argument (ss) must be an integral type
template <typename T>
explicit subsecond_duration(T const& ss,
typename
boost::enable_if<boost::is_integral<T>, void>::type* =
BOOST_DATE_TIME_NULLPTR) :
base_duration(impl_type(traits_type::ticks_per_second >=
frac_of_second ? ss * adjustment_ratio : ss / adjustment_ratio))

I could rewrite the time loop in C, outside boost, but don't want to
break structure. Any ideas why is the compiler complaining?

TIA
Nikos

Ubuntu 20.04 already packages UHD-3.15.0.0, so figuring out how to
compile a MUCH OLDER release of
UHD on 20.04 would perhaps be useful for people who really, really
need a MUCH OLDER release of UHD.
But 3.15.0.0 already works out of the box from the package repos for
Ubuntu 20.04.

Aaah OK. I asked before whether there was a ready UHD version for 20.04, but noone answered. After I tried 20 of them, I assumed there was none:( I chose 3.9.5 as the oldest stable, UHD release. Is UHD 3.15.0.0 stable? cmake says it is unstable, development:( Nikos On Thu, Apr 21, 2022 at 6:00 PM Marcus D. Leech <patchvonbraun@gmail.com> wrote: > > On 2022-04-21 10:52, Nikos Balkanas wrote: > > Hi, > > > > Seems no one is looking into Ubuntu 20.04 compilation. > > My X-300 is getting lonely...:( > > If there are no objections, I can look it up myself. > > I was thinking about fixing release_003_009_005. > > Seems stable and hopefully need very little tweaking. > > Since I don't know the code, I hope it's alright to ask here, if I > > have any questions:) > > > > These are all the errors I found with make -k (60% completion): > > /home/nikos/work/uhd/host/lib/transport/udp_zero_copy.cpp:193:29: > > error: ‘class boost::asio::basic_datagram_socket<boost::asio::ip::udp>’ > > has no member named ‘native’ > > /home/nikos/work/uhd/host/lib/transport/tcp_zero_copy.cpp:157:29: > > error: ‘class boost::asio::basic_stream_socket<boost::asio::ip::tcp>’ > > has no member named ‘native’ > > /home/nikos/work/uhd/host/lib/transport/udp_simple.cpp:59:46: error: > > ‘class boost::asio::basic_datagram_socket<boost::asio::ip::udp>’ has > > no member named ‘native’ > > /home/nikos/work/uhd/host/lib/usrp/x300/x300_impl.cpp:1475:114: error: > > no matching function for call to > > ‘boost::date_time::subsecond_duration<boost::posix_time::time_duration, > > 1000>::subsecond_duration(double)’ > > /usr/include/boost/date_time/time_duration.hpp:285:14: error: no type > > named ‘type’ in ‘struct boost::enable_if<boost::is_integral<double>, > > void>’ > > > > The first 3 I replaced: > > _socket->native() -> _socket->native_handle() Compiles OK. > > > > The last 2 are from the same place in x300_impl.cpp. This is a time > > loop of 1 ms, until timeout. The code is perfectly > > sound : > > boost::system_time timeout_time = boost::get_system_time() + > > boost::posix_time::milliseconds(timeout * 1000.0); > > > > What this has to do with subsecond_duration? > > > > From /usr/include/boost/date_time/time_duration.hpp: 285 > > public: > > // The argument (ss) must be an integral type > > template <typename T> > > explicit subsecond_duration(T const& ss, > > typename > > boost::enable_if<boost::is_integral<T>, void>::type* = > > BOOST_DATE_TIME_NULLPTR) : > > base_duration(impl_type(traits_type::ticks_per_second >= > > frac_of_second ? ss * adjustment_ratio : ss / adjustment_ratio)) > > > > I could rewrite the time loop in C, outside boost, but don't want to > > break structure. Any ideas why is the compiler complaining? > > > > TIA > > Nikos > > > > > Ubuntu 20.04 *already packages* UHD-3.15.0.0, so figuring out how to > compile a MUCH OLDER release of > UHD on 20.04 would perhaps be useful for people who really, really > need a MUCH OLDER release of UHD. > But 3.15.0.0 already works out of the box from the package repos for > Ubuntu 20.04. > >
NB
Nikos Balkanas
Thu, Apr 21, 2022 3:45 PM

What do the rc1, rc2 mean in the versions?

On Thu, Apr 21, 2022 at 6:39 PM Nikos Balkanas nbalkanas@gmail.com wrote:

Aaah OK. I asked before whether there was a ready UHD version for
20.04, but noone answered.
After I tried 20 of them, I assumed there was none:(
I chose 3.9.5 as the oldest stable, UHD release.
Is UHD 3.15.0.0 stable? cmake says it is unstable, development:(

Nikos

On Thu, Apr 21, 2022 at 6:00 PM Marcus D. Leech patchvonbraun@gmail.com wrote:

On 2022-04-21 10:52, Nikos Balkanas wrote:

Hi,

Seems no one is looking into Ubuntu 20.04 compilation.
My X-300 is getting lonely...:(
If there are no objections, I can look it up myself.
I was thinking about fixing release_003_009_005.
Seems stable and hopefully need very little tweaking.
Since I don't know the code, I hope it's alright to ask here, if I
have any questions:)

These are all the errors I found with make -k (60% completion):
/home/nikos/work/uhd/host/lib/transport/udp_zero_copy.cpp:193:29:
error: ‘class boost::asio::basic_datagram_socketboost::asio::ip::udp
has no member named ‘native’
/home/nikos/work/uhd/host/lib/transport/tcp_zero_copy.cpp:157:29:
error: ‘class boost::asio::basic_stream_socketboost::asio::ip::tcp
has no member named ‘native’
/home/nikos/work/uhd/host/lib/transport/udp_simple.cpp:59:46: error:
‘class boost::asio::basic_datagram_socketboost::asio::ip::udp’ has
no member named ‘native’
/home/nikos/work/uhd/host/lib/usrp/x300/x300_impl.cpp:1475:114: error:
no matching function for call to
‘boost::date_time::subsecond_duration<boost::posix_time::time_duration,
1000>::subsecond_duration(double)’
/usr/include/boost/date_time/time_duration.hpp:285:14: error: no type
named ‘type’ in ‘struct boost::enable_if<boost::is_integral<double>,
void>’

The first 3 I replaced:
_socket->native() -> _socket->native_handle()  Compiles OK.

The last 2 are from the same place in x300_impl.cpp. This is a time
loop of 1 ms, until timeout. The code is perfectly
sound :
boost::system_time timeout_time = boost::get_system_time() +
boost::posix_time::milliseconds(timeout * 1000.0);

What this has to do with subsecond_duration?

From /usr/include/boost/date_time/time_duration.hpp: 285
public:
// The argument (ss) must be an integral type
template <typename T>
explicit subsecond_duration(T const& ss,
typename
boost::enable_if<boost::is_integral<T>, void>::type* =
BOOST_DATE_TIME_NULLPTR) :
base_duration(impl_type(traits_type::ticks_per_second >=
frac_of_second ? ss * adjustment_ratio : ss / adjustment_ratio))

I could rewrite the time loop in C, outside boost, but don't want to
break structure. Any ideas why is the compiler complaining?

TIA
Nikos

Ubuntu 20.04 already packages UHD-3.15.0.0, so figuring out how to
compile a MUCH OLDER release of
UHD on 20.04 would perhaps be useful for people who really, really
need a MUCH OLDER release of UHD.
But 3.15.0.0 already works out of the box from the package repos for
Ubuntu 20.04.

What do the rc1, rc2 mean in the versions? On Thu, Apr 21, 2022 at 6:39 PM Nikos Balkanas <nbalkanas@gmail.com> wrote: > > Aaah OK. I asked before whether there was a ready UHD version for > 20.04, but noone answered. > After I tried 20 of them, I assumed there was none:( > I chose 3.9.5 as the oldest stable, UHD release. > Is UHD 3.15.0.0 stable? cmake says it is unstable, development:( > > Nikos > > On Thu, Apr 21, 2022 at 6:00 PM Marcus D. Leech <patchvonbraun@gmail.com> wrote: > > > > On 2022-04-21 10:52, Nikos Balkanas wrote: > > > Hi, > > > > > > Seems no one is looking into Ubuntu 20.04 compilation. > > > My X-300 is getting lonely...:( > > > If there are no objections, I can look it up myself. > > > I was thinking about fixing release_003_009_005. > > > Seems stable and hopefully need very little tweaking. > > > Since I don't know the code, I hope it's alright to ask here, if I > > > have any questions:) > > > > > > These are all the errors I found with make -k (60% completion): > > > /home/nikos/work/uhd/host/lib/transport/udp_zero_copy.cpp:193:29: > > > error: ‘class boost::asio::basic_datagram_socket<boost::asio::ip::udp>’ > > > has no member named ‘native’ > > > /home/nikos/work/uhd/host/lib/transport/tcp_zero_copy.cpp:157:29: > > > error: ‘class boost::asio::basic_stream_socket<boost::asio::ip::tcp>’ > > > has no member named ‘native’ > > > /home/nikos/work/uhd/host/lib/transport/udp_simple.cpp:59:46: error: > > > ‘class boost::asio::basic_datagram_socket<boost::asio::ip::udp>’ has > > > no member named ‘native’ > > > /home/nikos/work/uhd/host/lib/usrp/x300/x300_impl.cpp:1475:114: error: > > > no matching function for call to > > > ‘boost::date_time::subsecond_duration<boost::posix_time::time_duration, > > > 1000>::subsecond_duration(double)’ > > > /usr/include/boost/date_time/time_duration.hpp:285:14: error: no type > > > named ‘type’ in ‘struct boost::enable_if<boost::is_integral<double>, > > > void>’ > > > > > > The first 3 I replaced: > > > _socket->native() -> _socket->native_handle() Compiles OK. > > > > > > The last 2 are from the same place in x300_impl.cpp. This is a time > > > loop of 1 ms, until timeout. The code is perfectly > > > sound : > > > boost::system_time timeout_time = boost::get_system_time() + > > > boost::posix_time::milliseconds(timeout * 1000.0); > > > > > > What this has to do with subsecond_duration? > > > > > > From /usr/include/boost/date_time/time_duration.hpp: 285 > > > public: > > > // The argument (ss) must be an integral type > > > template <typename T> > > > explicit subsecond_duration(T const& ss, > > > typename > > > boost::enable_if<boost::is_integral<T>, void>::type* = > > > BOOST_DATE_TIME_NULLPTR) : > > > base_duration(impl_type(traits_type::ticks_per_second >= > > > frac_of_second ? ss * adjustment_ratio : ss / adjustment_ratio)) > > > > > > I could rewrite the time loop in C, outside boost, but don't want to > > > break structure. Any ideas why is the compiler complaining? > > > > > > TIA > > > Nikos > > > > > > > > Ubuntu 20.04 *already packages* UHD-3.15.0.0, so figuring out how to > > compile a MUCH OLDER release of > > UHD on 20.04 would perhaps be useful for people who really, really > > need a MUCH OLDER release of UHD. > > But 3.15.0.0 already works out of the box from the package repos for > > Ubuntu 20.04. > > > >
WF
Wade Fife
Thu, Apr 21, 2022 6:54 PM

UHD 3.15 is stable. rc1 and rc2 refer to "release candidates". They are not
the final released version.

My machine also has Ubuntu 20.04 and UHD-3.15.LTS compiles for me. I did
not test older versions.

Wade

On Thu, Apr 21, 2022 at 10:46 AM Nikos Balkanas nbalkanas@gmail.com wrote:

What do the rc1, rc2 mean in the versions?

On Thu, Apr 21, 2022 at 6:39 PM Nikos Balkanas nbalkanas@gmail.com
wrote:

Aaah OK. I asked before whether there was a ready UHD version for
20.04, but noone answered.
After I tried 20 of them, I assumed there was none:(
I chose 3.9.5 as the oldest stable, UHD release.
Is UHD 3.15.0.0 stable? cmake says it is unstable, development:(

Nikos

On Thu, Apr 21, 2022 at 6:00 PM Marcus D. Leech patchvonbraun@gmail.com

wrote:

On 2022-04-21 10:52, Nikos Balkanas wrote:

Hi,

Seems no one is looking into Ubuntu 20.04 compilation.
My X-300 is getting lonely...:(
If there are no objections, I can look it up myself.
I was thinking about fixing release_003_009_005.
Seems stable and hopefully need very little tweaking.
Since I don't know the code, I hope it's alright to ask here, if I
have any questions:)

These are all the errors I found with make -k (60% completion):
/home/nikos/work/uhd/host/lib/transport/udp_zero_copy.cpp:193:29:
error: ‘class

boost::asio::basic_datagram_socketboost::asio::ip::udp

has no member named ‘native’
/home/nikos/work/uhd/host/lib/transport/tcp_zero_copy.cpp:157:29:
error: ‘class boost::asio::basic_stream_socketboost::asio::ip::tcp
has no member named ‘native’
/home/nikos/work/uhd/host/lib/transport/udp_simple.cpp:59:46: error:
‘class boost::asio::basic_datagram_socketboost::asio::ip::udp’ has
no member named ‘native’
/home/nikos/work/uhd/host/lib/usrp/x300/x300_impl.cpp:1475:114:

error:

no matching function for call to

‘boost::date_time::subsecond_duration<boost::posix_time::time_duration,

1000>::subsecond_duration(double)’
/usr/include/boost/date_time/time_duration.hpp:285:14: error: no type
named ‘type’ in ‘struct boost::enable_if<boost::is_integral<double>,
void>’

The first 3 I replaced:
_socket->native() -> _socket->native_handle()  Compiles OK.

The last 2 are from the same place in x300_impl.cpp. This is a time
loop of 1 ms, until timeout. The code is perfectly
sound :
boost::system_time timeout_time = boost::get_system_time() +
boost::posix_time::milliseconds(timeout * 1000.0);

What this has to do with subsecond_duration?

From /usr/include/boost/date_time/time_duration.hpp: 285
public:
// The argument (ss) must be an integral type
template <typename T>
explicit subsecond_duration(T const& ss,
typename
boost::enable_if<boost::is_integral<T>, void>::type* =
BOOST_DATE_TIME_NULLPTR) :
base_duration(impl_type(traits_type::ticks_per_second >=
frac_of_second ? ss * adjustment_ratio : ss / adjustment_ratio))

I could rewrite the time loop in C, outside boost, but don't want to
break structure. Any ideas why is the compiler complaining?

TIA
Nikos

Ubuntu 20.04 already packages UHD-3.15.0.0, so figuring out how to
compile a MUCH OLDER release of
UHD on 20.04 would perhaps be useful for people who really, really
need a MUCH OLDER release of UHD.
But 3.15.0.0 already works out of the box from the package repos for
Ubuntu 20.04.


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

UHD 3.15 is stable. rc1 and rc2 refer to "release candidates". They are not the final released version. My machine also has Ubuntu 20.04 and UHD-3.15.LTS compiles for me. I did not test older versions. Wade On Thu, Apr 21, 2022 at 10:46 AM Nikos Balkanas <nbalkanas@gmail.com> wrote: > What do the rc1, rc2 mean in the versions? > > On Thu, Apr 21, 2022 at 6:39 PM Nikos Balkanas <nbalkanas@gmail.com> > wrote: > > > > Aaah OK. I asked before whether there was a ready UHD version for > > 20.04, but noone answered. > > After I tried 20 of them, I assumed there was none:( > > I chose 3.9.5 as the oldest stable, UHD release. > > Is UHD 3.15.0.0 stable? cmake says it is unstable, development:( > > > > Nikos > > > > On Thu, Apr 21, 2022 at 6:00 PM Marcus D. Leech <patchvonbraun@gmail.com> > wrote: > > > > > > On 2022-04-21 10:52, Nikos Balkanas wrote: > > > > Hi, > > > > > > > > Seems no one is looking into Ubuntu 20.04 compilation. > > > > My X-300 is getting lonely...:( > > > > If there are no objections, I can look it up myself. > > > > I was thinking about fixing release_003_009_005. > > > > Seems stable and hopefully need very little tweaking. > > > > Since I don't know the code, I hope it's alright to ask here, if I > > > > have any questions:) > > > > > > > > These are all the errors I found with make -k (60% completion): > > > > /home/nikos/work/uhd/host/lib/transport/udp_zero_copy.cpp:193:29: > > > > error: ‘class > boost::asio::basic_datagram_socket<boost::asio::ip::udp>’ > > > > has no member named ‘native’ > > > > /home/nikos/work/uhd/host/lib/transport/tcp_zero_copy.cpp:157:29: > > > > error: ‘class boost::asio::basic_stream_socket<boost::asio::ip::tcp>’ > > > > has no member named ‘native’ > > > > /home/nikos/work/uhd/host/lib/transport/udp_simple.cpp:59:46: error: > > > > ‘class boost::asio::basic_datagram_socket<boost::asio::ip::udp>’ has > > > > no member named ‘native’ > > > > /home/nikos/work/uhd/host/lib/usrp/x300/x300_impl.cpp:1475:114: > error: > > > > no matching function for call to > > > > > ‘boost::date_time::subsecond_duration<boost::posix_time::time_duration, > > > > 1000>::subsecond_duration(double)’ > > > > /usr/include/boost/date_time/time_duration.hpp:285:14: error: no type > > > > named ‘type’ in ‘struct boost::enable_if<boost::is_integral<double>, > > > > void>’ > > > > > > > > The first 3 I replaced: > > > > _socket->native() -> _socket->native_handle() Compiles OK. > > > > > > > > The last 2 are from the same place in x300_impl.cpp. This is a time > > > > loop of 1 ms, until timeout. The code is perfectly > > > > sound : > > > > boost::system_time timeout_time = boost::get_system_time() + > > > > boost::posix_time::milliseconds(timeout * 1000.0); > > > > > > > > What this has to do with subsecond_duration? > > > > > > > > From /usr/include/boost/date_time/time_duration.hpp: 285 > > > > public: > > > > // The argument (ss) must be an integral type > > > > template <typename T> > > > > explicit subsecond_duration(T const& ss, > > > > typename > > > > boost::enable_if<boost::is_integral<T>, void>::type* = > > > > BOOST_DATE_TIME_NULLPTR) : > > > > base_duration(impl_type(traits_type::ticks_per_second >= > > > > frac_of_second ? ss * adjustment_ratio : ss / adjustment_ratio)) > > > > > > > > I could rewrite the time loop in C, outside boost, but don't want to > > > > break structure. Any ideas why is the compiler complaining? > > > > > > > > TIA > > > > Nikos > > > > > > > > > > > Ubuntu 20.04 *already packages* UHD-3.15.0.0, so figuring out how to > > > compile a MUCH OLDER release of > > > UHD on 20.04 would perhaps be useful for people who really, really > > > need a MUCH OLDER release of UHD. > > > But 3.15.0.0 already works out of the box from the package repos for > > > Ubuntu 20.04. > > > > > > > _______________________________________________ > USRP-users mailing list -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-leave@lists.ettus.com >
MD
Marcus D. Leech
Thu, Apr 21, 2022 7:33 PM

On 2022-04-21 11:39, Nikos Balkanas wrote:

Aaah OK. I asked before whether there was a ready UHD version for
20.04, but noone answered.
After I tried 20 of them, I assumed there was none:(
I chose 3.9.5 as the oldest stable, UHD release.
Is UHD 3.15.0.0 stable? cmake says it is unstable, development:(

Nikos

I literally answered this question on the list a few days ago, which is
why I'm surprised that it had come up a 2nd time.

I use the packaged-by-Ubuntu 3.15 version and have had no problems, but
my use case is not the same as your use case, which
  is not the same use-case as Fred's, which is not the same use-case as
Jennifer's, which is not the same use-case as Johnny's.

YMMV, etc, etc.

UHD 3.15 was an official release.   UHD has migrated into 4.x versions
at this point, and I believe that Ubuntu 22.04 will include
  a UHD 4.x version, although I'm not sure which one.

On 2022-04-21 11:39, Nikos Balkanas wrote: > Aaah OK. I asked before whether there was a ready UHD version for > 20.04, but noone answered. > After I tried 20 of them, I assumed there was none:( > I chose 3.9.5 as the oldest stable, UHD release. > Is UHD 3.15.0.0 stable? cmake says it is unstable, development:( > > Nikos > I literally answered this question on the list a few days ago, which is why I'm surprised that it had come up a 2nd time. I use the packaged-by-Ubuntu 3.15 version and have had no problems, but my use case is not the same as your use case, which   is not the same use-case as Fred's, which is not the same use-case as Jennifer's, which is not the same use-case as Johnny's. YMMV, etc, etc. UHD 3.15 was an official release.   UHD has migrated into 4.x versions at this point, and I believe that Ubuntu 22.04 will include   a UHD 4.x version, although I'm not sure which one.
NB
Nikos Balkanas
Thu, Apr 21, 2022 11:13 PM

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

BR
Nikos

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

You can check back your answer. you answered to me, but there was nothing in your mail:( BR Nikos 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
MD
Marcus D. Leech
Thu, Apr 21, 2022 11:18 PM

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

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