quot;g++quot; is not recognized as an internal or external command, MinGW(“g++不被识别为内部或外部命令,MinGW)
问题描述
在我的电脑上,我有 Windows 7 x86.我安装了 MinGW,我写了路径,但是当我进入 cmd.exe 并写 g++ -v 时它说:
On my computer I have Windows 7 x86. I installed MinGW, I wrote the path but when I go in cmd.exe and write g++ -v it says:
"g++" is not recognized as an internal or external command.
但是当我编写 make -v 命令时,它会识别它.我在学校需要这个,我在 Eclipse 中工作,我什至安装了最新的 java(我看到它必须安装).
But when I write the make -v command it recognizes it. I need this for school, I work in Eclipse, I even installed the latest java(I saw it must be installed).
推荐答案
看到make命令运行正常,我想你忘记在MinGW安装管理器中标记mingw-gcc-g++包了.
Seeing that the make command works fine, I think you forgot to mark the mingw-gcc-g++ package in the MinGW Installation Manager.
再次运行 MinGW 安装管理器并标记 mingw-gcc-g++ 进行安装,然后按 Apply Changes
Run the MinGW Installation Manager again and mark mingw-gcc-g++ for installation and press Apply Changes
这篇关于“g++"不被识别为内部或外部命令,MinGW的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:“g++"不被识别为内部或外部命令,MinGW
基础教程推荐
- 如何对 Java Hashmap 中的值求和 2022-01-01
- REST Web 服务返回 415 - 不支持的媒体类型 2022-01-01
- 使用堆栈算法进行括号/括号匹配 2022-01-01
- Spring AOP错误无法懒惰地为此建议构建thisJoinPoin 2022-09-13
- 修改 void 函数的输入参数,然后读取 2022-01-01
- 问题http://apache.org/xml/features/xinclude测试日志4j 2 2022-01-01
- 无法复制:“比较方法违反了它的一般约定!" 2022-01-01
- Struts2 URL 无法访问 2022-01-01
- RabbitMQ:消息保持“未确认"; 2022-01-01
- 存储 20 位数字的数据类型 2022-01-01
