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.

I get "Access is Denied" errors when trying to run "Clean Project"

Other Parts Discussed in Thread: CCSTUDIO

When I try to run "Clean Project", I get many "Access is Denied" errors.  Below is the output from the tab labeled "CDT Build Console [this]" (my project is called "this").

I think this may have to do with my project name, "this", is not the same as the file name containing main(), but I'm not sure and haven't figured out the correct sequence for changing the file name in git and CCS6.

Any thoughts would be very helpful.

Thanks.

-Leo

**** Clean-only build of configuration Debug for project this ****

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k clean
DEL /F "this.out" "this.hex"
C:\Users\tom\Dropbox\@amtrem1\code\this\this\Debug\this.out
Access is denied.
DEL /F "low_level_init.pp" "msp430i20xx_euscia0_uart_01.pp"
Could Not Find C:\Users\tom\Dropbox\@amtrem1\code\this\this\Debug\low_level_init.pp
DEL /F "low_level_init.obj" "msp430i20xx_euscia0_uart_01.obj"
C:\Users\tom\Dropbox\@amtrem1\code\this\this\Debug\low_level_init.obj
Access is denied.
C:\Users\tom\Dropbox\@amtrem1\code\this\this\Debug\msp430i20xx_euscia0_uart_01.obj
Access is denied.
'Finished clean'
' '

**** Build Finished ****

  • Hi Leo,

    You are not required to have the same project name as the name of your main c file, the biggest problems I see here is the line "Could Not Find C:\Users\tom\Dropbox\@amtrem1\code\this\this\Debug\..." and "C:\Users\tom\Dropbox\@amtrem1\code\this\this\Debug\". When you clean a project, CCS empties out the Debug folder's .out, .bin, .pp, and .obj files that are used for the CCS debugger but CCS is being denied access to the Debug file location in your computer.

    Regards,
    Ryan
  • Leo,

    This type of error could occur when there is interference with an anti-virus program. Try disabling the anti-virus and retry the build.

    These forum threads discuss similar errors related to anti-virus:

    e2e.ti.com/.../286276.aspx
    e2e.ti.com/.../270455.aspx
    e2e.ti.com/.../291917.aspx

    If disabling anti-virus does not resolve the error, try deactivating the firewall. Go to "Start", type "Firewall", click "Allow a program through Windows Firewall" and click on "ccstudio" on the new window.

    Please let me know. Hope this helps!
  • Leo,

    Due to inactivity, I will be closing this thread. If you have any followup questions or comments regarding this topic, please feel free to post here and it will automatically re-open.
  • Thanks Evan. I'm sorry I didn't get back to you. The project got put on hold for a few weeks in I was burried in some completely unrelated stuff.

    In any case, I think I caused the problem when I ran an a CCS update while  logged in as Admin.  Some of my files ended up being owned by the Administrator (this is Windows7). I had to change the permissions to make myself owner, then the problem went away. Thanks once more!

    Leo

  • Leo,

    Thanks for letting me know! I'm glad it worked out! Please feel free to come back if you have any other questions!

**Attention** This is a public forum