当前位置:网站首页>Visual Studio提供的 Command Prompt 到底有啥用
Visual Studio提供的 Command Prompt 到底有啥用
2022-08-01 03:53:00 【氵文大师】
在上一篇博客中:
Virtual Studio 让系统找到需要的头文件和库
折腾了半天环境变量,把需要的环境变量扔到LIB
和 INCLUDE
变量中,然而咱每次启动VS的时候,有几个黑框框,这是啥?
如果诸位早些时候用过 anaconda ,那就好说了,这就和他那个Anaconda Prompt
是一样儿一样儿滴
就是一个 cmd, 然后多了几个环境变量而已
Anaconda Prompt
就把 conda
那个目录添加到 %PATH%
中,有没有其他环境变量,我也不清楚…
咱随便开一个cmd,看看%LIB%
和 %INCLUDE%
是什么:
> echo %LIB%
> # 下边的输出原来没回车,我加的
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\lib\x64;
C:\Program Files (x86)\Windows Kits\10\Lib\10.0.19041.0\um\x64;
C:\Program Files (x86)\Windows Kits\10\Lib\10.0.19041.0\ucrt\x64;
> echo %INCLUDE%
> # 下边的输出原来没回车,我加的
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\shared;
打开x64 Native Tools Command Prompt for VS 2019
, 对,是就是博客开头那个截图
> echo %LIB%
> # 下边的输出原来没回车,我加的
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\lib\x64;
C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x64;
C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\um\x64;
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\lib\x64;
C:\Program Files (x86)\Windows Kits\10\Lib\10.0.19041.0\um\x64;
C:\Program Files (x86)\Windows Kits\10\Lib\10.0.19041.0\ucrt\x64
可以看到那仨环境变量又重复了一遍,这个cmd的虚拟环境将需要的环境变量又添加了一波,看来咱之前添加对了hh
> echo %INCLUDE%
> # 下边的输出原来没回车,我加的
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include;
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt;
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared;
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um;
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt;
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt;
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\shared
可以看到前6行是需要添加的路径,后几行是咱之前添加的路径
边栏推荐
- 初出茅庐的小李第114篇博客项目笔记之机智云智能浇花器实战(3)-基础Demo实现
- August 22 Promotion Ambassador Extra Reward Rules
- Simple and easy to use task queue - beanstalkd
- [Getting Started Tutorial] Rollup Module Packager Integration
- 软件测试基础理论知识—用例篇
- MySQL3
- <JDBC> 批量插入 的四种实现方式:你真的get到了吗?
- Basic Theoretical Knowledge of Software Testing - Use Cases
- A way to deal with infinite debugger
- This article takes you to understand the past and present of Mimir, Grafana's latest open source project
猜你喜欢
Introduction to the Elastic Stack
基于STM32设计的UNO卡牌游戏(双人、多人对战)
【愚公系列】2022年07月 Go教学课程 024-函数
leetcode:126. Word Solitaire II
【消息通知】用公众号模板消息怎么样?
对无限debugger的一种处理方式
出现Command ‘vim‘ is available in the following places,vim: command not found等解决方法
"ArchSummit: The cry of the times, technical people can hear"
This map drawing tool is amazing, I recommend it~~
博客系统(完整版)
随机推荐
When opening a MYSQL table, some can display editing, some do not, how to set.
Valentine's Day Romantic 3D Photo Wall [with source code]
Game Theory (Depu) and Sun Tzu's Art of War (42/100)
This map drawing tool is amazing, I recommend it~~
这个地图绘制工具太赞了,推荐~~
MySQL4
The fledgling Xiao Li's 112th blog project notes: Wisdom cloud intelligent flower watering device actual combat (1) - basic Demo implementation
[kali-information collection] enumeration - DNS enumeration: DNSenum, fierce
Unity在BuildIn渲染管线下实现PlanarReflection的初级方法
项目越写越大,我是这样做拆分的
Software Testing Weekly (Issue 82): In fact, all those who are entangled in making choices already have the answer in their hearts, and consultation is just to get the choice that they prefer.
leetcode6133. 分组的最大数量(中等)
Dynamic Programming 01 Backpack
【消息通知】用公众号模板消息怎么样?
剑指offer专项突击版第16天
Character encoding and floating point calculation precision loss problem
Hackers can how bad to what degree?
【SemiDrive源码分析】系列文章链接汇总(全)
Difference Between Compiled and Interpreted Languages
【入门教程】Rollup模块打包器整合