Board index » cppbuilder » Tell me I'm DREAMING....

Tell me I'm DREAMING....


2007-03-21 02:31:58 AM
cppbuilder29
Hi,
BDS version 4.0
I've had a problem with compilation of the final part of our application.. it's telling me it cannot write the output file...
F1013, error writing output file.
I've googled and it would seem that this is related to the length of the list of directories I'm including as part of my include path. i.e. to workaround this HIDEOUS of HIDEOUS bug, we have to shorten our include path. Is this correct?
Is there a way to workaround the bug? How can a product ship with a bug like that in it? I'm stunned.
We cannot shorten the length of our include path. :(
thanks
grahamo
 
 

Re:Tell me I'm DREAMING....

grahamo wrote:
Quote
Hi,

BDS version 4.0

I've had a problem with compilation of the final part of our application.. it's telling me it cannot write the output file...

F1013, error writing output file.

I've googled and it would seem that this is related to the length of the list of directories I'm including as part of my include path. i.e. to workaround this HIDEOUS of HIDEOUS bug, we have to shorten our include path. Is this correct?

Is there a way to workaround the bug? How can a product ship with a bug like that in it? I'm stunned.

We cannot shorten the length of our include path. :(

thanks

grahamo
Is it possible that an instance or a remnant of the your application is
still running, check the task manager and kill it if it is.
Tom Woodrow
 

Re:Tell me I'm DREAMING....

"Tom Woodrow" < XXXX@XXXXX.COM >wrote in message
Quote
Is it possible that an instance or a remnant of the your
application is still running, check the task manager and kill it if
it is.
If it were, a different error message would be reported by the linker.
Gambit
 

{smallsort}

Re:Tell me I'm DREAMING....

Remy Lebeau (TeamB) wrote:
Quote
"Tom Woodrow" < XXXX@XXXXX.COM >wrote in message
news:4600290b$ XXXX@XXXXX.COM ...


>Is it possible that an instance or a remnant of the your
>application is still running, check the task manager and kill it if

it is.

If it were, a different error message would be reported by the linker.


Gambit


Gambit,
Seemed to me that I had seen a similar message if I was running an
instance of the application outside the IDE when I tried to recompile &
link. Guess my memory is not as good as it used to be.
Tom
 

Re:Tell me I'm DREAMING....

In article <46001a8e$ XXXX@XXXXX.COM >, "grahamo" < XXXX@XXXXX.COM >
wrote:
Quote
Is there a way to workaround the bug? How can a product ship with a bug like
that in it? I'm stunned.
You can use a response file.
--
-David Dean
CodeGear C++ QA Engineer
<blogs.codegear.com/ddean/>
 

Re:Tell me I'm DREAMING....

On 20 Mar 2007 10:31:58 -0800, "grahamo" < XXXX@XXXXX.COM >wrote:
Quote

Hi,

BDS version 4.0

I've had a problem with compilation of the final part of our application.. it's telling me it cannot write the output file...

F1013, error writing output file.

I've googled and it would seem that this is related to the length of the list of directories I'm including as part of my include path. i.e. to workaround this HIDEOUS of HIDEOUS bug, we have to shorten our include path. Is this correct?

Is there a way to workaround the bug? How can a product ship with a bug like that in it? I'm stunned.

We cannot shorten the length of our include path. :(

thanks

grahamo
Maybe you have some output or precompiled header path selected locally
for the file you are trying to compile that does not exist at all
Regards,
Zara
 

Re:Tell me I'm DREAMING....

Hi,
thanks for your suggestions... unfortunately, I don't think any of them apply in this case. If I (painfully) take the contents of all my include dirs, paste them into c:\inc, update my include path such that there's 1 directory used for include path,change nothing else, recompile, the .obj is written correctly.
The following thread refers to the same problem, I think...
support.borland.com/thread.jspa
Andrue Cope [Te...
Re: C++ Fatal error "Error writing output file"
Posted: Jan 19, 2006 12:53 AM in response to: Harsha Rao Reply
What version of Builder?
If it's BDS2006 check the length of your include directive.
--
Andrue Cope [TeamB]
[Bicester, Uk]
info.borland.com/newsgroups/guide.html
Is there any kind of patch available for this?
cheers,
G
Zara < XXXX@XXXXX.COM >wrote:
Quote
On 20 Mar 2007 10:31:58 -0800, "grahamo" < XXXX@XXXXX.COM >wrote:

>
>Hi,
>
>BDS version 4.0
>
>I've had a problem with compilation of the final part of our application.. it's telling me it cannot write the output file...
>
>F1013, error writing output file.
>
>I've googled and it would seem that this is related to the length of the list of directories I'm including as part of my include path. i.e. to workaround this HIDEOUS of HIDEOUS bug, we have to shorten our include path. Is this correct?
>
>Is there a way to workaround the bug? How can a product ship with a bug like that in it? I'm stunned.
>
>We cannot shorten the length of our include path. :(
>
>thanks
>
>grahamo

Maybe you have some output or precompiled header path selected locally
for the file you are trying to compile that does not exist at all

Regards,

Zara
 

Re:Tell me I'm DREAMING....

I remember that I have written a workaround for an "include paths too
long" bug in BDS 2006. Maybe this is exactly the same problem.
Extract from bcc32pch changelog:
New: BDS 2006 workaround for C++ Compiler buffer overflow for -Ixxx,
-Dxxx and -Uxx parameters.
--
Regards,
Andreas Hausladen
andy.jgknet.de/cpp (bcc32pch)
 

Re:Tell me I'm DREAMING....

On 21 Mar 2007 02:11:52 -0800, "grahamo" < XXXX@XXXXX.COM >wrote:
Quote


Hi,

thanks for your suggestions... unfortunately, I don't think any of them apply in this case. If I (painfully) take the contents of all my include dirs, paste them into c:\inc, update my include path such that there's 1 directory used for include path,change nothing else, recompile, the .obj is written correctly.

The following thread refers to the same problem, I think...


support.borland.com/thread.jspa

Andrue Cope [Te...
Re: C++ Fatal error "Error writing output file"
Posted: Jan 19, 2006 12:53 AM in response to: Harsha Rao Reply


What version of Builder?

If it's BDS2006 check the length of your include directive.
You may try using a free tool like FileMonitor from
ww.sysinternals.com: You may find which file write is yielding the
error, and then you may know which of the whole bunch of possible
reasons is the real cause of your error, and which file is implied.
You may even catch a glimpse on how to correct it.
Best regards,
Zara
PS I've done it lots of times, not only with BDS/BCB, and it really
works! But it is a heavy effort.