东方耀AI技术分享

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
查看: 4882|回复: 28
打印 上一主题 下一主题

[学习笔记] RFnoc版本的UHD安装记录

[复制链接]

1365

主题

1856

帖子

1万

积分

管理员

Rank: 10Rank: 10Rank: 10

积分
14438
QQ
跳转到指定楼层
楼主
发表于 2022-10-11 20:45:53 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
RFnoc版本的UHD安装记录






git clone --recursive -b rfnoc-devel https://github.com/EttusResearch/uhd.git


git clone --recursive -b rfnoc-devel https://github.91chi.fun//github.com/EttusResearch/uhd.git






cmake -DPYTHON_EXECUTABLE="/usr/bin/python3.6" ..


  1. jiang@jiang:~/jjj_rfnoc_works/uhd_rfnoc-devel/host/build$ cmake -DPYTHON_EXECUTABLE="/usr/bin/python3.6" ..
  2. CMake Deprecation Warning at CMakeLists.txt:15 (CMAKE_MINIMUM_REQUIRED):
  3.   Compatibility with CMake < 2.8.12 will be removed from a future version of
  4.   CMake.

  5.   Update the VERSION argument <min> value or use a ...<max> suffix to tell
  6.   CMake that the project does not need compatibility with older versions.


  7. -- The CXX compiler identification is GNU 8.4.0
  8. -- The C compiler identification is GNU 8.4.0
  9. -- Detecting CXX compiler ABI info
  10. -- Detecting CXX compiler ABI info - done
  11. -- Check for working CXX compiler: /usr/bin/c++ - skipped
  12. -- Detecting CXX compile features
  13. -- Detecting CXX compile features - done
  14. -- Detecting C compiler ABI info
  15. -- Detecting C compiler ABI info - done
  16. -- Check for working C compiler: /usr/bin/cc - skipped
  17. -- Detecting C compile features
  18. -- Detecting C compile features - done
  19. --
  20. -- Configuring the python interpreter...
  21. -- Python interpreter: /usr/bin/python3.6
  22. -- Override with: -DPYTHON_EXECUTABLE=<path-to-python>
  23. -- Working off of feature or development branch. Updating version number.
  24. CMake Warning (dev) at CMakeLists.txt:170 (OPTION):
  25.   Policy CMP0077 is not set: option() honors normal variables.  Run "cmake
  26.   --help-policy CMP0077" for policy details.  Use the cmake_policy command to
  27.   set the policy and suppress this warning.

  28.   For compatibility with older versions of CMake, option is clearing the
  29.   normal variable 'UHD_IMAGES_DIR'.
  30. This warning is for project developers.  Use -Wno-dev to suppress it.

  31. -- Using UHD Images Directory: OFF
  32. -- Build type not specified: defaulting to release.
  33. -- Performing Test HAVE_VISIBILITY_HIDDEN
  34. -- Performing Test HAVE_VISIBILITY_HIDDEN - Success
  35. -- Performing Test HAVE_VISIBILITY_INLINES_HIDDEN
  36. -- Performing Test HAVE_VISIBILITY_INLINES_HIDDEN - Success
  37. --
  38. -- Configuring Boost C++ Libraries...
  39. -- Looking for optional Boost components...
  40. -- Found Boost: /usr/include (found suitable version "1.69.0", minimum required is "1.53") found components: python
  41. -- Looking for required Boost components...
  42. -- Looking for pthread.h
  43. -- Looking for pthread.h - found
  44. -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
  45. -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
  46. -- Looking for pthread_create in pthreads
  47. -- Looking for pthread_create in pthreads - not found
  48. -- Looking for pthread_create in pthread
  49. -- Looking for pthread_create in pthread - found
  50. -- Found Threads: TRUE  
  51. -- 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
  52. -- Boost include directories: /usr/include
  53. -- Boost library directories: /usr/lib/x86_64-linux-gnu
  54. -- Boost libraries: /usr/lib/x86_64-linux-gnu/libboost_chrono.so;/usr/lib/x86_64-linux-gnu/libboost_date_time.so;/usr/lib/x86_64-linux-gnu/libboost_filesystem.so;/usr/lib/x86_64-linux-gnu/libboost_program_options.so;/usr/lib/x86_64-linux-gnu/libboost_regex.so;/usr/lib/x86_64-linux-gnu/libboost_system.so;/usr/lib/x86_64-linux-gnu/libboost_unit_test_framework.so;/usr/lib/x86_64-linux-gnu/libboost_serialization.so;/usr/lib/x86_64-linux-gnu/libboost_thread.so;-lpthread;/usr/lib/x86_64-linux-gnu/libboost_atomic.so
  55. -- Looking for log2
  56. -- Looking for log2 - found
  57. CMake Warning (dev) at cmake/Modules/UHDLog.cmake:68 (SET):
  58.   implicitly converting 'FILE' to 'STRING' type.
  59. Call Stack (most recent call first):
  60.   CMakeLists.txt:366 (INCLUDE)
  61. This warning is for project developers.  Use -Wno-dev to suppress it.

  62. -- Found PythonInterp: /usr/bin/python3.6 (found suitable version "3.6.9", minimum required is "2.7")
  63. -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.6m.so (found suitable version "3.6.9", minimum required is "2.7")
  64. --
  65. -- Python checking for Python version 2.7 or greater
  66. -- Python checking for Python version 2.7 or greater - "assert platform.python_version() >= '2.7' and platform.python_version() < '3.0'" failed
  67. --
  68. -- Python checking for Mako templates 0.4.2 or greater
  69. -- Python checking for Mako templates 0.4.2 or greater - found
  70. --
  71. -- Python checking for requests 2.0 or greater
  72. -- Python checking for requests 2.0 or greater - found
  73. --
  74. -- Python checking for numpy 1.7 or greater
  75. -- Python checking for numpy 1.7 or greater - found
  76. --
  77. -- Configuring LibUHD support...
  78. --   Dependency Boost_FOUND = TRUE
  79. --   Dependency HAVE_PYTHON_PLAT_MIN_VERSION = FALSE
  80. --   Dependency HAVE_PYTHON_MODULE_MAKO = TRUE
  81. CMake Error at cmake/Modules/UHDComponent.cmake:59 (MESSAGE):
  82.   Dependencies for required component LibUHD not met.
  83. Call Stack (most recent call first):
  84.   CMakeLists.txt:431 (LIBUHD_REGISTER_COMPONENT)


  85. -- Configuring incomplete, errors occurred!
  86. See also "/home/jiang/jjj_rfnoc_works/uhd_rfnoc-devel/host/build/CMakeFiles/CMakeOutput.log".
  87. See also "/home/jiang/jjj_rfnoc_works/uhd_rfnoc-devel/host/build/CMakeFiles/CMakeError.log".
