AnsweredAssumed Answered

Why eclipse can't recognize the PATH variable?

Question asked by 何纯 陈 on Jan 22, 2019
Latest reply on Jan 26, 2019 by 何纯 陈

Dear support team:

    When i use eclipse command line to construct my program, i found that the path variable can't correctly parsed.

 

    Command line:

    eclipsec.exe -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data x import x -cleanBuild x/x --launcher.ini s32ds.ini --launcher.suppressErrors

    IDE: Version: 2018.R1  Build id: 180815

    Configurations: 

The setting of C compiler:

   

The setting of path variables:

  • The *.args of a object compile with S32DS is:

-I"C:/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K14x_EAR_0.8.6/platform/drivers/src/lin"
-I"C:/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K14x_EAR_0.8.6/platform/devices/S32K144/startup"
-I"C:/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K14x_EAR_0.8.6/rtos/osif"
-I"C:/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K14x_EAR_0.8.6/middleware/sbc/sbc_uja1169/include"
-I"C:/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K14x_EAR_0.8.6/platform/devices/common"
-I"C:/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K14x_EAR_0.8.6/platform/drivers/src/sai"
-I"C:/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K14x_EAR_0.8.6/platform/devices/S32K144/include"

  • The *.args of the object compile with eclipse command line is:

-I"/platform/drivers/src/lin"
-I"/platform/devices/S32K144/startup"
-I"/rtos/osif"
-I"/middleware/sbc/sbc_uja1169/include"
-I"/platform/devices/common"
-I"/platform/drivers/src/sai"
-I"/platform/devices/S32K144/include"

 

 

You can see that the path variables can't parsed correctly in command line mode.

Hope you can help me to analyze this issue.

 

Eagerly awaiting your reply.

Outcomes