Hello @aiweixin,
It seems you found a bug in the RSDK_S32DS_template project provided by the Radar SDK. I checked the '.cproject' file from the folder on my machine: C:\NXP\S32R45_RSDK__1.0.0\Apps\S32DS_example\S32R45\RSDK_S32DS_template_LAX_1\
It shows there is a hardcoded path:
<macros>
<stringMacro name="RSDK_S32R45_1_0_0_DIR" type="VALUE_TEXT" value="C:/NXP/S32R45_RSDK__1.0.0"/>
</macros>
I suggest you modify this file and delete the lines above and then create the project again. It should now use the macro, which was defined when you installed the RSDK, in the file placed in the S32DS installation directory:
"C:\NXP\S32DS.3.4\S32DS\integration\swm.rsdk.s32r45.1.0.0.xml"
I'll report this to the RSDK team.
Best Regards,
Mike