
[英]What do I do when the Eclipse CDT indexer gets stuck?
我使用的是 Eclipse CDT 2020-06(但这在我的早期版本中发生过。) 有时,Eclipse CDT 在解析某些文件时卡住。 百分比指标不前进; 并按下任务的取消按钮使其成为“已请求取消”,但它仍然停留在这种状态。 因此,我不仅不能为我的项目使用索引,而且大多数其他“异步”任务也会排队 ...
[英]What do I do when the Eclipse CDT indexer gets stuck?
我使用的是 Eclipse CDT 2020-06(但这在我的早期版本中发生过。) 有时,Eclipse CDT 在解析某些文件时卡住。 百分比指标不前进; 并按下任务的取消按钮使其成为“已请求取消”,但它仍然停留在这种状态。 因此,我不仅不能为我的项目使用索引,而且大多数其他“异步”任务也会排队 ...
[英]Debugging multithread application with eclipse cdt
我正在使用 eclipse cdt 开发 c++ 的多线程应用程序。 我需要调试我的代码,我尝试使用 printf 写入控制台,但它不是很有用。 我如何调试我的多线程代码? ...
[英]How can I enable automatic code suggestions in eclipse for c++?
我决定使用 eclipse 作为 c++ 编码的主要 IDE,但我似乎无法弄清楚自动自动完成。 当我按ctrl + space时,它显示它们就好了,但当我正常打字时却没有。 我尝试浏览设置,但在auto-activation下的内容辅助设置中,它只有. 、 ::和->触发器,而不是字母、数 ...
[英]invert if statement in eclipse
我在 C++ 开发。 我知道 JetBrain 的 function“反转 if 语句”以将 if 块与 else 块交换并交换条件。 有没有办法在 eclipse 中做同样的事情? 谢谢泰迪 ...
[英]Eclipse CDT error “A resource exists with a different case”
我正在 Eclipse 上开发一个 C/C++ 项目,但是,当我编译它时,会出现这个错误: 当出于我的需要,我不得不将内部编译器切换到 Cygwin 编译器(在 Windows 中)时,此错误开始出现。 我在 web 上阅读了一些解决方案,但我无法真正弄清楚问题所在(我是 Eclipse 新手) ...
[英]How do I produce an installable form of an Eclipse plugin from “sources”?
我想使用的插件OpenCL 开发工具的更新站点已死。 但是,似乎可以使用某种形式的资源: I'm not an Eclipse developer, but I was hoping I could recreate the plugin in some form I could use to ...
[英]Installing the Eclipse OpenCL plugin without Internet access
我: ... 有一些(相对较新的)版本的 Eclipse 想安装OpenCL开发工具插件有更新站点URL: http://p2.ngms.hu/releases/luna 目标计算机上没有 Internet 连接可以将文件复制到目标机器有另一台机器,通过代理连接到互联网,工作(但它可能与目标机器不同 ...
[英]Error Installing DevStyle plugin for Eclipse
我安装了当前最新版本的 eclipse (202006) CDT。 我尝试安装 DevStyle 插件并收到以下错误:Cannot complete the install because some dependencies are not satisfiable Software being ...
[英]Where does ARM Development Studio IDE (Eclipse) saves the last workspace path
我们使用 ARM Development Studio v2019。 IDE 是基于 Eclipse CDT 的。 我试图找出它保存上次使用的工作区的路径的位置。 我发现了这个问题,但该信息要么已过时,要么不适用于 ARM DS。 ...
[英]Numeric file identifier like __FILE__ for logging purposes
我有几个相当大的基于 gcc 的 C 项目(超过 400 个文件,部分由项目共享),其中每个文件都有一个用于记录 output 的文件 ID。 这归结为这样的事情: 使用 log.h: 这个概念在两个方面存在缺陷: MOD_ID 很难维护并且很容易被复制消息是通过网络发送的,接收方不知道哪个id ...
[英]Proper way to add c++ includes to eclipse
我通常将 eclipse 用于 java,现在我需要做一些 cpp 的东西。 我正在使用 vcpkg 进行依赖管理,并使用 cmake 通过二进制构建: 这工作正常。 但是,eclipse 找不到这些依赖项,我所做的是: 项目属性/c/c++ 常规/路径和符号/gnu c++ 并添加 我猜这可行, ...
[英]How do I programatically add macro definitions and library search paths to an Eclipse CDT project?
我想使用 externalSettingsProvider 扩展点以编程方式将包含路径和宏定义添加到 CDT 项目中,并且我一直在努力寻找基础指南,所以这个问题旨在提供这一点。 到目前为止,我已经创建了一个插件项目,在插件 xml 编辑器的扩展选项卡中,我添加了一个扩展,使得 plugin.xml ...
[英]How to migrate legacy eclipse rcp feature project from Mars(4.5) to Oxygen(4.7)
我正在开发一个 RCP 项目,该项目目前正在 Eclipse Mars(4.5) 版本上运行。 我需要将项目迁移到氧气版本。 但是当我将项目导入工作区并运行应用程序时,出现了很多与插件相关的错误。 我在.product 文件中尝试了 Add-required 选项,但仍然存在许多错误。 有人知道如 ...
[英]Eclipse project files vanish when unmounting a dynamic view
我(不幸的是)必须为我的一些代码使用 ClearCase。 现在,我使用的是安装在/path/to/source的动态视图。 我面临的问题是如何设置和维护Eclipse 项目,以便我可以使用 Eclipse CDT 处理代码。 你看,当我卸载视图(或离开 shell 时,视图是使用ct setvie ...
[英]Eclipse CDT: No way to add Language Settings Provider
我正在尝试将 ROS 与 Eclipse 一起使用,我需要执行如何安装 eclipse 并为 ROS 指令配置它的最后步骤之一: 单击选项卡“提供程序”并选中“CDT GCC 内置编译器设置 [共享]”旁边的框但我做不到: ...
[英]Eclipse executable arch type
当我尝试使用Eclipse和 c++ 项目在我的 Mac 上为 linux 系统创建可执行文件时遇到了问题。 我可以准备可执行文件,但对于 arch x86_64 $ file <fileName>: Mach-O 64-bit executable x86_64 在 linux 系统上 ...
[英]How do I deal with “undefined reference to `regcomp'” error
I'm new to Eclipse environment and I'm trying to write a C program in Eclipse installed in Windows 10. Compiler I use is MinGW latest version install ...
[英]GSettings, glib-compile-schemas and Eclipse
我正在 Ubuntu 中构建这个 Gtkmm3 应用程序,并想探索 GSettings。 一切顺利,按照“使用 GSettings ”页面上的说明进行操作,然后是时候配置 make 文件了。 我使用 Eclipse 2019-12 IDE 和 CDT(V9.10)和“GNU Make Builde ...
[英]Can run executables using CUDA from command-line, but failing to find some .so file when debugging them
我编写了一个可以编译和运行的 CUDA 应用程序。 但是,当我尝试通过 Eclipse CDT 或通过 kdbg 调试/运行它们时,我收到一条错误消息,例如: 或与libcudart.so.10.2类似的消息。 如果可执行文件自行运行,为什么会发生这种情况,我该怎么办? 关于我的系统的信息: 一个源 ...
[英]How do I get cmake4eclipse to actually run CMake?
我今天将cmake4eclipse安装到我的 Eclipse CDT 2019.3 中。 它安装得很好,我可以在首选项对话框中看到它。 但是...为了我的生活,我无法做到/让 Eclipse 运行 CMake? 我该怎么做? ...