Eclipse C ++ MinGW-无法启动程序< Terminated> [英] Eclipse C++ MinGW - Can not Lauch Program <Terminated>

查看:84
本文介绍了Eclipse C ++ MinGW-无法启动程序< Terminated>的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Eclipse中的新手. 我使用Eclipse Indigo和MinGW编写C ++.创建建立一个Hello Word项目是可以的,但是我可以运行该程序.倾斜时已终止!

I'm a newbie in Eclipse. I use Eclipse Indigo and MinGW to program C++. Create build a Hello word project is ok but i can run the program. It have been terminated when lanched !

这是构建日志(Ctrl + B):

This is the Build Log (Ctrl + B):

" ****为项目Hl建立配置调试****

" **** Build of configuration Debug for project Hl ****

****内部构建器用于构建**** 没有为Hl建造的东西

**** Internal Builder is used for build **** Nothing to build for Hl

"

这是我按Ctrl + F11运行时得到的: " "

This is what I get when press Ctrl + F11 to run : " "

有人可以告诉我如何解决这个问题吗?

anybody could tell me how to solve that problem ?

推荐答案

您需要确保将C:\ MinGW \ bin包含在路径环境中

You need to make sure you include C:\MinGW\bin into the path environment

此外,请确保您不包括这样的路径-> C:\ MinGW \ msys \ 1.0 \ bin 如果这样做,构建的应用程序将立即崩溃!

In addition, make sure that you don't include paths like this -> C:\MinGW\msys\1.0\bin If you do so the built application will crash immediately!

这篇关于Eclipse C ++ MinGW-无法启动程序< Terminated>的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