Eclipse CDT "Path must include project and resource name"

标签 eclipse eclipse-cdt build-error

我一直在用这个头撞砖墙,所以任何帮助将不胜感激:)

我创建了两个具有以下结构的项目。

  • C:\ide\xxx\source
  • 下有一个源文件夹
  • C:\ide\xxx\build1下有一个项目文件夹
  • C:\ide\xxx\build2下有一个项目文件夹
  • build1 和 build2 都使用变量 MYBUILD_ROOT="C:\ide\xxx"包含链接文件夹 C:\ide\xxx\source。

  • build2 使用内部构建器编译得很好。但是, build1 甚至没有开始构建,因为它报告
    > **** Rebuild of configuration Release for project CoreMarkTs1 ****
    > 
    > **** Internal Builder is used for build               **** 
    > Build error
    > Path must include project and resource
    > name: /build1
    

    任何帮助将非常感激。

    最佳答案

    这个问题已经有 3 年了,我知道,但以防万一有人遇到同样的问题(就像我一样)

    这个线程可能会回答这个问题:Eclipse CDT Invalid Project Path .
    如果“发现选项”不存在,另一个线程解释了如何让它重新出现:Discovery Options in Eclipse C/C++

    就我而言,这种操作并没有奏效。后来我发现我加载的 DLL 列表中有一个格式错误的路径(项目属性 > C/C++ 构建 > 设置 > 交叉 G++ 链接器 > 杂项 > 其他对象)。我更正了 DLL 的错误路径,现在“路径必须包含项目和资源”错误消失了(现在我只有常规错误:P)

    关于Eclipse CDT "Path must include project and resource name",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3666592/

    相关文章:

    php - 是否可以为我的应用程序生成代码提示引用,如 PHP 的 standard.php

    java - 从菜单中选择帮助(警报对话框)选项时,应用程序停止工作

    c++ - eclipse CDT : rebuilding a dependent project

    parsing - 在 Eclipse 中使用 CDT 解析器(如何制作项目?)

    android - 构建 Android 应用程序项目时出错

    android - 如果 LOCAL_SERVER 为 True,Android Release Build 会失败吗?

    java - 在 Eclipse 中安装 Maven,无需插件

    c++ - Eclipse CDT 5.x 和 cmake 2.6.x

    android - 打包错误 : Command "adb.exe -s emulator-5554 pull/system/bin/app_process" failed. 退出代码:1

    android - nme haxe,无法使用 flashdevelop 在 android 平台上构建