PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Shawn Anderson on September 01, 2009, 05:09:07 PM

Title: can't compile
Post by: Shawn Anderson on September 01, 2009, 05:09:07 PM
I've been working fine on a project and all of a sudden the program will not compile.
If I hit the compile button, I get a progress bar, but no "compile complete" dialog.
I'm using PB9.
Any suggestions?
thanks!
Title: Re: can't compile
Post by: Shawn Anderson on September 01, 2009, 05:21:51 PM
Sorry, just me. Access was denied to the EXE because of a programming error on my part.
Thanks anyway!
Title: Re: can't compile
Post by: Brian Chirgwin on September 06, 2009, 10:17:01 AM

For future reference.

I've found 2 reasons for this two occur:

1. The exe didn't close.

Code in the exe is keeping the application running. You can't replace an exe that is in use. Usually you can open the task manager and kill the exe process. Sometimes I've had to perform a reboot.

2. Source code path too long /too many directory/path contains spaces

I've had an issue when compiling when the directory path was is too long. A compilation error would not appear in the dialog. I would have to manually compile the code using PB 9 to identify the error that was produced. If no compilation error occurred it would compile without a problem (if I remember correctly)
Title: Re: can't compile
Post by: Haakon Birkeland on September 06, 2009, 11:03:39 AM
QuoteSometimes I've had to perform a reboot.

That's a drag on XP, mostly solved by http://ccollomb.free.fr/unlocker (on 32-bit).
Title: Re: can't compile
Post by: David Kenny on September 08, 2009, 12:08:24 PM
I used to have to reboot occasionally too.  Then I discovered that drwatson.exe was keeping the "failed" exe locked.  If you kill drwatson.exe, you won't have to reboot or use an unlocking tool.

I'm not sure why they kept DrWatson around.  I have never seen it produce a helpful dialog in Windows XP.

David