Connecting Tech Pros Worldwide Help | Site Map

Linking third party Libraries

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 22nd, 2005, 05:59 PM
Thato
Guest
 
Posts: n/a
Default 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

  #2  
Old July 22nd, 2005, 05:59 PM
Gernot Frisch
Guest
 
Posts: n/a
Default Re: Linking third party Libraries

[color=blue]
> I want to link third party library to borland55 compiler.[/color]
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


  #3  
Old July 22nd, 2005, 06:00 PM
Jack Klein
Guest
 
Posts: n/a
Default Re: Linking third party Libraries

On 17 Aug 2004 06:11:58 -0700, thato@galmail.co.za (Thato) wrote in
comp.lang.c++:
[color=blue]
> 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[/color]

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
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,840 network members.