Hi piergiovannigordini,
1 ) Please checked "Include paths" here :

2) Please do like this then show more error information to us :

3) You can also do like this :
Firstly copy the project to the workspace , then open the KDS use this workspace ,then import your project , build . I'm waiting your result after your try this method.
Have a great day,
Alice
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------