ROS1Noetic在Win11中安装记录

举报
zhangrelay 发表于 2022/06/23 22:22:28 2022/06/23
【摘要】 和Win10类似,windows系统安装和使用ROS的好处,几乎主流版本的ROS全部可以用,还能用WSL使用Ubuntu下原生ROS,非常方便。 在Windows系统安装ROS机器人操作系统(2020年10月25日更新)_zhangrelay的博客-CSDN博客_windows安装ros ****************...

和Win10类似,windows系统安装和使用ROS的好处,几乎主流版本的ROS全部可以用,还能用WSL使用Ubuntu下原生ROS,非常方便。

在Windows系统安装ROS机器人操作系统(2020年10月25日更新)_zhangrelay的博客-CSDN博客_windows安装ros




  
  1. **********************************************************************
  2. ** Visual Studio 2019 Developer Command Prompt v16.9.3
  3. ** Copyright (c) 2021 Microsoft Corporation
  4. **********************************************************************
  5. Python path configuration:
  6. PYTHONHOME = (not set)
  7. PYTHONPATH = (not set)
  8. program name = 'c:\opt\ros\noetic\x64\python.exe'
  9. isolated = 1
  10. environment = 1
  11. user site = 1
  12. import site = 1
  13. sys._base_executable = 'c:\\opt\\ros\\noetic\\x64\\python.exe'
  14. sys.base_prefix = 'c:\\opt\\ros\\noetic\\x64'
  15. sys.base_exec_prefix = 'c:\\opt\\ros\\noetic\\x64'
  16. sys.executable = 'c:\\opt\\ros\\noetic\\x64\\python.exe'
  17. sys.prefix = 'c:\\opt\\ros\\noetic\\x64'
  18. sys.exec_prefix = 'c:\\opt\\ros\\noetic\\x64'
  19. sys.path = [
  20. 'c:\\opt\\ros\\noetic\\x64\\python38.zip',
  21. 'c:\\opt\\ros\\noetic\\x64',
  22. ]
  23. Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
  24. Python runtime state: core initialized
  25. ModuleNotFoundError: No module named 'encodings'
  26. Current thread 0x00003a08 (most recent call first):
  27. <no Python frame>
  28. C:\ros_ws>choco upgrade ros-noetic-desktop_full -y --execution-timeout=0
  29. Chocolatey v0.10.15
  30. Upgrading the following packages:
  31. ros-noetic-desktop_full
  32. By upgrading you accept licenses for the packages.
  33. ros-noetic-desktop_full is not installed. Installing...
  34. Progress: Downloading ros-noetic-desktop_full 20201214.0.0.2104301300... 100%
  35. Progress: Downloading ros-noetic-desktop_full 20201214.0.0.2104301300... 100%
  36. Progress: Downloading vcredist140 14.32.31326... 100%
  37. Progress: Downloading vcredist140 14.32.31326... 100%
  38. Progress: Downloading chocolatey-core.extension 1.4.0... 100%
  39. Progress: Downloading chocolatey-core.extension 1.4.0... 100%
  40. Progress: Downloading chocolatey-compatibility.extension 1.0.0... 100%
  41. Progress: Downloading chocolatey-compatibility.extension 1.0.0... 100%
  42. Progress: Downloading KB3033929 1.0.3... 100%
  43. Progress: Downloading KB3033929 1.0.3... 100%
  44. Progress: Downloading chocolatey-windowsupdate.extension 1.0.4... 100%
  45. Progress: Downloading chocolatey-windowsupdate.extension 1.0.4... 100%
  46. Progress: Downloading KB3035131 1.0.1... 100%
  47. Progress: Downloading KB3035131 1.0.1... 100%
  48. Progress: Downloading KB2919442 1.0.20160915... 100%
  49. Progress: Downloading KB2919442 1.0.20160915... 100%
  50. Progress: Downloading KB2999226 1.0.20170509... 100%
  51. Progress: Downloading KB2999226 1.0.20170509... 100%
  52. vcredist2010 v10.0.40219.32503 [Approved]
  53. vcredist2010 package files upgrade completed. Performing other installation steps.
  54. Downloading vcredist2010 64 bit
  55. from 'https://download.microsoft.com/download/1/6/5/165255E7-1014-4D0A-B094-B6A430A6BFFC/vcredist_x64.exe'
  56. Progress: 100% - Completed download of C:\Users\zhangrelay\AppData\Local\Temp\chocolatey\vcredist2010\10.0.40219.32503\vcredist_x64.exe (9.8 MB).
  57. Download of vcredist_x64.exe (9.8 MB) completed.
  58. Hashes match.
  59. Installing vcredist2010...
  60. vcredist2010 has been installed.
  61. Downloading vcredist2010 32 bit
  62. from 'https://download.microsoft.com/download/1/6/5/165255E7-1014-4D0A-B094-B6A430A6BFFC/vcredist_x86.exe'
  63. Progress: 100% - Completed download of C:\Users\zhangrelay\AppData\Local\Temp\chocolatey\vcredist2010\10.0.40219.32503\vcredist_x86.exe (8.58 MB).
  64. Download of vcredist_x86.exe (8.58 MB) completed.
  65. Hashes match.
  66. Installing vcredist2010...
  67. vcredist2010 has been installed.
  68. The upgrade of vcredist2010 was successful.
  69. Software installed as 'exe', install location is likely default.
  70. chocolatey-compatibility.extension v1.0.0 [Approved]
  71. chocolatey-compatibility.extension package files upgrade completed. Performing other installation steps.
  72. Installed/updated chocolatey-compatibility extensions.
  73. The upgrade of chocolatey-compatibility.extension was successful.
  74. Software installed to 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility'
  75. chocolatey-core.extension v1.4.0 [Approved]
  76. chocolatey-core.extension package files upgrade completed. Performing other installation steps.
  77. Installed/updated chocolatey-core extensions.
  78. The upgrade of chocolatey-core.extension was successful.
  79. Software installed to 'C:\ProgramData\chocolatey\extensions\chocolatey-core'
  80. chocolatey-windowsupdate.extension v1.0.4 [Approved]
  81. chocolatey-windowsupdate.extension package files upgrade completed. Performing other installation steps.
  82. Installed/updated chocolatey-windowsupdate extensions.
  83. The upgrade of chocolatey-windowsupdate.extension was successful.
  84. Software installed to 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate'
  85. KB3035131 v1.0.1
  86. kb3035131 package files upgrade completed. Performing other installation steps.
  87. Skipping installation because update KB3035131 does not apply to this operating system (Microsoft Windows 11 家庭中文版).
  88. The upgrade of kb3035131 was successful.
  89. Software install location not explicitly set, could be in package or
  90. default install location if installer.
  91. KB3033929 v1.0.3
  92. kb3033929 package files upgrade completed. Performing other installation steps.
  93. Skipping installation because update KB3033929 does not apply to this operating system (Microsoft Windows 11 家庭中文版).
  94. The upgrade of kb3033929 was successful.
  95. Software install location not explicitly set, could be in package or
  96. default install location if installer.
  97. KB2919442 v1.0.20160915
  98. kb2919442 package files upgrade completed. Performing other installation steps.
  99. Skipping installation because this hotfix only applies to Windows 8.1 and Windows Server 2012 R2.
  100. The upgrade of kb2919442 was successful.
  101. Software install location not explicitly set, could be in package or
  102. default install location if installer.
  103. KB2919355 v1.0.20160915 [Approved]
  104. kb2919355 package files upgrade completed. Performing other installation steps.
  105. Skipping installation because this hotfix only applies to Windows 8.1 and Windows Server 2012 R2.
  106. The upgrade of kb2919355 was successful.
  107. Software install location not explicitly set, could be in package or
  108. default install location if installer.
  109. KB2999226 v1.0.20170509
  110. kb2999226 package files upgrade completed. Performing other installation steps.
  111. Skipping installation because update KB2999226 does not apply to this operating system (Microsoft Windows 11 家庭中文版).
  112. The upgrade of kb2999226 was successful.
  113. Software install location not explicitly set, could be in package or
  114. default install location if installer.
  115. vcredist140 v14.32.31326 [Approved]
  116. vcredist140 package files upgrade completed. Performing other installation steps.
  117. Downloading vcredist140-x86
  118. from 'https://download.visualstudio.microsoft.com/download/pr/06ed1d94-3f28-47a5-8025-e7bf9da634da/2ACBFE92157C1CF1A7B524A9325824046D83DBFA3FEB1CBD4DD02A42E020F77C/VC_redist.x86.exe'
  119. Progress: 100% - Completed download of C:\Users\zhangrelay\AppData\Local\Temp\chocolatey\vcredist140\14.32.31326\VC_redist.x86.exe (13.1 MB).
  120. Download of VC_redist.x86.exe (13.1 MB) completed.
  121. Hashes match.
  122. Installing vcredist140-x86...
  123. vcredist140-x86 has been installed.
  124. Downloading vcredist140-x64 64 bit
  125. from 'https://download.visualstudio.microsoft.com/download/pr/6b6923b0-3045-4379-a96f-ef5506a65d5b/426A34C6F10EA8F7DA58A8C976B586AD84DD4BAB42A0CFDBE941F1763B7755E5/VC_redist.x64.exe'
  126. Progress: 100% - Completed download of C:\Users\zhangrelay\AppData\Local\Temp\chocolatey\vcredist140\14.32.31326\VC_redist.x64.exe (24.16 MB).
  127. Download of VC_redist.x64.exe (24.16 MB) completed.
  128. Hashes match.
  129. Installing vcredist140-x64...
  130. vcredist140-x64 has been installed.
  131. vcredist140 may be able to be automatically uninstalled.
  132. The upgrade of vcredist140 was successful.
  133. Software installed as 'exe', install location is likely default.
  134. ros-noetic-desktop_full v20201214.0.0.2104301300
  135. ros-noetic-desktop_full package files upgrade completed. Performing other installation steps.
  136. Installing ros-noetic-desktop_full...
  137. ros-noetic-desktop_full has been installed.
  138. ros-noetic-desktop_full can be automatically uninstalled.
  139. The upgrade of ros-noetic-desktop_full was successful.
  140. Software installed to 'c:\opt\ros\noetic\x64\'
  141. Chocolatey upgraded 11/11 packages.
  142. See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
  143. Upgraded:
  144. - kb3033929 v1.0.3
  145. - chocolatey-windowsupdate.extension v1.0.4
  146. - vcredist140 v14.32.31326
  147. - kb2999226 v1.0.20170509
  148. - kb2919355 v1.0.20160915
  149. - chocolatey-core.extension v1.4.0
  150. - kb2919442 v1.0.20160915
  151. - chocolatey-compatibility.extension v1.0.0
  152. - kb3035131 v1.0.1
  153. - ros-noetic-desktop_full v20201214.0.0.2104301300
  154. - vcredist2010 v10.0.40219.32503
  155. Packages requiring reboot:
  156. - vcredist140 (exit code 3010)
  157. The recent package changes indicate a reboot is necessary.
  158. Please reboot at your earliest convenience.
  159. Did you know the proceeds of Pro (and some proceeds from other
  160. licensed editions) go into bettering the community infrastructure?
  161. Your support ensures an active community, keeps Chocolatey tip top,
  162. plus it nets you some awesome features!
  163. https://chocolatey.org/compare
  164. C:\ros_ws>

