Click here to Skip to main content
16,020,537 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
when i compile (build) the project in release mode that time "Severity Code Description Project File Line Suppression State
Error C1083 Cannot open compiler intermediate file: 'E:\Working\Release\xxx.ipdb': Permission denied.project version.cpp". if anyone give solutions, It would be helpfull ...


thanks in advance...

What I have tried:

i changed in my project properties(application) to what i required to done application.
but when i build the project in release options i got above problem.
Posted
Updated 20-Jun-19 6:29am
Comments
Jochen Arndt 8-Jan-18 7:49am    
Perform a complete build (rebuild).
Exit and restart VS (file may be still opened for some reason) and rebuild.
Delete all files in the output directories (note that there are two for each build option) and rebuild.
ZurdoDev 8-Jan-18 8:12am    
Make sure you have sufficient permissions and also make sure you run visual studio with elevated admin rights.

1 solution

I had this problem when migrated to the new PC where I decided to keep all my stuff on the Google Drive. So I built successfully the debug version. But when tried to build the Release, all of a sudden had this error:

1>g:\my drive\...\proj_globals.cpp : fatal error C1083: Cannot open compiler intermediate file: 'G:\My Drive\...\bin\Release\Win32\myProject.ipdb': Permission denied
1>LINK : fatal error LNK1257: code generation failed
1>Done building project "myProject.vcxproj" -- FAILED.

I found out that even though my D drive is NTFS, Google Drive File Stream (G:) was FAT32. Seems that this caused weird behavior with the .ipdb file access.

I managed to bypass the problem by changing the output directory in Visual Studio Configuration Properties->General->Output Directory to other, non GoogleDrive, NTFS location.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900