我正在尝试为C代码创建CI流程, 开发人员正在开发一个名为“ Kinetis”的IDE,当我从IDE运行并编译项目时,一切工作正常。
要创建CI,我尝试使用eclipsec.exe编译项目,然后出现错误:
c:\jenkins\workspace\embeded_build\ng_brg_plt_env\mqx\source\io\flash_spi\flash_spi.h:19:20: fatal error: device.h: No such file or directory
#include <device.h>
device.h文件存在于:
C:\ jenkins \ workspace \ Embeded_Build \ NG_BRG_PLT_ENV \ config \ twrk65f180m \ device.h
命令行中是否缺少某些内容?我找不到传递类路径的参数,我什至不知道这样做是否有帮助。
这是我正在运行的命令:
eclipsec.exe -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -import .\ -build mqtt -cleanBuild mqtt