%(AdditionalDependencies)
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6

Thread: %(AdditionalDependencies)

  1. #1
    Join Date
    Mar 2010
    Posts
    47

    %(AdditionalDependencies)

    Hi guys, I need to remove an obsolete library from the program I'm working on. If I look at the command line page under properties I can see it there:

    Code:
    /OUT:"..\..\..\bin\Debug\Smoke.exe" /INCREMENTAL /NOLOGO /LIBPATH:"..\..\extern\TBB\lib" /LIBPATH:"..\..\extern\TinyXml\Lib" "pdh.lib" "tbb_debug.lib" "tbbmalloc_debug.lib" "winmm.lib" "comctl32.lib" "kernel32.lib" "user32.lib" "gdi32.lib" "winspool.lib" "comdlg32.lib" "advapi32.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "odbc32.lib" "odbccp32.lib" "E:\Game Prototype\trunk\code\extern\TinyXml\lib\tinyxml.lib" "E:\Game Prototype\trunk\code\lib\Debug\BaseTypes.lib" "E:\Game Prototype\trunk\code\lib\Debug\Framework.lib" "E:\Game Prototype\trunk\code\lib\Debug\Interfaces.lib" "E:\Game Prototype\trunk\code\extern\Trees\lib\Debug\Trees.lib" "E:\Game Prototype\trunk\bin\Debug\SystemAI.lib" "E:\Game Prototype\trunk\bin\Debug\SystemAudioFMOD.lib" "E:\Game Prototype\trunk\bin\Debug\SystemExplosion.lib" "E:\Game Prototype\trunk\bin\Debug\SystemGeometry.lib" "E:\Game Prototype\trunk\bin\Debug\SystemInput.lib" /NODEFAULTLIB:"libcmtd" /MANIFEST /ManifestFile:"Debug\Smoke.exe.intermediate.manifest" /ALLOWISOLATION /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"E:\Game Prototype\trunk\bin\Debug\Smoke.pdb" /SUBSYSTEM:WINDOWS /PGD:"E:\Game Prototype\trunk\bin\Debug\Smoke.pgd" /TLBID:1 /DYNAMICBASE:NO /MACHINE:X86 /ERRORREPORT:QUEUE
    It's the trees.lib there. However it seems to be included using %(AdditionalDependencies) which I have never seen before.

    Which file do I need to edit to remove this library?

  2. #2
    Join Date
    Feb 2002
    Posts
    4,640

    Re: %(AdditionalDependencies)

    How are you linking your project?

    Viggy

  3. #3
    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    3,632

    Re: %(AdditionalDependencies)

    You can edit the vcproj file using for instance notepad but editing project properties / linker / input / additional dependencies is a lot easier.
    Debugging is twice as hard as writing the code in the first place.
    Therefore, if you write the code as cleverly as possible, you are, by
    definition, not smart enough to debug it.
    - Brian W. Kernighan

    To enhance your chance's of getting an answer be sure to read
    http://www.codeguru.com/forum/announ...nouncementid=6
    and http://www.codeguru.com/forum/showthread.php?t=366302 before posting

    Refresh your memory on formatting tags here
    http://www.codeguru.com/forum/misc.php?do=bbcode

    Get your free MS compiler here
    http://www.microsoft.com/visualstudio/eng/downloads

  4. #4
    Join Date
    Mar 2010
    Posts
    47

    Re: %(AdditionalDependencies)

    Well apparently %(AdditionalDependencies) was a macro, which I didn't understand because I've never looked at the macros section of the libs page. Unfortunately, I still can't find how trees.lib is being included (obviously it isn't in the input section and I couldn't find it under the %(AdditionalDependencies) macro either).

    MrViggy, just the usual way using the lib input properties. But this is a framework made by intel I've been working with and learning from and I don't know how they are including the trees library I want to remove.

  5. #5
    Join Date
    Mar 2010
    Posts
    47

    Re: %(AdditionalDependencies)

    I searched the project file for Trees.lib in a text editor and I couldn't find any trace of it in the file itself.

  6. #6
    Join Date
    Feb 2002
    Posts
    4,640

    Re: %(AdditionalDependencies)

    I'm sorry, I meant is this a VS project, or some kind of "home grown" make system?

    If VS, I would think that you'd find it where SMA suggested (under Project Properties).

    Viggy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center