Eclipse CDT插件问题 [英] Eclipse CDT plugin problems

查看:336
本文介绍了Eclipse CDT插件问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在我的Windows 7计算机上运行一个c程序使用eclipse和im运行到一个小小的障碍。我目前在我的电脑上下载了CDT插件,我也下载了Mingw并将其设置到我的路径。当我建立简单的Hello world程序时,它会创建一个带有makefile的调试文件以及其中的所有内容,但是对齐状态

  ****构建配置调试项目C_Test **** 

使所有




`无法运行程序make(在目录C:\Users\Chmoder\workspace\C_Test\Debug中):CreateProcess error = 2,系统找不到指定的文件
错误:程序make在PATH中找不到



PATH = [C:\Users\Chmoder\Downloads \eclipse; C:\MINGW\Bin; C:\Program Files\Common Files\Microsoft Shared\Windows Live; C:\Program Files(x86)\Common Files\Microsoft Shared\\ \\ Windows Live; C:\程序文件(x86)\ATI Stream\bin\x86_64; C:\程序文件(x86)\ATI Stream\bin\x86; C:\Windows\\ \\system32; C:\Windows; C:\Windows\System 32\Wbem; C:\Windows\System32\WindowsPowerShell\v1.0\; C:\Program Files(x86)\ATI Technologies\ATI.ACE\Core-Static; c: \程序文件(x86)\Common Files\Roxio Shared\DLLShared\;; c:\Program文件(x86)\Common Files\Roxio Shared\12.0\DLLShared\; C:\\ \\ Program Files(x86)\Windows Live\Shared]`


另外,当我尝试在构建它之后运行我的程序,它说
未找到二进制



任何帮助人员

解决方案

另一个解决方案是在eclipse.ini中设置MINGW_HOME变量:

  -DMINGW_HOME = C:\程序文件(x86)\CodeBlocks\MinGW 

这样可以避免更改系统PATH管理员权限)



(由 eclipse / CDT的帮助


im trying to run a c program on my windows 7 computer using eclipse and im running into a little snag. I currently have Eclipse downloaded on my computer with the CDT plugin and i have also downloaded Mingw and set it to my path. When i build my simple "Hello world" program it does create a debug file with the makefile and everything in it but the concle dialog states

**** Build of configuration Debug for project C_Test ****

make all 

`Cannot run program "make" (in directory "C:\Users\Chmoder\workspace\C_Test\Debug"): CreateProcess error=2, The system cannot find the file specified Error: Program "make" is not found in PATH

PATH=[C:\Users\Chmoder\Downloads\eclipse;C:\MINGW\Bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\ATI Stream\bin\x86_64;C:\Program Files (x86)\ATI Stream\bin\x86;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;c:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;c:\Program Files (x86)\Common Files\Roxio Shared\12.0\DLLShared\;C:\Program Files (x86)\Windows Live\Shared]`

Also, when i try to run my program after building it, it says "Binary not found"

any help people?

解决方案

Another solution is to set the MINGW_HOME variable in eclipse.ini :

-DMINGW_HOME=C:\Program Files (x86)\CodeBlocks\MinGW

This avoid to change the system PATH (often requires administrator rights)

(solution suggested by help of eclipse / CDT)

这篇关于Eclipse CDT插件问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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