**********************************************************************
** Visual Studio 2019 Developer Command Prompt v16.9.3
** Copyright (c) 2021 Microsoft Corporation
**********************************************************************

C:\ros_ws>catkin_make -h
usage: catkin_make [-h] [-C DIRECTORY] [--source SOURCE] [--build BUILD] [--use-ninja] [--use-nmake] [--use-gmake]
                   [--force-cmake] [--no-color] [--pkg PKG [PKG ...]]
                   [--only-pkg-with-deps ONLY_PKG_WITH_DEPS [ONLY_PKG_WITH_DEPS ...]]
                   [--cmake-args [CMAKE_ARGS [CMAKE_ARGS ...]]] [--make-args [MAKE_ARGS [MAKE_ARGS ...]]]
                   [--override-build-tool-check]

Creates the catkin workspace layout and invokes cmake and make. Any argument starting with "-D" will be passed to the
"cmake" invocation. The -j (--jobs) and -l (--load-average) arguments for make are also extracted and passed to make
directly. If no -j/-l arguments are given, then the MAKEFLAGS environment variable is searched for -j/-l flags. If
found then no -j/-l flags are passed to make explicitly (as not to override the MAKEFLAGS). If MAKEFLAGS is not set
then the job flags in the ROS_PARALLEL_JOBS environment variable are passed to make. Note: ROS_PARALLEL_JOBS should
contain the exact job flags, not just a number. See:
http://www.ros.org/wiki/ROS/EnvironmentVariables#ROS_PARALLEL_JOBS If ROS_PARALLEL_JOBS is not set then the flags "-jn
-ln" are used, where n is number of CPU cores. If the number of CPU cores cannot be determined then no flags are given
to make. All other arguments (i.e. target names) are passed to the "make" invocation. To ignore certain packages place
a file named CATKIN_IGNORE in the package folder. Or you can pass the list of package names to the CMake variable
CATKIN_BLACKLIST_PACKAGES. For example: catkin_make -DCATKIN_BLACKLIST_PACKAGES="foo;bar".

