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.

Invalid project path

New Project in CCS 6.1.3.  Compiles, and runs with no errors, but has several warnings.

Description Resource Path Location Type
Invalid project path: Missing project folder or file: \FODR\Source\C5500\C5500\C5500 for Source path. FODR  pathentry Path Entry Problem

I believe I deleted these directories outside CCS, i.e. Window Explorer, early on.  The directories do not exist, and are not part of the project at this point. 

  • Matt McConnell said:
    I believe I deleted these directories outside CCS, i.e. Window Explorer, early on.  The directories do not exist, and are not part of the project at this point. 

    Although the directories are no longer part of the project, perhaps the project metadata files were not correctly updated to reflected that. You could try manually deleting references to this path in the .cproject file, as per this post. But be sure to make a backup copy of the .cproject file before editing it in case the suggestion does not help.

  • Search of files did not locate these missing path definitions.
  • Could you please attach a screenshot of the error message as it appears in CCS? Also please zip up and attach all of the project metadata files (.cproject, .ccsproject and .project) so we can take a look at what may be generating this message.

  • How do I attach?
  • When you reply to a post, click on "Use rich formatting". The pane that opens up will have icons for attaching images, files, etc.

  • The project files look fine and provide no indication of why those messages are still appearing. They may just be lingering stale warnings, and if so you can simply select and delete them from the Problems view. Hopefully then they will not reappear on the next Build/Rebuild.

  • I deleted them in Problems window, but they reappear after every build? 

  • Matt McConnell said:
    I deleted them in Problems window, but they reappear after every build? 

    That is quite odd. One thing you could try is to clean the workspace or import your project into a new workspace: 
    http://processors.wiki.ti.com/index.php/Troubleshooting_CCSv6#General_IDE

    If the issue is due to workspace corruption the above may help. If it does not help, then the project itself may be corrupted or there is something else going on, in which case the only way I can think of to get rid of the warnings would be to create a new project from scratch.

    Sorry about the inconvenience.

  • I have started with new project and imported, with same issue. I can create the empty folders in CCS and the warnings are removed. Not sure who, or what is pointing to these folders. Subsequent removal of the folder causes the warnings to be generated again.
  • If I add a empty folder in the Project Explorer, and then remove it, I get an additional warning.
  • I've been trying to reproduce this but have not been successful so far. Are you able to zip up and attach a project (along with detailed steps) that can be used to recreate this warning? If so, we could investigate it further.

  • I tried to repeat steps on a new simple project, but was unable to cause error.  I moved all files to this project, no errors. 

    Is there a way to provide the project path to runtime support library option on the general tab?  I would like to locate all source files in project directory, vs. fixing it with path by browsing.

  • Matt McConnell said:
    Is there a way to provide the project path to runtime support library option on the general tab?  I would like to locate all source files in project directory, vs. fixing it with path by browsing.

    Yes, you can click on Browse next to the Runtime Support library under Project Properties->General, and browse to the library. Alternately, if you are locating the runtime library somewhere within the project directory, then it will be automatically picked up for the build. In this case, no explicit path specification is required.

  • Browse will not let me call out project root. When the project is moved, it loses the correct path. If I leave it in automatic, it always finds it in the TI/ccsv6/tools.... directory vs. looking through my project directory.
  • Matt McConnell said:
    Browse will not let me call out project root.

    That is correct, 'Browse' will add it as a hard-coded path.
    You could try linking the file directly to the project and set the linked path relative to the variable PROJECT_ROOT. Hope that helps!