[英]OS X Eclipse C++ “Program File Does Not Exist”
So I've decided to give Eclipse C++ on OS X a try but a problem I'm unsure of how to solve. 所以我决定尝试在OS X上使用Eclipse C ++但是我不确定如何解决这个问题。 I loaded it up, created my project, etc. I typed some test code, to test if everything is going to run correctly:
我加载它,创建我的项目等。我键入了一些测试代码,以测试是否所有内容都将正确运行:
#include <iostream>
using namespace std;
int main() {
int a = 30;
int b = 40;
int sum = a + b;
cout << sum << endl;
return 0;
}
Next, is this when I try to run the code > http://prntscr.com/eai3x9 接下来,当我尝试运行代码> http://prntscr.com/eai3x9时
When I click the "Details" button, same text > http://prntscr.com/eai6ls 当我点击“详细信息”按钮时,同样的文字> http://prntscr.com/eai6ls
I've searched everywhere on how to fix this problem but I can't find anything. 我到处搜索如何解决这个问题,但我找不到任何东西。 Any tips or help would be greatly appreciated.
任何提示或帮助将不胜感激。
So this is what worked for me: 所以这对我有用:
Eclipse SDL build error: "The program specified in the launch configuration does not exist" Eclipse SDL生成错误:“启动配置中指定的程序不存在”
In summary: 综上所述:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.