Forum > Other

Error: Can't create object file ; Fatal: Can't create executable

(1/5) > >>

dfspannie:
I get the following error when compiling the program I am working on :
 Error: Can't create object file
Fatal: Can't create executable

What I can't understand is that the program has been compiling and running without any problems. I added a form (empty at this stage), and since then the above errors.
Thanx.

Win XP Sp 3
Lazarus 9.26.2
FPC 2.2.2

dfspannie:
The problem seems to have sorted itself out.
I got tired of fiddeling with the program, shut down the computer and went to bed.
When I started up again, the program compiled and ran witout any problems. Perhaps it just wanted a reboot. Does this constitute a bug that need to be reported ?  :-\

Troodon:
It is possible that your executable file was locked by another Lazarus instance. Upon reboot it was unlocked.

Leledumbo:
Another chance is that you forgot to reset the debugger (it will lock your exe while debugging).

Marc:

--- Quote from: Leledumbo on December 17, 2009, 08:56:28 am ---Another chance is that you forgot to reset the debugger (it will lock your exe while debugging).

--- End quote ---
Thats fixed a long time ago. When debugging is stopped, the exe name is reset

Navigation

[0] Message Index

[#] Next page

Go to full version