• ROS1Noetic在Win11中安装记录


    和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>


  • 相关阅读:
    R语言根据日历周期处理时间序列数据(周、月、年等):使用xts包的apply.monthly函数和mean函数计算时间序列的月平均值(monthly)
    10000字!图解机器学习特征工程
    [PCIe]一个典型的PCIe总线周期
    云原生Kubernetes:Yaml文件编写
    韩国突发:将批准比特币ETF
    2022年全网最全最细最流行的自动化测试工具有哪些?
    【JAVA】07 面向对象(高级)类变量、类方法、代码块、final、抽象类、接口、内部类
    Docker-(基础服务)-数据库安装-简单版: Redis数据库,Mysql数据库
    推荐书目:Python从入门到精通(文末送书)
    【MATLAB源码-第67期】基于麻雀搜索算法(SSA)的无人机三维地图路径规划,输出最短路径和适应度曲线。
  • 原文地址:https://blog.csdn.net/ZhangRelay/article/details/125415825