Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fatal Linker Error: V 1

Status
Not open for further replies.

cyprus106

Programmer
Apr 30, 2001
654
I have quite a large problem. A few months back i was toying with a project and it somehow developed a problem, it would not link, and returned
"[Linker Fatal Error]Fatal: Illegal Option: v"
It was somewhat of a large project and after 2 frantic hours of trying to retrace my steps I could see absolutely no solution. I looked all over the internet, newsgroups, I asked everybody I could, but noone knew the answer. After 3 weeks, no solution presented itself and I certainly couldnt find one, so I was forced to scrap the project and restart. I thought I would never see this bizarre error again, but it appears it has shown up to haunt me again. Does Anyone know of anything i could do? any solution to the problem? Im utterly desperate, because I honestly dont want to lost my hard work.

Thanks so much to anyone who might be able to help... Cyprus
 
I had the same problem with a project, so here is what I did. I opened up a different project that linked. In the Menu click on Projects, under Projects click on Edit Option Source. In that file scroll down to <OPTIONS> and copy from <OPTIONS> to </OPTIONS> and paste that in the project that will not link. Then click on Save All. That took care of my problems.

Hope it works for you.
 
it didnt take care of mine... creative though, you had my hopes up for a minuite. thanks anyways...
any other suggestions? Cyprus
 
Yes I do have another idea.
In your cbuilder5\bin is a default.bpr project file. Open it and copy the whole Edit Options Source file and paste it in the Project you are having problems with.
I would think that should take care of any linker errors you are having.

If that does not work then you must have somehow changed the path to the header files you are using in your project. In other words the linker cannot find the header files it needs.

Open your project, on the menu click on Projects, under Projects click on Options, then click on the Directories/Conditionals Tab. On my machine the Include Path reads: $(BCB)include;$(BCB)include\vcl the Library Path reads: $(BCB)\lib\obj;$(BCB)\lib
the Debug Source path reads: $(BCB)\source\vcl and under Conditionals _DEBUG

If this does not help you I will take a picture of every Projects Option tabs and e-mail them to you and I will e-mail you my default.bpr file.

Or open one of your projects that links right (or the default.bpr) and check it with the one you are having problems with.

I have had linker errors when the linker cannot find the header files I included in my project.

I hope this helps you.
Bob
 
Thank you. I tried to copy and paste the options and it didn't work the first time. I tried it again with a different project and it compiled and ran. Thank you very much for the instruction and the offer, it is greatly appreciated. You saved me having to redo 7 months of work, i sincerely appreciate it, I would have never thought to change the XML. Cyprus
 
You are very welcome!

In years past I have lost projects with a lot of time in them when my hard drive crashed, so that tought me to save my projects to a disk. I spent 3 days trying to recover my projects off of the crashed hard drive. I know what it is to lose the hard work and all that time in a project.

Bob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top