Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/cplusplus/155.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C++ Eclipse Luna CDT在windows 64中失败_C++_Eclipse_Cygwin - Fatal编程技术网

C++ Eclipse Luna CDT在windows 64中失败

C++ Eclipse Luna CDT在windows 64中失败,c++,eclipse,cygwin,C++,Eclipse,Cygwin,我已经为Windowsx64安装了Cygwin。 安装后,我注意到系统可以找到所有东西 在控制台中: C:\Users\Tomás>gcc --version gcc (GCC) 4.8.3 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MER

我已经为Windowsx64安装了Cygwin。 安装后,我注意到系统可以找到所有东西

在控制台中:

C:\Users\Tomás>gcc --version
gcc (GCC) 4.8.3
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


C:\Users\Tomás>g++ --version
g++ (GCC) 4.8.3
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


C:\Users\Tomás>make --version
GNU Make 4.0
Built for x86_64-pc-cygwin
Copyright (C) 1988-2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

C:\Users\Tomás>gdb --version
GNU gdb (GDB) 7.6.50.20130728-cvs (cygwin-special)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-cygwin".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
C:\Users\Tomás>gcc--version
通用条款(gcc)4.8.3
版权所有(C)2013免费软件基金会。
这是自由软件;有关复制条件,请参见源。没有
担保甚至不是为了适销性或适合某一特定目的。
C:\Users\Tomás>g++--版本
g++(GCC)4.8.3
版权所有(C)2013免费软件基金会。
这是自由软件;有关复制条件,请参见源。没有
担保甚至不是为了适销性或适合某一特定目的。
C:\Users\Tomás>make--version
GNU Make 4.0
专为x86_64-pc-cygwin构建
版权所有(C)1988年至2013年自由软件基金会。
许可证GPLv3+:GNU GPL版本3或更高版本
这是自由软件:您可以自由更改和重新发布它。
在法律允许的范围内,不存在任何担保。
C:\Users\Tomás>gdb——版本
GNU gdb(gdb)7.6.50.20130728-cvs(cygwin特别版)
版权所有(C)2013免费软件基金会。
许可证GPLv3+:GNU GPL版本3或更高版本
这是自由软件:您可以自由更改和重新发布它。
在法律允许的范围内,不存在任何担保。键入“显示复制”
和“显示保修”了解详细信息。
此GDB配置为“x86_64-pc-cygwin”。
键入“显示配置”以获取配置详细信息。
有关错误报告说明,请参阅:
.
在线查找GDB手册和其他文档资源,网址为:
.
要获得帮助,请键入“帮助”。
键入“apropos word”搜索与“word”相关的命令。
然后,当我在eclipse中创建项目时,当您尝试编译它时,我会收到以下错误消息:

我怎样才能修好它


谢谢

必须设置编译器位置。 您可以在项目->属性->C/C++构建->设置->工具链选项卡中执行此操作

例如,我使用CodeSourcery Lite版本的编译器。 因此,我在全局路径字段中选择“C:\ProgramFiles(x86)\CodeSourcery\Sourcery\U CodeBench\U Lite\U for\U ARM\U EABI\ARM none EABI”

如图所示:

此外,您在Node.cpp文件中遇到一些问题。。。 但是我需要看看这个文件来说明问题所在

祝你好运

瓦迪姆