By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,911 Members | 1,134 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,911 IT Pros & Developers. It's quick & easy.

VS .NET 2003 IDE Problem: Duplicate libraries appearing on command line

P: 1
I am having exactly the same issue as this poster back in 2005.

It's strange behaviour where libraries are being automatically appended to my "additional dependencies". In the following linker command line, I've purposely put "OgreMain.lib ARToolKitPlus.lib PGRFlyCapture.lib" in the project file. Note how this is then followed by duplicates with fully-qualified paths - these aren't in the project but VS is adding them.

Expand|Select|Wrap|Line Numbers
  1. /OUT:"..\bin/OgreAR.lib" /LIBPATH:"..\..\ogrenew\lib"
  2. /LIBPATH:"..\..\ARToolKitPlus\lib\win32" 
  3. /LIBPATH:"..\..\PGRFlyCapture\lib" /NOLOGO OgreMain.lib 
  4. ARToolKitPlus.lib PGRFlyCapture.lib 
  5. "\cygwin\home\darran\trunk\projects\0614-seedsurvivor\Application\ogrenew\lib\OgreMain.lib" 
  6. "\cygwin\home\darran\trunk\projects\0614-seedsurvivor\Application\ARToolKitPlus\lib\win32\ARToolKitPlus.lib" 
  7. "\cygwin\home\darran\trunk\projects\0614-seedsurvivor\Application\PGRFlyCapture\lib\PGRFlyCapture.lib"
Bizarrely, if I check out to a different machine, these final three lines don't appear in the command line. I have verified that it isn't an issue with my
Tools>Options>Projects>VC++Directories nor is it fixed by setting "inherit project defaults" off in the project settings.

Any suggestions are most appreciated.
Mar 24 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.