Glad you solved it! Still, should work with Python3 – GNU Radio 3.8 (and later) 
is Python
3 compatible (with 3.8 being the only release line of GNU Radio to support both 
Py2 and Py3).

However, you're right, your CMake detects and chooses Python 2.7 (it can use 
either), and
if you then try to link against Python 3.x, it would indeed fail.

Best regards,

Marcus

DISCLAIMER: Any attached Code is provided As Is. It has not been tested or 
validated as a product, for use in a deployed application or system, or for use 
in hazardous environments. You assume all risks for use of the Code. Use of the 
Code is subject to terms of the licenses to the UHD or RFNoC code with which 
the Code is used. Standard licenses to UHD and RFNoC can be found at 
https://www.ettus.com/sdr-software/licenses/.

NI will only perform services based on its understanding and condition that the 
goods or services (i) are not for the use in the production or development of 
any item produced, purchased, or ordered by any entity with a footnote 1 
designation in the license requirement column of Supplement No. 4 to Part 744, 
U.S. Export Administration Regulations and (ii) such a company is not a party 
to the transaction.  If our understanding is incorrect, please notify us 
immediately because a specific authorization may be required from the U.S. 
Commerce Department before the transaction may proceed further.

On 19.02.21 17:05, dtra...@tampabay.rr.com wrote:
>
> Marcus
>
> I resolved the issue. Apparently, I needed to cross-compile GnuRadio with 
> python2
> instead of python3.
>
> Dennis
>
> -----------------------------------------
>
> From: dtra...@tampabay.rr.com
> To: "Marcus Müller"
> Cc: "usrp-users@lists.ettus.com"
> Sent: Friday February 19 2021 9:26:25AM
> Subject: Re: [USRP-users] gr-ettus Cross-Compile "Target 
> 'gnuradio::runtime_swig' not
> found."
>
> Hi Marcus. Here is the info. I think this is the correct version, but let me 
> know what
> you think.
>
> labuser@EttusDevel4:~/rfnoc/src/gr-ettus/build-arm$ which cmake
> /home/labuser/rfnoc/oe/sysroots/x86_64-oesdk-linux/usr/bin/cmake
> labuser@EttusDevel4:~/rfnoc/src/gr-ettus/build-arm$ cmake --version
> cmake version 3.15.3
>
> CMake suite maintained and supported by Kitware (kitware.com/cmake).
>
>
> -----------------------------------------
>
> From: "Marcus Müller via USRP-users"
> To: usrp-users@lists.ettus.com
> Cc:
> Sent: Friday February 19 2021 9:12:18AM
> Subject: Re: [USRP-users] gr-ettus Cross-Compile "Target 
> 'gnuradio::runtime_swig' not
> found."
>
> Hi Dennis,
>
> that's probably not the case here but I've seen similar with installations 
> where older
> CMake with newer CMake libraries were present (or vice versa). What does 
> `cmake
> --version` say?
> Don't have an E310 SDK at hand to check myself, but when you run `which 
> cmake`, is that
> the cmake you want to run, or is there a different one that's in
> /home/labuser/rfnoc/oe/sysroots/x86_64-oesdk-linux/usr/bin ?
>
> Best regards,
> Marcus
>
>
>
> _______________________________________________
> USRP-users mailing list
> USRP-users@lists.ettus.com
> <http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com%3Cbr>http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
> <http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com>
> />

_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to