Librarian->General->Additional Dependencies adds dependencies twic

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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
 
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
 
Back
Top