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.

Importing and copying projects, includes

After importing a project and copying it into the workspace, build gives the following error

"../src/test_rmii_loopback.c", line 9: fatal error: could not open source file "types.h"

1 fatal error detected in the compilation of "../src/test_rmii_loopback.c".

Compilation terminated.

After poking around the tool and documents for an hour, i still have not merited to discover how to configure the include paths.

A related question:  How do we copy and rename a project in CCS4?   How do we avoid having to manually fix it afterwards?

Shouldn't a simple (idiot proof) copy and rename should be a basic feature for something that is supposed to be ready for prime time?

 

 

 

 

  • Hi Mitch,

    To copy an project: right-click on your project. In the context menu, there is an option to "Copy" a project. You can then right-click anywhere in the projects view and then select the "Paste" option.

    To rename a project: right-click on your project. In the context menu, there is an option to "Refactor->Rename" a project.

    Note that some issues may arise if copying projects with linked files. See this thread for more details:

    http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/103110/362700.aspx#362700

    Thanks

    ki

     

  • I did just that too copy and rename the project, but it leaves things in a bit of a mess. I also found the thread that you cited, but the instructions don't seem to exactly line up with what is in the files and it will take more than a few minutes to figure it out. 

    There is another reply that it is in the xdctools, and i did find it there, but i have not figured out how it gets referenced in the build.  Of course, in a typical c installation, it is in the default include tree.