Recompiling Windows build - issues

Post Reply
Metalfiiish
Developer
Posts: 176
Joined: Tue Jul 31, 2012 7:21 am

Recompiling Windows build - issues

Post by Metalfiiish » Thu Sep 20, 2012 1:55 am

So recently I have been getting some new files after building the three exe's. Some new .pdb files. According to google these a re debug files but I have no clue why they have started showing up. What I do know is this:

If these files are in my dsp directory when I go to rebuild the exe's the build fails complaining about the .pdb files not matching. If I delete the .pdb the compile works but then my entire dsp folder breaks, in that it is no longer recognized as an svn folder and I cannot update the folder or pull pull from the svn.

I have to then backup my entire DSP directory, make a new one and set svn checkout to make a new dsp folder and then overwrite it with the backup to resolve. Any ideas?
Attachments
error.PNG
error received.
error.PNG (6.26 KiB) Viewed 3041 times
Capture.PNG
Shows the new .pdb files.

Metalfiiish
Developer
Posts: 176
Joined: Tue Jul 31, 2012 7:21 am

Re: Recompiling Windows build - issues

Post by Metalfiiish » Thu Sep 20, 2012 2:02 am

Now I noticed that after I get the error when trying to build that the .exe and the .ilk have been deleted but the .pdb still exists.

If I delete that .pdb it builds fine.

Did someone possibly add this in for help on debuggin problems and possibly not set an a property right, that may be preventing the build from deleting the file?

User avatar
diatanato
Developer
Posts: 112
Joined: Thu Aug 30, 2012 9:59 pm

Re: Recompiling Windows build - issues

Post by diatanato » Thu Sep 20, 2012 3:03 am

prebuilding event @del /f /s /q "$(TargetDir)\*.pdb"
Attachments
xxx.png

Metalfiiish
Developer
Posts: 176
Joined: Tue Jul 31, 2012 7:21 am

Re: Recompiling Windows build - issues

Post by Metalfiiish » Thu Sep 20, 2012 5:33 am

Resolved thanks to the one and only blueKirby.

Post Reply