Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / June 2005

Tip: Looking for answers? Try searching our database.

Librarian->General->Additional Dependencies adds dependencies twic

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Stevet96 - 21 Feb 2005 16:37 GMT
I am building a C++ library using VS .NET 2003.  I am adding a library into
the Additional Dependencies input box.  I then click apply and check the
resulting command line.  This causes the library to be added twice.  The
first instance is just the library name, the second instance is the full path
and library name.  For example, adding test.lib to Additional dependencies
results in:

test.lib "C:\[path to library]\test.lib"

This causes the linker to try and link the library in twice which causes
many linking errors.  For now I am just adding the test.lib to the command
line to get around the bug.  Does anyone else have this problem?  Is there a
fix for it?

Thanks,
Steve
David Lowndes - 21 Feb 2005 20:10 GMT
>I am building a C++ library using VS .NET 2003.  I am adding a library into
>the Additional Dependencies input box.  I then click apply and check the
>resulting command line.  This causes the library to be added twice.

Steve,

Is the other occurrence appearing because you've got a build
dependency set to the library?

Dave
Signature

MVP VC++ FAQ: http://www.mvps.org/vcfaq

Yogi Watcher - 03 Jun 2005 01:53 GMT
Dave,

I also saw similar behavior. When I add system library such as “msvcrt.lib”,
it does not list that library twice. But when I add “C:\Program
Files\....\custom.lib”, it adds additional entry “\Program
Files\....\custom.lib” (without “C:”).

Yogi

> >I am building a C++ library using VS .NET 2003.  I am adding a library into
> >the Additional Dependencies input box.  I then click apply and check the
[quoted text clipped - 6 lines]
>
> Dave

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.