Hi,
using the C/C++ project is the wrong way - that's why you get the error. Correct way is use New -> S32DS Application project:
jiri_kral_0-1685962147926.png
As a next step choose your MCU:
jiri_kral_1-1685962295824.png
This procedure configure all project settings for you.