No such file or directory error2

Hello,

I am trying to compile an RSL10 example which is shared by other company.
When I import that project to onsemi IDE, Error message pop-up.
“Error updating RTE project. Resource /~.rteconfig does not exist.”
But I could find that file in that path.

Also “No such file or directory” compile error occurs.
I could find that file in Project Explorer too.

How could I fix those error?
Please let me know.

@jiyeon.park

Can you try following steps below:

  1. Right click on the Project and select ‘Clean Project’
  2. Delete the RTE folder from the Project
  3. Right click on the Project and select ‘Refresh’ (This should regenerate the RTE folder from the CMSIS Pack)
  4. Right click on the Project and select ‘Index > Rebuild’
  5. Right click on the Project and select ‘Build Project’

Are you able to build & debug our “Blinky” Example from RSL10?

Hello,

Yes, I can build “Blinky” example.
Error occurs only on that project.

I tried your suggestion, But there still error.
“…/code/app_init.c:20:10: fatal error: app.h: No such file or directory”

@jiyeon.park

What is the project’s name CMSIS example? Was the project somehow modified from our original CMSIS example? Can you attach it to this thread?

@jiyeon.park

One more thing : the project from the other company may have used absolute paths instead of relative paths in the C/C++ Build Settings. We suggest to check the Include paths. They should use variables such as

“{ProjName}/include}”

instead of absolute path names as in this screen-shot:

Hello,

Error is fixed.
Thanks for your help:)

3 Likes