optional arguments:
  -h, --help            show this help message and exit
  -C DIRECTORY, --directory DIRECTORY
                        The base path of the workspace (default '.')
  --source SOURCE       The path to the source space (default 'workspace_base/src')
  --build BUILD         The path to the build space (default 'workspace_base/build')
  --use-ninja           Use 'ninja' instead of 'make'
  --use-nmake           Use 'nmake' instead of 'make'
  --use-gmake           Use 'gmake' instead of 'make'
  --force-cmake         Invoke 'cmake' even if it has been executed before
  --no-color            Disables colored output (only for catkin_make and CMake)
  --pkg PKG [PKG ...]   Invoke 'make' on specific packages only
  --only-pkg-with-deps ONLY_PKG_WITH_DEPS [ONLY_PKG_WITH_DEPS ...]
                        Whitelist only the specified packages and their dependencies by setting the
                        CATKIN_WHITELIST_PACKAGES variable. This variable is stored in CMakeCache.txt and will persist
                        between CMake calls unless explicitly cleared; e.g. catkin_make
                        -DCATKIN_WHITELIST_PACKAGES="".
  --cmake-args [CMAKE_ARGS [CMAKE_ARGS ...]]
                        Arbitrary arguments which are passed to CMake. It must be passed after other arguments since
                        it collects all following options.
  --make-args [MAKE_ARGS [MAKE_ARGS ...]]
                        Arbitrary arguments which are passes to make. It must be passed after other arguments since it
                        collects all following options. This is only necessary in combination with --cmake-args since
                        else all unknown arguments are passed to make anyway.
  --override-build-tool-check
                        use to override failure due to using different build tools on the same workspace.

C:\ros_ws>


文章来源: zhangrelay.blog.csdn.net,作者:zhangrelay,版权归原作者所有,如需转载,请联系作者。

原文链接:zhangrelay.blog.csdn.net/article/details/125415825

【版权声明】本文为华为云社区用户转载文章,如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@huaweicloud.com
  • 点赞
  • 收藏
  • 关注作者

评论(0

0/1000
抱歉,系统识别当前为高风险访问,暂不支持该操作

全部回复

上滑加载中

设置昵称

在此一键设置昵称,即可参与社区互动!

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。