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.

Annoying "Permission denied" error in CCS 5.2

During project compilation in CCS 5.2 I am pretty often get the following annoying error, which doesn't seem to be related to my code. Rebuilding the very same project again resolves the issue. Can anyone suggest what causes the following error in first place.

Thanks

P.S. By the way, the very same error I got in CCS 3.3 as well

"C:\DOCUME~1\Robert_Sm\LOCALS~1\Temp\0277610", ERROR!  : [E1000] Unable to open
                                                                temp macro
                                                                library
                                                                'C:\DOCUME~1\Robert_Sm\LOCALS~1\Temp\075642':
                                                                Permission
                                                                denied

  • Hi Robert,

    what version of Windows do you use?  I think this is very likely caused by a windows permission issue.  Do you have full admin privileges?  Was CCS installed with these?  There are also some directories in WIndows which have special treatment, eg program files is one and I believe the temp directories are another.  Another thing that is possible, is antivirus interference.  Is there a particular reason some project files are in your temp directory?

    Hope this helps.  I also do not believe this to be related to your project .

    Best Regards,
    Lisa

  • Lisa, thank you for your response

    Win XP SP3

    Yes, I have admin privileges on my computer. Yes it was installed with the same admin privileges

    Antivirus: Kaspersky Endpoint Security 8

    My project is NOT located in temp directory at all. The CCS is complaining about completely different temporary directory. As far as I understand CCS (or compiler) stores there some temporary files. So to my opinion the CCS ( compiler) emits these strange errors when it fails to modify files in that temporary directory.

    Could you comment?

  • Hi Robert,

    The C6x compiler puts temporary files in the %TEMP% folder with a naming scheme like what you posted. As far as I know, they are never deleted without a manual cleanup.  So yes, the temp is not from your project, my appologies.

    There are really only a couple possibilities we can think of here.  The first is that the antivirus is blocking access to that directory.  The second is that this temp folder may have many files from previous builds.  Have a look in that temp folder, if you see many files this could be caused by a name collision with a previous build.

    Please keep us informed.

    Best Regards,
    Lisa

  • Well, manual clean up of temp directory this is exactly what I did in the past. Would be nice if compiler will clean up temp directory by  itself.

    By the way in that particular case this is c5500_4.4.1 compiler.

    Thank you.