473,394 Members | 2,031 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,394 software developers and data experts.

Linking third party Libraries

I've been trying to link the svlib (a library) as you showed me,

I want to link third party library to borland55 compiler.
I tried all possible combinations using the bcc32 borland guide,
it compiles, but it doesn't link. I don't know why.
These are all the combinations we tried.

bcc32 -Ic:\svlib\include
GenModel.cpp /link /libpath:C:\svlib\lib /nodefaultlib:libcd svlib.lib

other combinations we tried are:
1. bcc32 -Ic:\svlib\include
GenModel.cpp /link /libpath:C:\svlib\lib /nodefaultlib:libcd
-Lc:\svlib\lib

2. bcc32 -I"c:\svlib\include" -L"c:\svlib\lib GenModel.cpp

Help will be highly appreciated and thank u in advance.

Regard
Thato
Jul 22 '05 #1
2 2340
I want to link third party library to borland55 compiler.

Are you sure the lib is created with the same (or at least a
compaible) version of this compiler?
--
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);}

________________________________________
Looking for a good game? Do it yourself!
GLBasic - you can do
www.GLBasic.com
Jul 22 '05 #2
On 17 Aug 2004 06:11:58 -0700, th***@galmail.co.za (Thato) wrote in
comp.lang.c++:
I've been trying to link the svlib (a library) as you showed me,

I want to link third party library to borland55 compiler.
I tried all possible combinations using the bcc32 borland guide,
it compiles, but it doesn't link. I don't know why.
These are all the combinations we tried.

bcc32 -Ic:\svlib\include
GenModel.cpp /link /libpath:C:\svlib\lib /nodefaultlib:libcd svlib.lib

other combinations we tried are:
1. bcc32 -Ic:\svlib\include
GenModel.cpp /link /libpath:C:\svlib\lib /nodefaultlib:libcd
-Lc:\svlib\lib

2. bcc32 -I"c:\svlib\include" -L"c:\svlib\lib GenModel.cpp

Help will be highly appreciated and thank u in advance.

Regard
Thato


First, specific implementation tools, like linkers, are off-topic
here, they are not defined by the language. You need to ask in
Borland's support group
news:borland.public.cppbuilder.commandlinetools on their server
nntp://newsgroups.borland.com.

Second, "does not link" is an extremely poor problem statement. When
you post to the Borland group, you need to copy and paste the exact
error messages into the body of your post.

Finally, for anyone there to be able to help you, you need to tell
them where this library came from, such as what compiler is was built
with.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html
Jul 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Ian | last post by:
I've downloaded 3rd party libraries and I'm trying to link them in with my code but when I use -l<library name> it gives me the error "ld: cannot find -l<lib name>". When I link the libraries...
3
by: Chris | last post by:
We'd like to upgrade our webapp to use AJAX, specifically, I'd like to be able to put interactive popup pages over my HTML, and I'd like to be able to fetch dynamic data from the server without...
6
by: Kaushal Mehta | last post by:
Hello, I am using two third party softwares, cyrus IMAP and UW c-client and both of them are defining a function fatal with different signature. Here is the error "ld: fatal: symbol `fatal' is...
17
by: Mitas Nikos | last post by:
I am trying to use the library conio2 and though I have managed with a few relatively simple examples when i try to compile a program which conio's function clrscr is not in main() i get an error...
5
by: Joerg M. Colberg | last post by:
My apologies if this is a trivial problem. I have been trying to solve this for a few days now and I just can't get it done. Here's what I have. I have a C++ project in VisualStudio.NET whose code...
10
by: Julian | last post by:
I get the following error when i try to link a fortran library to a c++ code in .NET 2005. LINK : fatal error LNK1104: cannot open file 'libc.lib' the code was working fine when built using...
1
by: JSeligstein | last post by:
Hey all. I am trying to link my application with a threaded image library which tries to link to (at least) libmmt.lib and libirc.lib. I am using MSVC++ 2005 Express Edition. Can anyone help me...
2
by: Marcus | last post by:
Good evening, I'm new to developing large subversion-controlled projects. This one will involve a few third-party libraries like wxWidgets, and perhaps Twisted. Ordinarily you could just install...
1
by: primi | last post by:
Hello, i have studied both c and c++ at university (although by no means have they been extensive, one semester each) and i feel i have a fairly good understanding of the basics of these languages. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.