小编pro*_*r25的帖子

有关 CMake 错误的问题:没有为目标提供源

我正在尝试使用 cmake 和 eclipse 将 FreeRtos 添加到我的项目中,但出现错误。我运行的是 debian 10,我的 cmake 版本是 3.13.4。cmake 的文件可以在此 git repo中找到。当我运行以下命令时:

frank@debian:~/temp2/build$ cmake ../../temp2/AM335X-FreeRTOS-lwip/ -G"Eclipse CDT4 - Unix Makefiles"
Run Code Online (Sandbox Code Playgroud)

我收到以下错误:

    CMake Error at ProjectIncludes.cmake:46 (add_library):
  No SOURCES given to target: lib_third_party_ti_platform_beaglebone
Call Stack (most recent call first):
  CMakeLists.txt:33 (include)


CMake Error at ProjectIncludes.cmake:30 (add_library):
  No SOURCES given to target: lib_third_party_ti_utils
Call Stack (most recent call first):
  CMakeLists.txt:33 (include)


CMake Error at ProjectIncludes.cmake:38 (add_library):
  No SOURCES given to target: lib_third_party_ti_mmcsdlib
Call Stack (most recent call …
Run Code Online (Sandbox Code Playgroud)

c++ debian eclipse-cdt cmake freertos

11
推荐指数
2
解决办法
6万
查看次数

标签 统计

c++ ×1

cmake ×1

debian ×1

eclipse-cdt ×1

freertos ×1