gpt4 book ai didi

c++ - Eclipse Luna CDT 在 Windows 64 中失败

转载 作者:行者123 更新时间:2023-11-28 06:46:59 24 4
gpt4 key购买 nike

我已经为 windows x64 安装了 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".

然后,当我在 eclipse 中创建项目时,当您尝试编译它时,我收到此错误消息: ECLIPSE LUNA ERROR

我该如何解决?

谢谢!

最佳答案

您必须设置编译器位置。您可以在 Project->Properties->C/C++ Build -> Settings -> Toolchains 选项卡中执行此操作。

例如,我使用 CodeSourcery Lite 版本的编译器。因此,我在全局路径字段中选择“C:\Program Files (x86)\CodeSourcery\Sourcery_CodeBench_Lite_for_ARM_EABI\arm-none-eabi”。

见图:https://yadi.sk/i/Zx_KkMs5X7TKg

此外,您在 Node.cpp 文件中遇到了一些问题...但我需要查看此文件才能说明问题所在...

祝你好运!

瓦迪姆

关于c++ - Eclipse Luna CDT 在 Windows 64 中失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24792539/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com