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

nRF52840 BLE_APP_BLINKY app, unable to compilation error

Hi,

I am trying to test ble_app_blinky app. I am using VS Code for the development IDE and while compiling the application using MAKE I am running into Cannot file Source folder and Cannot find Include folder for various files.

My system is Windows 10 and I am using nRFSDK 16.0.0

I am attaching the screenshot for your reference. Please have a look and help me out.

Thank you!

error.jpeg

Parents
  • Hi,

    These errors are due to the makefile not finding the mentioned files.
    The makefile from the Blinkey project is using relative paths, and I suspect that your sparkfun_mini branch might be causing this fault, even though I do not immediately see why this should be the case.
    Have you made any other modifications to the Ble Blinkey SDK example, other than creating the sparkfun_mini directory branch?
    Especially, have you made any modifications to the make file itself? If you have, it would be of great help for the debugging if you could post it here.

    Could you attempt to compile the Blinkey project from the pca10056 path, and let me know if you receive any errors in doing so?

    Best regards,
    Karl

  • Hi Carl,

    Yes, you are right, these errors are due to the makefile not finding the mentioed files. But I verified that the all the files are present on my disk and they are at the exact location, if I translate the relative path to absolute path (not in the makefile just on the command line to verify)

    Yes, even I am surprised to see those errors becaue I have not made any change in the make file other than these two: highlighed in the red block.

    Have you made any other modifications to the Ble Blinkey SDK example, other than creating the sparkfun_mini directory branch?
    No I didn't make any changes.

    Also this is the make result for pca10056:

    Let me know if you any addintional information.

    --

    Thanks and Regards,

    Hardik

Reply
  • Hi Carl,

    Yes, you are right, these errors are due to the makefile not finding the mentioed files. But I verified that the all the files are present on my disk and they are at the exact location, if I translate the relative path to absolute path (not in the makefile just on the command line to verify)

    Yes, even I am surprised to see those errors becaue I have not made any change in the make file other than these two: highlighed in the red block.

    Have you made any other modifications to the Ble Blinkey SDK example, other than creating the sparkfun_mini directory branch?
    No I didn't make any changes.

    Also this is the make result for pca10056:

    Let me know if you any addintional information.

    --

    Thanks and Regards,

    Hardik

Children
No Data
Related