can't compile

Started by Shawn Anderson, September 01, 2009, 05:09:07 PM

Previous topic - Next topic

Shawn Anderson

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!

Shawn Anderson

Sorry, just me. Access was denied to the EXE because of a programming error on my part.
Thanks anyway!

Brian Chirgwin


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)

Haakon Birkeland

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).

David Kenny

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