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.

Source files become unlocatable on CC5.3

Other Parts Discussed in Thread: MSP430FR5739

Hi,

I have been having some issues for a few weeks now with CC5.3 failing to compile my files as it cannot find them.

I have just had a case tonight where I made some edits to my code, which compiled fine, I changed the include directory order in the settings and after that the code could not be located.

To resolve this I currently check in all my code, check it out in a new project and start again (I am using the SVN client plugin)

I had been working with CC4.x.x the exact versions I am not sure, but after the upgrade to 5.xx these issues have appeared.

I dont really want to delete my workspace as I have various example project etc that I have built up, though some of these do exibit the same "cannot find files issue".

I have seen a few other posts on this issue, none of which seem to help me, and I am just wondering if anyone else out there is experiencing something similar and what can be done to resolve it.

I should also state that it seems mostly to manifest itself on code composer restarts.

I do apologise that this is somewhat vague, as I find more info ill post

  • Hi Andy,

    A (small) reproducible test case would be very helpful. Also helpful would be some screenshots of the compiler errors stating it could not find the files.

    andy maginnis said:
    I had been working with CC4.x.x the exact versions I am not sure, but after the upgrade to 5.xx these issues have appeared.

    When you upgraded to v5, did you reimport the project to a new workspace?

    andy maginnis said:
    I dont really want to delete my workspace

    Could you at least try using a new workspace and importing the project with the issue and see if the issue persists?

    andy maginnis said:
    I have seen a few other posts on this issue

    Could you reference this posts?

    Thanks

    ki

  • Hi Ki,

    Issue just happened again. I just moved several files that I then excluded from the build and now I get the following message

    "C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
    'Building target: winzzzz.out'
    'Invoking: MSP430 Linker'
    "C:/ti/ccsv5/tools/compiler/msp430_4.1.5/bin/cl430" -vmspx --abi=coffabi -g --define=__MSP430FR5739__ --define=COMPILE_FOR_MSP --diag_warning=225 --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 --printf_support=minimal -z --stack_size=768 -m"winzzzz.map" --heap_size=256 --use_hw_mpy=F5 -i"C:/ti/ccsv5/ccs_base/msp430/include" -i"C:/ti/ccsv5/tools/compiler/msp430_4.1.5/lib" -i"C:/ti/ccsv5/tools/compiler/msp430_4.1.5/include" --reread_libs --warn_sections --rom_model -o "winzzzz.out"  -l"libc.a" "../lnk_msp430fr5739.cmd"
    <Linking>
    warning #10211-D: cannot resolve archive

    >> Compilation failure
       C:/ti/ccsv5/tools/compiler/msp430_4.1.5/lib/libc.a to a compatible library,
       as no input files have been encountered
    fatal error #10009: no input files
    gmake: *** [winzzzz.out] Error 1
    gmake: Target `all' not remade because of errors.

    I'll try and build a test case.

    The v5 move was maybe a few months ago and I did not start a new workspace.

    I will start a new one though and try reimporting the projects that I need. I had hoped there may be someone out there who had experienced the same issue and had a simple fix.

  • andy maginnis said:
       C:/ti/ccsv5/tools/compiler/msp430_4.1.5/lib/libc.a to a compatible library,
       as no input files have been encountered

    Odd one. libc.a should be able to reference the correct lib that you need. Could you reference directly the library that you need instead of using libc.a? probably rts430.lib in the same directory.

    Thanks

    ki

  • andy maginnis said:
    fatal error #10009: no input files

    The link command line does not show any object files (.obj) being passed to the linker, hence the error about "no input files". When the linker doesn't get any object files, it can't really do much. I'm not sure why no object files are being passed to the linker, as the compiler should have created obj files and they should automatically be passed to the linker. It might help to try doing a Rebuild and then look at the output in the build console.  

    I would suggest opening a new clean workspace in CCSv5, importing your project into it (menu Project->Import Existing CCS Eclipse Project ), and then doing a Rebuild Project.