This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Duplicate Path warning and CDT Builder errors

Other Parts Discussed in Thread: SIMPLICITI, CC430F5137

I just updated to CCS 5 from CCS4 and have a couple of problems. First is a warning:

Invalid project path: Duplicate path entries found (/Sensor Monitor [Include path] isSystemInclude:true includePath:C:/Texas Instruments/ccsv5/tools/compiler/msp430_4.1.5/include)

If I view the project properties MSP430 Compiler I see this

include_path="C:/Texas Instruments/ccsv5/ccs_base/msp430/include" --include_path="C:/Texas Instruments/ccsv5/tools/compiler/msp430_4.1.5/include" --include_path="C:/Texas Instruments/ccsv5/tools/compiler/msp430_4.1.5/include" --include_path="C:/mtrfs/Components/bsp" --include_path="C:/mtrfs/Components/bsp/boards/MTRFS" --include_path="C:/mtrfs/Components/bsp/drivers" --include_path="C:/mtrfs/Components/mrfi" --include_path="C:/mtrfs/Components/simpliciti/nwk" --include_path="C:/mtrfs/Components/simpliciti/nwk_applications" --include_path="C:/mtrfs/Projects/Examples/MTRFS/_driver" --include_path="C:/mtrfs/Projects/Examples/_logic" --define=__CC430F5137__ --define=MRFI_CC430

Which shows the 4.1.5 compiler include twice. How do I get rid of one of these?

 

The other is an error I get when compiling certain build configurations in my project:

Errors occurred during the build. Errors running builder 'CDT Builder' on project 'Sensor Monitor'. java.lang.NullPointerException.

I get this error right after the build process finishes the clean. Other build configurations complete without error.

 

 

  • Hi Tim,

    did you modify the include paths/variables?  It would be interesting for sure to see where the duplicate is coming from.  Do you have two listing under window->preferences->code composer studio->build->compilers?

    Regarding the build error.  What is different about the configurations that give the error?  Would you be able to post the full console window output?

    Best Regards,
    Lisa 

  • I only have the one compiler listed in the preferences/Code Composer/compiler tab. FYI, I had to go into the project properties/general tab and change the compiler version from 3.x.x to 4.1.5, since I had updated the project from CCS V4 to CCS V5.

     

    As for the compile, it fails right after doing the clean.

    'Finished clean'

    ' '

    **** Build Finished ****

     

     I may try deleting the configuration and re-creating it again.

     

  • Hi Tim,

    ok, please keep us informed.

    Best Regards,

    Lisa

  • Deleting and rebuilding the configuration did not solve my CDT build error.

    But excluding a file in my project did remove the CDT Build error. Of course the compile failed because the excluded file was needed. So I deleted the file link in my project and then re-linked the file into the project. The build process then completed successfully.

     So there seemed to be some problem with the file linkage when I transitioned from CCS4 to CCS5. I had one other file in the build structure that was causing the same error. Deleting and then relinking the file fixed that file as well.

  • Hi Tim,

    ok, many thanks for the update and feedback.

    All the best with development.

    Best Regards,
    Lisa