This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Unknown error in file path problem.

Hello

I am modifying the example of mpu6050 of sdk v14 in sdk v17.

After build, it is printed that there is no path to the file as shown in the image below.

(The captured picture doesn't look right.)

"Y:Nordic\SDK17.0\nRF5_SDK_17.0.0_9d13099\components\mpu_example\nrf_drv_mpu_twi.c: No such file or directory"

However, the path shown in the error does not contain the file and it is in the other path.

                     

The same error occurs when you delete and add the file again.   Why is there such a problem?

Thank you.

Parents
  • Hello,

    I suspect that your linker does not know that the directory "mpu_example" exists - since it is not a part of the SDK v.17.
    Could you make sure that your User included directories contain the path to your nrf_drv_mup_twi files?
    You can do this by right clicking on the project file then choose those the COMMON configuration, and clicking Options -> Preprocessor -> User Included Directories.

    Best regards,
    Karl

Reply
  • Hello,

    I suspect that your linker does not know that the directory "mpu_example" exists - since it is not a part of the SDK v.17.
    Could you make sure that your User included directories contain the path to your nrf_drv_mup_twi files?
    You can do this by right clicking on the project file then choose those the COMMON configuration, and clicking Options -> Preprocessor -> User Included Directories.

    Best regards,
    Karl

Children
Related