标签:font product shel get aries obj file 分享 studio
前言:双系统来回切换比较麻烦,虚拟机性能又慢,因此在windows上安装ROS2是极佳的选择,ROS2支持在Win10上安装。
右键新建快捷方式,输入以下命令:
C:\Windows\System32\cmd.exe /k "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat" -arch=amd64 -host_arch=amd64
右键快捷方式,点击属性->高级,勾选管理员运行。
然后以下的指令都通过这个快捷方式来运行。
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString(‘https://chocolatey.org/install.ps1‘))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
choco --version
---------------------------------------------
显示如下:
C:\Windows\System32>choco --version
0.10.11
choco install -y python
到官网地址:http://slproweb.com/products/Win32OpenSSL.html下载并安装文件Win64 OpenSSL v1.0.2,一路默认就可以。
配置openSSL环境变量:
setx -m OPENSSL_CONF C:\OpenSSL-Win64\bin\openssl.cfg
---------------------------------------
如果出现如下错误:
错误: 拒绝访问注册表路径。
解决方式:
请参考:https://jingyan.baidu.com/article/3aed632ec4b9257010809183.html
安装方法自行百度;
也可参考:https://jingyan.baidu.com/article/3d69c5512daa5cf0cf02d7c3.html
https://sourceforge.net/projects/boost/files/boost-binaries/1.61.0/
-END-
标签:font product shel get aries obj file 分享 studio
原文地址:https://www.cnblogs.com/chendeqiang/p/10256711.html