使用eclipsec.exe编译失败,但使用IDE通过

时间:2019-12-03 13:04:30

标签: c eclipse eclipse-cdt

我正在尝试为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

命令行中是否缺少某些内容?我找不到传递类路径的参数,我什至不知道这样做是否有帮助。

https://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fmisc%2Fruntime-options.html

这是我正在运行的命令:

eclipsec.exe -nosplash  -application org.eclipse.cdt.managedbuilder.core.headlessbuild -import .\ -build mqtt -cleanBuild mqtt

0 个答案:

没有答案