Board index » cppbuilder » Help with linker error

Help with linker error


2004-11-21 05:16:16 AM
cppbuilder74
Can someone point me in the right direction to solve this error.
I am using Builder 5.
After making a small change to a program in a project I am all of a sudden
getting a linker error. The error is,
[Linker Error] Fatal: Error detected (LME1518)
[Linker Error] Fatal: Access violation. Link terminated.
I reversed the changes and the same error occurs.
I reviewed the newsgroups and tried deleting the .OBJ files and the TDS file
and then I can get one link done, then the error occurs again.
This error pretty much makes the environment useless to use. I don't get the
error in other projects, just this one. So I am now at a loss as to what to
look for or how to correct the problem and would sure appreciate someone
pointing me in the right direction.
Thanks
Mike
 
 

Re:Help with linker error

"mike" < XXXX@XXXXX.COM >wrote:
Quote

[...] tried deleting the .OBJ files and the TDS file
and then I can get one link done, then the error occurs
again.
In my experience, the changes that you made also corrupted the
compiler. Revert the changes, delete all .obj and .tds and .~*
files, close the compiler, restart and try again.
~ JD
 

Re:Help with linker error

JD,
Thanks for responding.
Well I have trouble thinking the changes I did corrupted the compiler, I
only changed a single value.
I did do all that and I got one compile done without the error, and then the
next compile showed the problem again. I didn't change anything as I just
wanted to check to see if all was ok. I also tried deleting the files again
and then stopping the compiler and trying again. Same result, one compile
and then the problem again.
Does anyone know what this error indicates.
Mike
"JD" < XXXX@XXXXX.COM >wrote in message
Quote

"mike" < XXXX@XXXXX.COM >wrote:
>
>[...] tried deleting the .OBJ files and the TDS file
>and then I can get one link done, then the error occurs
>again.

In my experience, the changes that you made also corrupted the
compiler. Revert the changes, delete all .obj and .tds and .~*
files, close the compiler, restart and try again.

~ JD

 

{smallsort}

Re:Help with linker error

"mike" < XXXX@XXXXX.COM >wrote:
Quote

[...] Same result, one compile and then the problem again.
If you zip your .cpp and .h files and post them to the
attachment group, I'll look at them for you. That's the
best that I can do.
~ JD