Talk:F2039 Could not create output file '%s' (Delphi)
Review of 10 Raid bugs to summarize the possible causes for fatal error F2039 (Delphi).
Reasons why an output file could not be produced:
- You don't have the required write permission for the directory
- check the access privileges of your application
- make sure your source is not on a read-only drive
- This message can result from a linker (RLink) error, possibly due to finding unexpected versions of the .dcu, .bpl, and .dcp files
- The process (.exe) is locked by another process
C++Builder users can also encounter this fatal error message. +++++++++++++++++++++++++++++++++++++++++++++++++++++++
Bug numbers
236258 Midori Hosonuma closed 11/05
- could not reproduce
243145 Pierre Le Riche closed 3/06
- It seems that something within Delphi has the file locked but the Linker doesn't know about that. After restarting the IDE the problem is gone.
249796 Francois Piette 4/07
- executable was running - fix by Dave Wilhelm
250402 Holger Flick 4/07
- compiler was recompiling DUnit test (fix by BB)
253013 Jean-Claude Martin 7/07 (not related - about L10n) 257874 - Ken Masuyama - 2/08
- Unicode characters in directory name
260104 Angel Martinez 5/08
- Debugger had the exe open
262414 - Maria Lisitskaya - 7/08 - still open
- localized app would not build - resource file problem?
263419 - Takseshi Arisawa - 8/08 - still open
- on Vista, the IDE could not create the compiled unit (.dcu) file under the Program Files directory
267153 - Olivier Olmer - 11/08 - still open
- requires package was picking up wrong (old) .bpl package and failing to compile
- general complaint about our not cleaning up the old stuff when we update packages