Librarian->General->Additional Dependencies adds dependencies twic

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
 
D

David Lowndes

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
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top