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.
Hi,
I am trying to setup my project such that other users are able to simple copy and paste the workspace to run the project on their computers. However, when they try to re-build the project, they are getting the following errors:
Normal 0 false false false EN-CA X-NONE X-NONE
gmake: *** No rule to make target `C:/Users/sayan/Documents/SimplicitTI_test/Components/simpliciti/nwk_applications/nwk_freq.c', needed by `Components/nwk_applications/nwk_freq.obj'.
gmake: *** No rule to make target `C:/Users/sayan/Documents/SimplicitTI_test/Components/simpliciti/nwk_applications/nwk_ioctl.c', needed by `Components/nwk_applications/nwk_ioctl.obj'.
gmake: *** No rule to make target `C:/Users/sayan/Documents/SimplicitTI_test/Components/simpliciti/nwk_applications/nwk_join.c', needed by `Components/nwk_applications/nwk_join.obj'.
gmake: *** No rule to make target `C:/Users/sayan/Documents/SimplicitTI_test/Components/simpliciti/nwk_applications/nwk_link.c', needed by `Components/nwk_applications/nwk_link.obj'.
gmake: *** No rule to make target `C:/Users/sayan/Documents/SimplicitTI_test/Components/simpliciti/nwk_applications/nwk_mgmt.c', needed by `Components/nwk_applications/nwk_mgmt.obj'.
gmake: *** No rule to make target `C:/Users/sayan/Documents/SimplicitTI_test/Components/simpliciti/nwk_applications/nwk_ping.c', needed by `Components/nwk_applications/nwk_ping.obj'.
gmake: *** No rule to make target `C:/Users/sayan/Documents/SimplicitTI_test/Components/simpliciti/nwk_applications/nwk_security.c', needed by `Components/nwk_applications/nwk_security.obj'.
gmake: *** No rule to make target `C:/Users/sayan/Documents/SimplicitTI_test/Components/simpliciti/nwk/nwk.c', needed by `Components/nwk/nwk.obj'.
gmake: *** No rule to make target `C:/Users/sayan/Documents/SimplicitTI_test/Components/simpliciti/nwk/nwk_QMgmt.c', needed by `Components/nwk/nwk_QMgmt.obj'.
gmake: *** No rule to make target `C:/Users/sayan/Documents/SimplicitTI_test/Components/simpliciti/nwk/nwk_api.c', needed by `Components/nwk/nwk_api.obj'.
gmake: *** No rule to make target `C:/Users/sayan/Documents/SimplicitTI_test/Components/simpliciti/nwk/nwk_frame.c', needed by `Components/nwk/nwk_frame.obj'.
gmake: *** No rule to make target `C:/Users/sayan/Documents/SimplicitTI_test/Components/simpliciti/nwk/nwk_globals.c', needed by `Components/nwk/nwk_globals.obj'.
gmake: *** No rule to make target `C:/Users/sayan/Documents/SimplicitTI_test/Components/mrfi/mrfi.c', needed by `Components/mrfi/mrfi.obj'.
gmake: *** No rule to make target `C:/Users/sayan/Documents/SimplicitTI_test/Components/bsp/bsp.c', needed by `Components/bsp/bsp.obj'.
gmake: Target `all' not remade because of errors.
Can anyone explain why this might be? It compiles and builds fine on my computer. I even removed the "C:/Users/sayan/Documents/SimplicitTI_test/Components/bsp/bsp.c" folder from my computer and yet it builds just fine. And I have no idea why ccs is trying to look for those files.
Thanks
There are some tips to project portability in the CCSv4 Tips & Tricks presentation available on the Processor Wiki.
http://processors.wiki.ti.com/index.php/Category:Code_Composer_Studio_v4
Regarding your specific issue, are the paths to the various C files appropriate on their machine? I would start there in terms of debugging what might be happening.
No its not appropriate in their machines. The compiler should not be looking for those files in that directory. Those files are physically located within the project.
I looked through the tips and tricks for porting but they don't apply to my project.
Does the .project file have a different path setup for these files? This is one of the files used by CCS to understand where to look for the project files.
Setting up portable projects can be tricky depending on how your project is structured. Did you take a look at topic shown below? It specifically covers portable projects
http://processors.wiki.ti.com/index.php/Portable_Projects
martin