当前位置:网站首页>Troubleshooting - about clip not found Visual Studio
Troubleshooting - about clip not found Visual Studio
2022-07-05 17:30:00 【kkmmzmzmznjsns】
2022-06-27 07:47:23,408 [ 18576] INFO - rains.cidr.cpp.toolchains.MSVC - Cannot read MSVC version: Cannot load Visual C++ environment from D:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat:
Cannot run program "cmd.exe" (in directory "D:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build"): CreateProcess error=740, The requested operation needs to be promoted .
com.intellij.execution.ExecutionException: Cannot load Visual C++ environment from D:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat:
Cannot run program "cmd.exe" (in directory "D:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build"): CreateProcess error=740, The requested operation needs to be promoted .
at com.jetbrains.cidr.cpp.toolchains.MSVC$EnvCache.getEnvironment(MSVC.java:533)
at com.jetbrains.cidr.cpp.toolchains.MSVC.prepareEnvironment(MSVC.java:144)
at com.jetbrains.cidr.cpp.toolchains.MSVC.readVersion(MSVC.java:69)
at com.jetbrains.cidr.cpp.toolchains.CPPToolchainsPanel$ToolchainPanel$5.readAndCheckVersion$intellij_clion(CPPToolchainsPanel.kt:584)
at com.jetbrains.cidr.cpp.toolchains.CPPToolchainsPanel$ToolchainPanel$5.readAndCheckVersion$intellij_clion(CPPToolchainsPanel.kt:578)
at com.jetbrains.cidr.cpp.toolchains.VersionChecker.check(CPPToolchainsUIUtils.kt:187)
at com.jetbrains.cidr.cpp.toolchains.CPPToolchainsPanel$ToolchainPanel$addVersionChecker$checkerRunnable$1.runInBackground(CPPToolchainsPanel.kt:861)
at com.jetbrains.cidr.cpp.toolchains.CPPToolchainsPanel$ToolchainPanel$addVersionChecker$checkerRunnable$1.runInBackground(CPPToolchainsPanel.kt:855)
at com.jetbrains.cidr.cpp.toolchains.CPPToolchainsPanel$ToolchainPanel$addChecker$runnable$1$run$1$backgroundFunction$1.invoke(CPPToolchainsPanel.kt:1082)
at com.jetbrains.cidr.cpp.toolchains.CPPToolchainsPanel$ToolchainPanel$addChecker$runnable$1$run$1$backgroundFunction$1.invoke(CPPToolchainsPanel.kt:1055)
at com.jetbrains.cidr.cpp.toolchains.CPPToolchainsPanelKt$sam$java_lang_Runnable$0.run(CPPToolchainsPanel.kt)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:625)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:570)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
at com.jetbrains.cidr.cpp.toolchains.CPPToolchainsPanel$ToolchainPanel$addChecker$runnable$1$run$1.run(CPPToolchainsPanel.kt:1083)
at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:232)
at com.intellij.util.Alarm$Request.runSafely(Alarm.java:367)
at com.intellij.util.Alarm$Request.run(Alarm.java:357)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at com.intellij.util.concurrency.SchedulingWrapper$MyScheduledFutureTask.run(SchedulingWrapper.java:220)
at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:222)
at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:29)
at com.intellij.util.concurrency.BoundedTaskExecutor$1.execute(BoundedTaskExecutor.java:201)
at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:210)
at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:190)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.io.IOException: Cannot run program "cmd.exe" (in directory "D:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build"): CreateProcess error=740, The requested operation needs to be promoted .
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
at com.intellij.util.EnvironmentUtil$ShellEnvReader.runProcessAndReadOutputAndEnvs(EnvironmentUtil.java:293)
at com.intellij.util.EnvironmentUtil$ShellEnvReader.readBatOutputAndEnv(EnvironmentUtil.java:266)
at com.jetbrains.cidr.cpp.toolchains.MSVC$EnvCache$2.readBatOutputAndEnv(MSVC.java:515)
at com.jetbrains.cidr.cpp.toolchains.MSVC$EnvCache.getEnvironment(MSVC.java:517)
... 28 more
Caused by: java.io.IOException: CreateProcess error=740, The requested operation needs to be promoted .
at java.base/java.lang.ProcessImpl.create(Native Method)
at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:478)
at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:154)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107)
... 33 more
By looking at idea log It is found that it is a permission problem ,
Run as an administrator clion, solve .
边栏推荐
- 得知女儿被猥亵,35岁男子将对方打至轻伤二级,法院作出不起诉决定
- Mysql5.6 parsing JSON strings (supporting complex nested formats)
- 7. Scala class
- [binary tree] insufficient nodes on the root to leaf path
- 通过proc接口调试内核代码
- ICML 2022 | Meta提出鲁棒的多目标贝叶斯优化方法,有效应对输入噪声
- Database design in multi tenant mode
- ThoughtWorks global CTO: build the architecture according to needs, and excessive engineering will only "waste people and money"
- Redis+caffeine two-level cache enables smooth access speed
- Tita 绩效宝:如何为年中考核做准备?
猜你喜欢
Oracle Recovery Tools ----oracle数据库恢复利器
CMake教程Step2(添加库)
Use of ThinkPHP template
Tips for extracting JSON fields from MySQL
c#图文混合,以二进制方式写入数据库
Judge whether a number is a prime number (prime number)
Rider set the highlighted side of the selected word, remove the warning and suggest highlighting
7. Scala class
哈趣K1和哈趣H1哪个性价比更高?谁更值得入手?
机器学习01:绪论
随机推荐
ICML 2022 | Meta提出鲁棒的多目标贝叶斯优化方法,有效应对输入噪声
Cartoon: looking for the k-th element of an unordered array (Revised)
Cmake tutorial step6 (add custom commands and generate files)
Q2 encryption market investment and financing report in 2022: gamefi becomes an investment keyword
Force deduction solution summary 1200 minimum absolute difference
域名解析,反向域名解析nbtstat
Tita performance treasure: how to prepare for the mid year examination?
Zhang Ping'an: accelerate cloud digital innovation and jointly build an industrial smart ecosystem
CVPR 2022最佳学生论文:单张图像估计物体在3D空间中的位姿估计
33:第三章:开发通行证服务:16:使用Redis缓存用户信息;(以减轻数据库的压力)
MySQL之知识点(七)
华为云云原生容器综合竞争力,中国第一!
Embedded -arm (bare board development) -1
哈趣K1和哈趣H1哪个性价比更高?谁更值得入手?
Use JDBC technology and MySQL database management system to realize the function of course management, including adding, modifying, querying and deleting course information.
Learn about MySQL transaction isolation level
菜刀,蚁剑,冰蝎,哥斯拉的流量特征
張平安:加快雲上數字創新,共建產業智慧生態
Embedded UC (UNIX System Advanced Programming) -3
CMake教程Step6(添加自定义命令和生成文件)