473,378 Members | 1,470 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Link Error within C++ Builder

4
Hi!

I got the link error problem (shown as bellow) when I complied my project.

[Linker Error] Fatal: Expected a file name:

Then I searched from google and followed the suggestion to update the ilinker32.exe and ilinker32.dll. The link problem was still there but in the different type:

[Linker Error] Fatal: Access violation. Link terminated.

Then I tried to open a new project by adding all the .cpp, .h and .lib file to the new project and built. The same linker error message showed up.

Then I tried to rebuild an old version of the project which can be sucessfully built previously to see whether this problem was due to my C++ Builder or the project. It was built without any error.

Then I tried to copy this old version of project to another directory and rebuilt. The same linker error message showed up.

I really don't know what's wrong with it. Any suggestion will be great apreciated.
Jul 9 '07 #1
5 10170
ivy146
4
Hi!

I got the link error problem (shown as bellow) when I complied my project.

[Linker Error] Fatal: Expected a file name:

Then I searched from google and followed the suggestion to update the ilinker32.exe and ilinker32.dll. The link problem was still there but in the different type:

[Linker Error] Fatal: Access violation. Link terminated.

Then I tried to open a new project by adding all the .cpp, .h and .lib file to the new project and built. The same linker error message showed up.

Then I tried to rebuild an old version of the project which can be sucessfully built previously to see whether this problem was due to my C++ Builder or the project. It was built without any error.

Then I tried to copy this old version of project to another directory and rebuilt. The same linker error message showed up.

I really don't know what's wrong with it. Any suggestion will be great apreciated.
Is there anybody pass by? I do need help. Please give any suggestion that may help. Many thanks.
Jul 9 '07 #2
weaknessforcats
9,208 Expert Mod 8TB
Sorry, but I use only Visual Studio.NET.

What type of project have you created?

Did you write the makefile or did the tool generate it?? If the tool generates it, there should not be a problem.

If a library is missing, you need to add the library to the list of additional dependencies for the linker AND you need to specify the path to that library.

You will need to see how this is done in C++ Builder.
Jul 9 '07 #3
ivy146
4
Sorry, but I use only Visual Studio.NET.

What type of project have you created?

Did you write the makefile or did the tool generate it?? If the tool generates it, there should not be a problem.

If a library is missing, you need to add the library to the list of additional dependencies for the linker AND you need to specify the path to that library.

You will need to see how this is done in C++ Builder.
Thanks for your kind help.

The project includes several forms and units. I think the C++Builder generates the makefile by itself. I have specified the path to the library. I have tried many things but none works.

Headach!
Jul 10 '07 #4
weaknessforcats
9,208 Expert Mod 8TB
The project includes several forms and units. I think the C++Builder generates the makefile by itself. I have specified the path to the library. I have tried many things but none works.
Specifying the path to the library maay not be enough. You may also need to add the name of the library to your project. Look in the area where you specify linker parameters and search for something like "linker input" or "linker dependencies". Almost certainly, you need to get that library name into the project.
Jul 10 '07 #5
ivy146
4
Specifying the path to the library maay not be enough. You may also need to add the name of the library to your project. Look in the area where you specify linker parameters and search for something like "linker input" or "linker dependencies". Almost certainly, you need to get that library name into the project.
I followed your suggestion to look at the Project/ Option. But I couldn't find anything that related to "linker input" or "linker dependencies". I also checked the Project/Options difference between the old version which I can build and the current version which I cannot build. Everything is the same.

I don't think it is the problem with the project. It may caused by the different version of borland, cos my colleague used to work on it with C++ Builder 2007. He could build. If I still cannot solve this problem by tomorrow, I will update my borland to 2007.

Thank you very much for trying hard to help. I am very appreciated.
Jul 10 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Mark | last post by:
Hi - using asp and ms Access - this works ok: set Products = Server.CreateObject("ADODB.Recordset") Products.ActiveConnection = myConString Products.Source = "SELECT Products.productid,...
2
by: kmnotes04 | last post by:
Is it possible to link one drop-down box to another? For example, if a name is chosen from a drop-down list, can another drop-down list then automatically display the person's office as a result of...
2
by: José Joye | last post by:
Hello, I was wondering if there is a method that exists to replace multi-spaces within a string with single-space. eg: "12 3 4 56" --> "12 3 4 56" I think this could be done by...
33
by: Birky | last post by:
Can you please help me understand how to build Criteria syntax within the Query Builder? If you have a field that is for a region (lets say for Midwest) and you have another field which breaks...
2
by: Rob Dob | last post by:
Hi, I have several reports within my c# winform application, I need to be able to give the user the ability to make minor modifications to some of these reports prior to running them. Currently...
1
by: gowthams123 | last post by:
Dear All, Plz help me with this oracle form builder installation? I have installed SQL *PLUS Release 9.2.0.1.0 and then installed form builder 9.0.2.7.0. When i enter the following username...
4
by: jehugaleahsa | last post by:
Hello: I am going through an effort to standardize web applications for my company. We are trying to figure out the best practices for security, error handling, etc. I've just done a large...
1
by: andi111 | last post by:
Good Morning All, I am having problems turning my Matter_Creation_Form.DOC into a Matter_Creation_Form.DOT. Now, Within Word, I have created a document that contains 2 Combo Boxes which,...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.