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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

linking option in VC6++

Status
Not open for further replies.

sedawk

Programmer
Feb 5, 2002
247
0
0
US
Hello,

This is a quick quesiton:

my cpp project needs to link some library files locating at other routines. For example

the cpp project is locating at
c:/visual++/myproj/abc

the library files are locating at
c:/library/

Linking in this setup, the compiler complains "can't open library files".

I don't know how to change the library path when looking at "Project" -> "Setting" -> "Link". Any help?
 
you specify the path to each library using absolute paths - therefore you would type into the links field:

C:\library\examplelibrary.lib

 
Thanks.

Hm... that sounds not convenient though: each library has to be input manually the path. There is no path setup in the setting?
 
Well there is the "Additional library path" field under "Input" category but I've never used it. The other option is to just make copies of the libs and stick them in your project directory - they're going to be getting statically linked in anyway and it may be best to keep externals under one roof so to speak.

 
Ah, "additional library path", this is what I want! Thanks a lot.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top