****** Internal Builder is used for build ******
g++ -ot1.o ..\t1.cpp
Internal Builder: Cannot run program "g++": The system cannot find the file specified.
Build error occurred, build is stopped
我是 eclipse 新手,在 Windows XP 上,想要运行 c/c++ progms + linux 构建(cygwin 已安装所需的软件包)
上面说的错误即将到来并且构建失败!请大家多多指教。
编辑:附加到路径环境变量 e:\cygwin\bin;
此供引用:
最佳答案
你怎么样setup your Cygwin toolchain in your Eclipse CDT ?
(摘自 Alex Wu 在 Alex's Tech Blog 中的优秀博客文章)
1/ Install the Cygwin properly, you need following packages:
binutils
gcc
gcc-core
gcc-g++
gcc-mingw-core
gcc-mingw-g++
make
gdb (needed if you want to support debug in eclipse)
you can check your cygwin installation using the '
cygcheck -c
' command
2/ Add
%cygwin%\bin
to your envPATH
, then open the eclipse. you will find the cygwin tool chain will be shown when you open a new c/cpp project wizard.
3/配置GDB。
转至Windows->首选项->C/C++ -> 调试 -> 通用源代码查找
。
添加以下“路径映射”:
\cygdrive\c -> c:\
\cygdrive\d -> d:\
other drives if any .......
关于eclipse - 内部生成器 : Cannot run program "g++": The system cannot find the file specified,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2606740/