This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DS-5 Errors running builder 'CDT Builder' on project (java.lang.NullPointerException)

If I set Project properties >> C/C++ Build >> Settings >> Tool Settings >> ARM Linker >> Image Layout >> Scatter File to an absolute path, I can build the project successfully.

If I set to a relative path, using the variable PROJECT_LOC (for example <PROJECT_LOC\..\..\..\..\..\..\>), the build fails with the message

Errors running builder 'CDT Builder' on project (java.lang.NullPointerException)

 

This seems the same issue described here.

Is there a way to fix this error?

Parents
  • Hi,
    So it seems to be a better error :-)
    I mean 1st one looks like there is a syntax error. The 2nd one just say the environment variable can be resolved, but the path is not correct.
    did you try with &#x27;/&#x27; instead of &#x27;\&#x27;. ?
    claudio
Reply
  • Hi,
    So it seems to be a better error :-)
    I mean 1st one looks like there is a syntax error. The 2nd one just say the environment variable can be resolved, but the path is not correct.
    did you try with &#x27;/&#x27; instead of &#x27;\&#x27;. ?
    claudio
Children
  • I replaced all the backslash chars "\" with slashes "/" but this doesn't work.

    Looking to other flags set for ARM Assembler, I tried

    ${ProjDirPath}/../../../../../../platform/devices/VF6XX/linker/arm/scatter_m4.scat

    and this works.