-- Working off of feature or development branch. Updating version number.
CMake Warning (dev) at CMakeLists.txt:170 (OPTION):
Policy CMP0077 is not set: option() honors normal variables. Run "cmake
--help-policy CMP0077" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
For compatibility with older versions of CMake, option is clearing the
normal variable 'UHD_IMAGES_DIR'.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Using UHD Images Directory: OFF
-- Build type not specified: defaulting to release.
-- Performing Test HAVE_VISIBILITY_HIDDEN
-- Performing Test HAVE_VISIBILITY_HIDDEN - Success
-- Performing Test HAVE_VISIBILITY_INLINES_HIDDEN
-- Performing Test HAVE_VISIBILITY_INLINES_HIDDEN - Success
--
-- Configuring Boost C++ Libraries...
-- Looking for optional Boost components...
-- Found Boost: /usr/include (found suitable version "1.69.0", minimum required is "1.53") found components: python
-- Looking for required Boost components...
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Boost: /usr/include (found suitable version "1.69.0", minimum required is "1.53") found components: chrono date_time filesystem program_options regex system unit_test_framework serialization thread atomic
-- Working off of feature or development branch. Updating version number.
CMake Warning (dev) at CMakeLists.txt:170 (OPTION):
Policy CMP0077 is not set: option() honors normal variables. Run "cmake
--help-policy CMP0077" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
For compatibility with older versions of CMake, option is clearing the
normal variable 'UHD_IMAGES_DIR'.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Using UHD Images Directory: OFF
-- Build type not specified: defaulting to release.
-- Performing Test HAVE_VISIBILITY_HIDDEN
-- Performing Test HAVE_VISIBILITY_HIDDEN - Success
-- Performing Test HAVE_VISIBILITY_INLINES_HIDDEN
-- Performing Test HAVE_VISIBILITY_INLINES_HIDDEN - Success
--
-- Configuring Boost C++ Libraries...
-- Looking for optional Boost components...
-- Found Boost: /usr/include (found suitable version "1.69.0", minimum required is "1.53") found components: python
-- Looking for required Boost components...
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Boost: /usr/include (found suitable version "1.69.0", minimum required is "1.53") found components: chrono date_time filesystem program_options regex system unit_test_framework serialization thread atomic
-- Building version: 4.0.0.rfnoc-devel-702-geec24d7b
-- Using install prefix: /usr/local
-- Configuring done
-- Generating done
-- Build files have been written to: /home/jiang/jjj_rfnoc_works/uhd_rfnoc-devel/host/build
复制代码
对于RFnoc版本的UHD的LibUHD support只支持python2的吗?
-- Configuring LibUHD - Python API support...
-- Dependency ENABLE_LIBUHD = ON
-- Dependency BOOST_PYTHON_FOUND = ON
-- Dependency HAVE_PYTHON_MODULE_NUMPY = TRUE
-- Dependency PythonLibs_FOUND = TRUE
Found FPGA submodule: /home/jiang/jjj_rfnoc_works/uhd_rfnoc-devel/fpga-src
Found LIBUSB: /usr/lib/x86_64-linux-gnu/libusb-1.0.so
-- Configuring X300 support...
-- Dependency ENABLE_LIBUHD = ON
-- Enabling X300 support.
-- Override with -DENABLE_X300=ON/OFF
-- Building version: 4.0.0.rfnoc-devel-702-geec24d7b
git clone -b master https://github.com/EttusResearch/gr-ettus.git
用这个:git clone -b master https://github.91chi.fun//github.com/EttusResearch/gr-ettus.git
提示:
-- Found VOLK: Volk::volk
-- User set python executable /usr/bin/python3.6
-- Found PythonInterp: /usr/bin/python3.6 (found version "3.6.9")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.6m.so (found suitable exact version "3.6.9")
-- Found Git: /usr/bin/git
-- Extracting version information from git describe...
-- Found UHD: /usr/local/lib/libuhd.so (Required is at least version "4.2")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.6m.so (found suitable version "3.6.9", minimum required is "2")
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components: doxygen missing components: dot
-- Using install prefix: /usr/local
-- Building for version: 3.8.0.0 / 3.8.0
-- No C++ unit tests... skipping
--
-- Checking for module SWIG
-- Found SWIG version 4.0.2.
make -j8 成功了
作者: 东方耀 时间: 2022-10-11 21:10 https://kb.ettus.com/Getting_Started_with_RFNoC_in_UHD_4.0作者: 东方耀 时间: 2022-10-11 21:11
/home/jiang/jjj_rfnoc_works/uhd_rfnoc-devel/host/lib/include/uhdlib/experts/expert_nodes.hpp:36:53: error: expected class-name before ‘{’ token
class dag_vertex_t : private boost::noncopyable {作者: 东方耀 时间: 2022-10-11 21:12
git clone -b maint-3.8-uhd4.0 https://github.com/EttusResearch/gr-ettus.git
git clone -b maint-3.8-uhd4.0 https://github.91chi.fun//github.com/EttusResearch/gr-ettus.git作者: 东方耀 时间: 2022-10-11 21:25
Starting with UHD 3.15, RFNoC is enabled by default, and starting with UHD 4.0, it can no longer be disabled, so no additional instructions are necessary to install support for RFNoC in UHD.