c++ - 如何在 eclipse CDT 中使用链接资源?

标签 c++ eclipse-cdt

我发现在 Eclipse CDT 中配置链接资源非常困难。

文件夹“wspolne”位于系统中的某个位置,我想在我当前的项目中使用其中的 .cpp .h 文件,但避免复制它.
从我读到的有关链接资源的内容来看,这是一个解决方案,但我无法构建项目:/

我关注了instuctions described here没有任何结果:怎么了?

显示问题的图像:

alt text http://img260.imageshack.us/img260/1629/eclipsen.jpg

最佳答案

我不确定链接的文件夹是否总是 adequately indexed CDT
(2012 年 10 月更新,最近的 CDT 版本已经变得更好)

解决方法是,如 in this thread :

If you want CDT to manage the builds you need to move the sub-folders into there own project folder and create dependencies between them.

关于c++ - 如何在 eclipse CDT 中使用链接资源?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2609207/

相关文章:

c++ - 处理其他信号时等待信号

c++ - 我们如何正确实现 C++ 子类对象的 Python 绑定(bind)?

C++ 在 Mac 上查找执行路径

c - 这里的代码片段有语法错误吗?

c++ - C++ 用户定义文字的 Eclipse/MinGW 问题

c++ - 调用一个函数一段时间

linux - 将 eclipse CDT 与 Cmake 一起使用时的索引器问题

c - 使用 CDT 类验证 C 代码

c++ - Eclipse创建项目每次运行单个文件?

C++11: move 操作会改变地址吗?