复制代码



cmake ..
  1. jiang@jiang:~/jjj_rfnoc_works/uhd_rfnoc-devel/host/build$ cmake ..
  2. CMake Deprecation Warning at CMakeLists.txt:15 (CMAKE_MINIMUM_REQUIRED):
  3.   Compatibility with CMake < 2.8.12 will be removed from a future version of
  4.   CMake.

  5.   Update the VERSION argument <min> value or use a ...<max> suffix to tell
  6.   CMake that the project does not need compatibility with older versions.


  7. -- The CXX compiler identification is GNU 8.4.0
  8. -- The C compiler identification is GNU 8.4.0
  9. -- Detecting CXX compiler ABI info
  10. -- Detecting CXX compiler ABI info - done
  11. -- Check for working CXX compiler: /usr/bin/c++ - skipped
  12. -- Detecting CXX compile features
  13. -- Detecting CXX compile features - done
  14. -- Detecting C compiler ABI info
  15. -- Detecting C compiler ABI info - done
  16. -- Check for working C compiler: /usr/bin/cc - skipped
  17. -- Detecting C compile features
  18. -- Detecting C compile features - done
  19. --
  20. -- Configuring the python interpreter...
  21. -- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.17", minimum required is "2.0")
  22. -- Python interpreter: /usr/bin/python2
  23. -- Override with: -DPYTHON_EXECUTABLE=<path-to-python>
  24. -- Working off of feature or development branch. Updating version number.
  25. CMake Warning (dev) at CMakeLists.txt:170 (OPTION):
  26.   Policy CMP0077 is not set: option() honors normal variables.  Run "cmake
  27.   --help-policy CMP0077" for policy details.  Use the cmake_policy command to
  28.   set the policy and suppress this warning.

  29.   For compatibility with older versions of CMake, option is clearing the
  30.   normal variable 'UHD_IMAGES_DIR'.
  31. This warning is for project developers.  Use -Wno-dev to suppress it.

  32. -- Using UHD Images Directory: OFF
  33. -- Build type not specified: defaulting to release.
  34. -- Performing Test HAVE_VISIBILITY_HIDDEN
  35. -- Performing Test HAVE_VISIBILITY_HIDDEN - Success
  36. -- Performing Test HAVE_VISIBILITY_INLINES_HIDDEN
  37. -- Performing Test HAVE_VISIBILITY_INLINES_HIDDEN - Success
  38. --
  39. -- Configuring Boost C++ Libraries...
  40. -- Looking for optional Boost components...
  41. -- Found Boost: /usr/include (found suitable version "1.69.0", minimum required is "1.53") found components: python
  42. -- Looking for required Boost components...
  43. -- Looking for pthread.h
  44. -- Looking for pthread.h - found
  45. -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
  46. -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
  47. -- Looking for pthread_create in pthreads
  48. -- Looking for pthread_create in pthreads - not found
  49. -- Looking for pthread_create in pthread
  50. -- Looking for pthread_create in pthread - found
  51. -- Found Threads: TRUE  
  52. -- 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
  53. -- Boost include directories: /usr/include
  54. -- Boost library directories: /usr/lib/x86_64-linux-gnu
  55. -- Boost libraries: /usr/lib/x86_64-linux-gnu/libboost_chrono.so;/usr/lib/x86_64-linux-gnu/libboost_date_time.so;/usr/lib/x86_64-linux-gnu/libboost_filesystem.so;/usr/lib/x86_64-linux-gnu/libboost_program_options.so;/usr/lib/x86_64-linux-gnu/libboost_regex.so;/usr/lib/x86_64-linux-gnu/libboost_system.so;/usr/lib/x86_64-linux-gnu/libboost_unit_test_framework.so;/usr/lib/x86_64-linux-gnu/libboost_serialization.so;/usr/lib/x86_64-linux-gnu/libboost_thread.so;-lpthread;/usr/lib/x86_64-linux-gnu/libboost_atomic.so
  56. -- Looking for log2
  57. -- Looking for log2 - found
  58. CMake Warning (dev) at cmake/Modules/UHDLog.cmake:68 (SET):
  59.   implicitly converting 'FILE' to 'STRING' type.
  60. Call Stack (most recent call first):
  61.   CMakeLists.txt:366 (INCLUDE)
  62. This warning is for project developers.  Use -Wno-dev to suppress it.

  63. -- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.17", minimum required is "2.7")
  64. -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable version "2.7.17", minimum required is "2.7")
  65. --
  66. -- Python checking for Python version 2.7 or greater
  67. -- Python checking for Python version 2.7 or greater - found
  68. --
  69. -- Python checking for Mako templates 0.4.2 or greater
  70. -- Python checking for Mako templates 0.4.2 or greater - found
  71. --
  72. -- Python checking for requests 2.0 or greater
  73. -- Python checking for requests 2.0 or greater - "import requests" failed
  74. --
  75. -- Python checking for numpy 1.7 or greater
  76. -- Python checking for numpy 1.7 or greater - found
  77. --
  78. -- Configuring LibUHD support...
  79. --   Dependency Boost_FOUND = TRUE
  80. --   Dependency HAVE_PYTHON_PLAT_MIN_VERSION = TRUE
  81. --   Dependency HAVE_PYTHON_MODULE_MAKO = TRUE
  82. --   Enabling LibUHD support.
  83. --   Override with -DENABLE_LIBUHD=ON/OFF
  84. --
  85. -- Configuring LibUHD - C API support...
  86. --   Dependency ENABLE_LIBUHD = ON
  87. --   Enabling LibUHD - C API support.
  88. --   Override with -DENABLE_C_API=ON/OFF
  89. --
  90. -- Configuring LibUHD - Python API support...
  91. --   Dependency ENABLE_LIBUHD = ON
  92. --   Dependency BOOST_PYTHON_FOUND = ON
  93. --   Dependency HAVE_PYTHON_MODULE_NUMPY = TRUE
  94. --   Dependency PythonLibs_FOUND = TRUE
  95. --   Disabling LibUHD - Python API support.
  96. --   Override with -DENABLE_PYTHON_API=ON/OFF
  97. --
  98. -- Configuring Examples support...
  99. --   Dependency ENABLE_LIBUHD = ON
  100. --   Enabling Examples support.
  101. --   Override with -DENABLE_EXAMPLES=ON/OFF
  102. --
  103. -- Configuring Utils support...
  104. --   Dependency ENABLE_LIBUHD = ON
  105. --   Enabling Utils support.
  106. --   Override with -DENABLE_UTILS=ON/OFF
  107. --
  108. -- Configuring Tests support...
  109. --   Dependency ENABLE_LIBUHD = ON
  110. --   Enabling Tests support.
  111. --   Override with -DENABLE_TESTS=ON/OFF
  112. --
  113. -- Found FPGA submodule: /home/jiang/jjj_rfnoc_works/uhd_rfnoc-devel/fpga-src
  114. --
  115. CMake Warning (dev) at /usr/local/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:426 (message):
  116.   The package name passed to `find_package_handle_standard_args` (PkgConfig)
  117.   does not match the name of the calling package (USB1).  This can lead to
  118.   problems in calling code that expects `find_package` result variables
  119.   (e.g., `_FOUND`) to follow a certain pattern.
  120. Call Stack (most recent call first):
  121.   /usr/local/share/cmake-3.19/Modules/FindPkgConfig.cmake:67 (find_package_handle_standard_args)
  122.   cmake/Modules/FindUSB1.cmake:6 (INCLUDE)
  123.   lib/CMakeLists.txt:62 (FIND_PACKAGE)
  124. This warning is for project developers.  Use -Wno-dev to suppress it.

  125. -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
  126. -- Looking for libusb_handle_events_timeout_completed
  127. -- Looking for libusb_handle_events_timeout_completed - found
  128. -- Looking for libusb_error_name
  129. -- Looking for libusb_error_name - found
  130. -- Looking for libusb_strerror
  131. -- Looking for libusb_strerror - found
  132. CMake Warning (dev) at /usr/local/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:426 (message):
  133.   The package name passed to `find_package_handle_standard_args` (LIBUSB)
  134.   does not match the name of the calling package (USB1).  This can lead to
  135.   problems in calling code that expects `find_package` result variables
  136.   (e.g., `_FOUND`) to follow a certain pattern.
  137. Call Stack (most recent call first):
  138.   cmake/Modules/FindUSB1.cmake:61 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  139.   lib/CMakeLists.txt:62 (FIND_PACKAGE)
  140. This warning is for project developers.  Use -Wno-dev to suppress it.

  141. -- Found LIBUSB: /usr/lib/x86_64-linux-gnu/libusb-1.0.so  
  142. CMake Warning (dev) at /usr/local/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:426 (message):
  143.   The package name passed to `find_package_handle_standard_args` (PkgConfig)
  144.   does not match the name of the calling package (GPSD).  This can lead to
  145.   problems in calling code that expects `find_package` result variables
  146.   (e.g., `_FOUND`) to follow a certain pattern.
  147. Call Stack (most recent call first):
  148.   /usr/local/share/cmake-3.19/Modules/FindPkgConfig.cmake:67 (find_package_handle_standard_args)
  149.   cmake/Modules/FindGPSD.cmake:15 (INCLUDE)
  150.   lib/CMakeLists.txt:63 (FIND_PACKAGE)
  151. This warning is for project developers.  Use -Wno-dev to suppress it.

  152. -- Checking for module 'libgps'
  153. --   No package 'libgps' found
  154. -- Checking for module 'libgps >= 3.11'
  155. --   No package 'libgps' found
  156. CMake Warning (dev) at /usr/local/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:426 (message):
  157.   The package name passed to `find_package_handle_standard_args` (LIBGPS)
  158.   does not match the name of the calling package (GPSD).  This can lead to
  159.   problems in calling code that expects `find_package` result variables
  160.   (e.g., `_FOUND`) to follow a certain pattern.
  161. Call Stack (most recent call first):
  162.   cmake/Modules/FindGPSD.cmake:45 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  163.   lib/CMakeLists.txt:63 (FIND_PACKAGE)
  164. This warning is for project developers.  Use -Wno-dev to suppress it.

  165. -- Could NOT find LIBGPS (missing: LIBGPS_LIBRARY LIBGPS_INCLUDE_DIR)
  166. -- Could NOT find LIBERIO (missing: LIBERIO_LIBRARY LIBERIO_INCLUDE_DIR)
  167. --
  168. -- Configuring LIBERIO support...
  169. --   Dependency ENABLE_LIBUHD = ON
  170. --   Dependency LIBERIO_FOUND = FALSE
  171. --   Disabling LIBERIO support.
  172. --   Override with -DENABLE_LIBERIO=ON/OFF
  173. --
  174. -- Configuring USB support...
  175. --   Dependency ENABLE_LIBUHD = ON
  176. --   Dependency LIBUSB_FOUND = TRUE
  177. --   Enabling USB support.
  178. --   Override with -DENABLE_USB=ON/OFF
  179. --
  180. -- Configuring GPSD support...
  181. --   Dependency ENABLE_LIBUHD = ON
  182. --   Dependency ENABLE_GPSD =
  183. --   Dependency LIBGPS_FOUND = FALSE
  184. --   Disabling GPSD support.
  185. --   Override with -DENABLE_GPSD=ON/OFF
  186. --
  187. -- Configuring B100 support...
  188. --   Dependency ENABLE_LIBUHD = ON
  189. --   Dependency ENABLE_USB = ON
  190. --   Enabling B100 support.
  191. --   Override with -DENABLE_B100=ON/OFF
  192. --
  193. -- Configuring B200 support...
  194. --   Dependency ENABLE_LIBUHD = ON
  195. --   Dependency ENABLE_USB = ON
  196. --   Enabling B200 support.
  197. --   Override with -DENABLE_B200=ON/OFF
  198. --
  199. -- Configuring E300 support...
  200. --   Dependency ENABLE_LIBUHD = ON
  201. --   Disabling E300 support.
  202. --   Override with -DENABLE_E300=ON/OFF
  203. --
  204. -- Configuring USRP1 support...
  205. --   Dependency ENABLE_LIBUHD = ON
  206. --   Dependency ENABLE_USB = ON
  207. --   Enabling USRP1 support.
  208. --   Override with -DENABLE_USRP1=ON/OFF
  209. --
  210. -- Configuring USRP2 support...
  211. --   Dependency ENABLE_LIBUHD = ON
  212. --   Enabling USRP2 support.
  213. --   Override with -DENABLE_USRP2=ON/OFF
  214. --
  215. -- Configuring X300 support...
  216. --   Dependency ENABLE_LIBUHD = ON
  217. --   Enabling X300 support.
  218. --   Override with -DENABLE_X300=ON/OFF
  219. --
  220. -- Configuring N230 support...
  221. --   Dependency ENABLE_LIBUHD = ON
  222. --   Enabling N230 support.
  223. --   Override with -DENABLE_N230=ON/OFF
  224. --
  225. -- Configuring MPMD support...
  226. --   Dependency ENABLE_LIBUHD = ON
  227. --   Enabling MPMD support.
  228. --   Override with -DENABLE_MPMD=ON/OFF
  229. --
  230. -- Configuring N300 support...
  231. --   Dependency ENABLE_LIBUHD = ON
  232. --   Dependency ENABLE_MPMD = ON
  233. --   Enabling N300 support.
  234. --   Override with -DENABLE_N300=ON/OFF
  235. --
  236. -- Configuring OctoClock support...
  237. --   Dependency ENABLE_LIBUHD = ON
  238. --   Enabling OctoClock support.
  239. --   Override with -DENABLE_OCTOCLOCK=ON/OFF
  240. --
  241. -- Looking for C++ include emmintrin.h
  242. CMake Warning (dev) at /usr/local/share/cmake-3.19/Modules/CheckIncludeFileCXX.cmake:79 (message):
  243.   Policy CMP0075 is not set: Include file check macros honor
  244.   CMAKE_REQUIRED_LIBRARIES.  Run "cmake --help-policy CMP0075" for policy
  245.   details.  Use the cmake_policy command to set the policy and suppress this
  246.   warning.

  247.   CMAKE_REQUIRED_LIBRARIES is set to:

  248.     /usr/lib/x86_64-linux-gnu/libusb-1.0.so

  249.   For compatibility with CMake 3.11 and below this check is ignoring it.
  250. Call Stack (most recent call first):
  251.   lib/convert/CMakeLists.txt:25 (CHECK_INCLUDE_FILE_CXX)
  252.   lib/CMakeLists.txt:46 (INCLUDE)
  253.   lib/CMakeLists.txt:86 (INCLUDE_SUBDIRECTORY)
  254. This warning is for project developers.  Use -Wno-dev to suppress it.

  255. -- Looking for C++ include emmintrin.h - found
  256. -- Looking for C++ include arm_neon.h
  257. -- Looking for C++ include arm_neon.h - not found
  258. --
  259. -- Could NOT find UDev (missing: UDEV_INCLUDE_DIR UDEV_LIBS)
  260. --
  261. -- Configuring priority scheduling...
  262. -- Performing Test HAVE_PTHREAD_SETSCHEDPARAM
  263. -- Performing Test HAVE_PTHREAD_SETSCHEDPARAM - Success
  264. -- Performing Test HAVE_WIN_SETTHREADPRIORITY
  265. -- Performing Test HAVE_WIN_SETTHREADPRIORITY - Failed
  266. --   Priority scheduling supported through pthread_setschedparam.
  267. -- Performing Test HAVE_PTHREAD_SETNAME
  268. -- Performing Test HAVE_PTHREAD_SETNAME - Success
  269. --   Setting thread names is supported through pthread_setname_np.
  270. --
  271. -- Configuring high resolution timing...
  272. -- Performing Test HAVE_CLOCK_GETTIME
  273. -- Performing Test HAVE_CLOCK_GETTIME - Success
  274. -- Performing Test HAVE_MACH_ABSOLUTE_TIME
  275. -- Performing Test HAVE_MACH_ABSOLUTE_TIME - Failed
  276. -- Performing Test HAVE_QUERY_PERFORMANCE_COUNTER
  277. -- Performing Test HAVE_QUERY_PERFORMANCE_COUNTER - Failed
  278. --   High resolution timing supported through clock_gettime.
  279. --
  280. -- Configuring module loading...
  281. -- Performing Test HAVE_DLOPEN
  282. -- Performing Test HAVE_DLOPEN - Success
  283. -- Performing Test HAVE_LOAD_LIBRARY
  284. -- Performing Test HAVE_LOAD_LIBRARY - Failed
  285. --   Module loading supported through dlopen.
  286. --
  287. -- Processing NI-RIO FPGA LVBITX Bitstreams...
  288. --   Using x300.lvbitx_base for codegen
  289. --   Using x310.lvbitx_base for codegen
  290. --
  291. -- USB support enabled via libusb.
  292. --
  293. -- Configuring interface address discovery...
  294. -- Performing Test HAVE_GETIFADDRS
  295. -- Performing Test HAVE_GETIFADDRS - Success
  296. -- Looking for C++ include winsock2.h
  297. -- Looking for C++ include winsock2.h - not found
  298. --   Interface address discovery supported through getifaddrs.
  299. -- Looking for C++ include atlbase.h
  300. -- Looking for C++ include atlbase.h - not found
  301. --
  302. -- Loading build info.
  303. -- Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)
  304. -- Performing Test HAVE_C99_STRUCTDECL
  305. -- Performing Test HAVE_C99_STRUCTDECL - Success
  306. --
  307. -- Adding B2XX device test target
  308. -- Adding X3x0 device test target
  309. -- Adding N3XX device test target
  310. --
  311. -- Could NOT find UDev (missing: UDEV_INCLUDE_DIR UDEV_LIBS)
  312. CMake Warning at utils/CMakeLists.txt:123 (MESSAGE):
  313.   Python module `requests' not found -- uhd_images_downloader.py will not
  314.   work without it.


  315. CMake Warning at utils/CMakeLists.txt:124 (MESSAGE):
  316.   You may be able to install this by running 'pip install requests'


  317. -- Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)
  318. -- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components: doxygen missing components: dot
  319. --
  320. -- Configuring Manual support...
  321. --   Dependency DOXYGEN_FOUND = YES
  322. --   Enabling Manual support.
  323. --   Override with -DENABLE_MANUAL=ON/OFF
  324. --
  325. -- Configuring API/Doxygen support...
  326. --   Dependency DOXYGEN_FOUND = YES
  327. --   Enabling API/Doxygen support.
  328. --   Override with -DENABLE_DOXYGEN=ON/OFF
  329. -- Found GZip: /bin/gzip  
  330. --
  331. -- Configuring Man Pages support...
  332. --   Dependency GZIP_FOUND = TRUE
  333. --   Dependency NOT_WIN32 = TRUE
  334. --   Enabling Man Pages support.
  335. --   Override with -DENABLE_MAN_PAGES=ON/OFF
  336. --
  337. -- ######################################################
  338. -- # UHD enabled components                              
  339. -- ######################################################
  340. --   * LibUHD
  341. --   * LibUHD - C API
  342. --   * Examples
  343. --   * Utils
  344. --   * Tests
  345. --   * USB
  346. --   * B100
  347. --   * B200
  348. --   * USRP1
  349. --   * USRP2
  350. --   * X300
  351. --   * N230
  352. --   * MPMD
  353. --   * N300
  354. --   * OctoClock
  355. --   * Manual
  356. --   * API/Doxygen
  357. --   * Man Pages
  358. --
  359. -- ######################################################
  360. -- # UHD disabled components                             
  361. -- ######################################################
  362. --   * LibUHD - Python API
  363. --   * LIBERIO
  364. --   * GPSD
  365. --   * E300
  366. --
  367. -- ******************************************************
  368. -- * You are building a development branch of UHD.
  369. -- * These branches are designed to provide early access
  370. -- * to UHD and USRP features, but should be considered
  371. -- * unstable and/or experimental!
  372. -- ******************************************************
  373. -- Building version: 4.0.0.rfnoc-devel-702-geec24d7b
  374. -- Using install prefix: /usr/local
  375. -- Configuring done
  376. -- Generating done
  377. -- 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 成功了






rfnoc01.png (153.63 KB, 下载次数: 333)

rfnoc01.png

gr-ettus_ok.png (27.97 KB, 下载次数: 332)

gr-ettus_ok.png
让天下人人学会人工智能!人工智能的前景一片大好!
回复

使用道具 举报

1365

主题

1856

帖子

1万

积分

管理员

Rank: 10Rank: 10Rank: 10

积分
14438
QQ
沙发
 楼主| 发表于 2022-10-11 21:10:47 | 只看该作者
让天下人人学会人工智能!人工智能的前景一片大好!
回复

使用道具 举报

1365

主题

1856

帖子

1万

积分

管理员

Rank: 10Rank: 10Rank: 10

积分
14438
QQ
板凳
 楼主| 发表于 2022-10-11 21:11:20 | 只看该作者
/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 {
让天下人人学会人工智能!人工智能的前景一片大好!
回复

使用道具 举报

1365

主题

1856

帖子

1万

积分

管理员

Rank: 10Rank: 10Rank: 10

积分
14438
QQ
地板
 楼主| 发表于 2022-10-11 21:12:58 | 只看该作者
让天下人人学会人工智能!人工智能的前景一片大好!
回复

使用道具 举报

1365

主题

1856

帖子

1万

积分

管理员

Rank: 10Rank: 10Rank: 10

积分
14438
QQ
5#
 楼主| 发表于 2022-10-11 21:25:58 | 只看该作者
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.

从UHD 3.15开始,RFNoC默认启用,从UHD4.0开始,它不再被禁用,因此无需额外说明即可在UHD中安装RFNoC支持
让天下人人学会人工智能!人工智能的前景一片大好!
回复

使用道具 举报

1365

主题

1856

帖子

1万

积分

管理员

Rank: 10Rank: 10Rank: 10

积分
14438
QQ
6#
 楼主| 发表于 2022-10-11 22:06:12 | 只看该作者
git clone -b maint-3.8-uhd4.0 https://github.com/EttusResearch/gr-ettus.git
提示:Found UHD: /usr/local/lib/libuhd.so (Required is at least version "4.0")
CMake Error at CMakeLists.txt:107 (MESSAGE):
  UHD version must be at least 4.0 but less than 4.2 (found version
  4.2.0.1-0-g321295fb).
让天下人人学会人工智能!人工智能的前景一片大好!
回复

使用道具 举报

1365

主题

1856

帖子

1万

积分

管理员

Rank: 10Rank: 10Rank: 10

积分
14438
QQ
7#
 楼主| 发表于 2022-10-11 22:11:24 | 只看该作者
git clone -b maint-3.8 https://github.com/EttusResearch/gr-ettus.git
提示: cmake ..成功 但是 make报错:device3.h:30:10: fatal error: uhd/device3.hpp: 没有那个文件或目录
让天下人人学会人工智能!人工智能的前景一片大好!
回复

使用道具 举报

0

主题

249

帖子

500

积分

高级会员

Rank: 4

积分
500
8#
发表于 2022-11-6 11:55:36 | 只看该作者
学习中,支持
回复

使用道具 举报

0

主题

249

帖子

500

积分

高级会员

Rank: 4

积分
500
9#
发表于 2022-11-6 11:56:02 | 只看该作者
学习中,支持
回复

使用道具 举报

0

主题

249

帖子

500

积分

高级会员

Rank: 4

积分
500
10#
发表于 2022-11-6 11:57:50 | 只看该作者
学习中,支持
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|人工智能工程师的摇篮 ( 湘ICP备2020019608号-1 )

GMT+8, 2024-5-6 23:37 , Processed in 0.192575 second(s), 21 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表