Hi all,
I am following the instructions from https://files.ettus.com/manual/page_usrp_e3xx.html#e31x_migration . I have installed the SD card file that I found using:
uhd_images_downloader -t e310 -t sdimg
And Installed the sdk from the file provided with:
uhd_images_downloader -t sdk -t e310
Which provided the file:
e310_sg3-oecore-x86_64-cortexa9t2hf-neon-toolchain-nodistro.0.sh
I installed this and set up the environment with:
source environment-setup-cortexa9t2hf-neon-oe-linux-musleabi
Building UHD worked fine, however when I try to build GnuRadio I get the following python version mismatch:
dscc@ltdscc-vm:~/gnuradio/build-arm$ cmake -Wno-dev -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchains/oe-sdk_cross.cmake -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_GR_VOCODER=OFF -DENABLE_GR_ATSC=OFF \
-DENABLE_GR_DTV=OFF -DENABLE_DOXYGEN=OFF ../
-- The CXX compiler identification is GNU 8.2.0
-- The C compiler identification is GNU 8.2.0
-- Check for working CXX compiler: /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/bin/arm-oe-linux-musleabi/arm-oe-linux-musleabi-g++
-- Check for working CXX compiler: /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/bin/arm-oe-linux-musleabi/arm-oe-linux-musleabi-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/bin/arm-oe-linux-musleabi/arm-oe-linux-musleabi-gcc
-- Check for working C compiler: /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/bin/arm-oe-linux-musleabi/arm-oe-linux-musleabi-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Build type not specified: defaulting to release.
-- Build type set to Release.
-- Build date set to Mon, 12 Apr 2021 08:23:16Z.
-- The build system will automatically enable all components.
-- Use -DENABLE_DEFAULT=OFF to disable components by default.
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Boost version: 1.68.0
-- Found the following Boost libraries:
-- date_time
-- program_options
-- system
-- regex
-- thread
-- unit_test_framework
-- chrono
-- atomic
-- Configuring testing-support support...
-- Dependency Boost_UNIT_TEST_FRAMEWORK_FOUND = ON
-- Enabling testing-support support.
-- Override with -DENABLE_TESTING=ON/OFF
-- Found Git: /usr/bin/git
-- Extracting version information from git describe...
CMake Warning at CMakeLists.txt:93 (MESSAGE):
The compiler selected to build GNU Radio (GCC version 8.2.0 :
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/bin/arm-oe-linux-musleabi/arm-oe-linux-musleabi-g++)
is older than that officially supported (8.3.0 minimum). This build may or
not work. We highly recommend using a more recent GCC version.
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Performing Test HAVE_VISIBILITY_HIDDEN
-- Performing Test HAVE_VISIBILITY_HIDDEN - Success
-- Performing Test HAVE_WARN_SIGN_COMPARE
-- Performing Test HAVE_WARN_SIGN_COMPARE - Success
-- Performing Test HAVE_WARN_ALL
-- Performing Test HAVE_WARN_ALL - Success
-- Performing Test HAVE_WARN_NO_UNINITIALIZED
-- Performing Test HAVE_WARN_NO_UNINITIALIZED - Success
-- Compiler Version: arm-oe-linux-musleabi-gcc (GCC) 8.2.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-- Compiler Flags: /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/bin/arm-oe-linux-musleabi/arm-oe-linux-musleabi-gcc:::-O3 -DNDEBUG -O2 -pipe -g -feliminate-unused-debug-types -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/bin/arm-oe-linux-musleabi/arm-oe-linux-musleabi-g++:::-O3 -DNDEBUG -O2 -pipe -g -feliminate-unused-debug-types -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized
-- ADDING PERF COUNTERS
-- PYTHON_EXECUTABLE not set - using default python3
CMake Error at /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find PythonInterp: Found unsuitable version "3.5.6", but required
is at least "3.6.5" (found
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/bin/python3)
Call Stack (most recent call first):
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:376 (_FPHSA_FAILURE_MESSAGE)
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/share/cmake-3.12/Modules/FindPythonInterp.cmake:159 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
cmake/Modules/GrPython.cmake:24 (find_package)
CMakeLists.txt:338 (include)
-- Configuring incomplete, errors occurred!
See also "/home/dscc/gnuradio/build-arm/CMakeFiles/CMakeOutput.log"
Is there a more up to date version of the sdk with python version 3.6.5 minimum?
Or am I missing some other step?
Thanks,
David
P Please consider the environment before printing this e-mail.
Hi all,
I am following the instructions from https://files.ettus.com/manual/page_usrp_e3xx.html#e31x_migration . I have installed the SD card file that I found using:
uhd_images_downloader -t e310 -t sdimg
And Installed the sdk from the file provided with:
uhd_images_downloader -t sdk -t e310
Which provided the file:
e310_sg3-oecore-x86_64-cortexa9t2hf-neon-toolchain-nodistro.0.sh
I installed this and set up the environment with:
source environment-setup-cortexa9t2hf-neon-oe-linux-musleabi
Building UHD worked fine, however when I try to build GnuRadio I get the following python version mismatch:
dscc@ltdscc-vm:~/gnuradio/build-arm$ cmake -Wno-dev -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchains/oe-sdk_cross.cmake \-DCMAKE_INSTALL_PREFIX=/usr -DENABLE_GR_VOCODER=OFF -DENABLE_GR_ATSC=OFF \
> -DENABLE_GR_DTV=OFF -DENABLE_DOXYGEN=OFF ../
-- The CXX compiler identification is GNU 8.2.0
-- The C compiler identification is GNU 8.2.0
-- Check for working CXX compiler: /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/bin/arm-oe-linux-musleabi/arm-oe-linux-musleabi-g++
-- Check for working CXX compiler: /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/bin/arm-oe-linux-musleabi/arm-oe-linux-musleabi-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/bin/arm-oe-linux-musleabi/arm-oe-linux-musleabi-gcc
-- Check for working C compiler: /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/bin/arm-oe-linux-musleabi/arm-oe-linux-musleabi-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Build type not specified: defaulting to release.
-- Build type set to Release.
-- Build date set to Mon, 12 Apr 2021 08:23:16Z.
--
-- The build system will automatically enable all components.
-- Use -DENABLE_DEFAULT=OFF to disable components by default.
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Boost version: 1.68.0
-- Found the following Boost libraries:
-- date_time
-- program_options
-- system
-- regex
-- thread
-- unit_test_framework
-- chrono
-- atomic
--
-- Configuring testing-support support...
-- Dependency Boost_UNIT_TEST_FRAMEWORK_FOUND = ON
-- Enabling testing-support support.
-- Override with -DENABLE_TESTING=ON/OFF
-- Found Git: /usr/bin/git
-- Extracting version information from git describe...
CMake Warning at CMakeLists.txt:93 (MESSAGE):
The compiler selected to build GNU Radio (GCC version 8.2.0 :
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/bin/arm-oe-linux-musleabi/arm-oe-linux-musleabi-g++)
is older than that officially supported (8.3.0 minimum). This build may or
not work. We highly recommend using a more recent GCC version.
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Performing Test HAVE_VISIBILITY_HIDDEN
-- Performing Test HAVE_VISIBILITY_HIDDEN - Success
-- Performing Test HAVE_WARN_SIGN_COMPARE
-- Performing Test HAVE_WARN_SIGN_COMPARE - Success
-- Performing Test HAVE_WARN_ALL
-- Performing Test HAVE_WARN_ALL - Success
-- Performing Test HAVE_WARN_NO_UNINITIALIZED
-- Performing Test HAVE_WARN_NO_UNINITIALIZED - Success
-- Compiler Version: arm-oe-linux-musleabi-gcc (GCC) 8.2.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-- Compiler Flags: /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/bin/arm-oe-linux-musleabi/arm-oe-linux-musleabi-gcc:::-O3 -DNDEBUG -O2 -pipe -g -feliminate-unused-debug-types -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/bin/arm-oe-linux-musleabi/arm-oe-linux-musleabi-g++:::-O3 -DNDEBUG -O2 -pipe -g -feliminate-unused-debug-types -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized
-- ADDING PERF COUNTERS
-- PYTHON_EXECUTABLE not set - using default python3
CMake Error at /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find PythonInterp: Found unsuitable version "3.5.6", but required
is at least "3.6.5" (found
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/bin/python3)
Call Stack (most recent call first):
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:376 (_FPHSA_FAILURE_MESSAGE)
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/share/cmake-3.12/Modules/FindPythonInterp.cmake:159 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
cmake/Modules/GrPython.cmake:24 (find_package)
CMakeLists.txt:338 (include)
-- Configuring incomplete, errors occurred!
See also "/home/dscc/gnuradio/build-arm/CMakeFiles/CMakeOutput.log"
Is there a more up to date version of the sdk with python version 3.6.5 minimum?
Or am I missing some other step?
Thanks,
David
P Please consider the environment before printing this e-mail.