how to link static library to another static libraries

Discussion in 'C++' started by free2cric@yahoo.com, May 16, 2005.

  1. Guest

    Hi,
    I have two c++ static libraries say A.lib and B.lib.
    I am creating third static library C
    I create project in microsoft visual studio as win32 static library.
    I go to project-> settings -> link , i dont find object/library module
    where I
    can type in the names of A.lib and b.lib.. this option is available if
    i create dynamic library.
    Thanks
    cric
     
    , May 16, 2005
    #1
    1. Advertisements

  2. wrote:
    > I have two c++ static libraries say A.lib and B.lib.
    > I am creating third static library C
    > I create project in microsoft visual studio as win32 static library.
    > I go to project-> settings -> link , i dont find object/library module
    > where I
    > can type in the names of A.lib and b.lib.. this option is available if
    > i create dynamic library.


    Please ask in 'microsoft.public.vc.project_mgt'. This is not a C++
    _language_ question, it's a question how to maintain and manage your
    projects in Visual C++.

    V
     
    Victor Bazarov, May 16, 2005
    #2
    1. Advertisements

  3. Maett Guest

    wrote:

    > Hi,
    > I have two c++ static libraries say A.lib and B.lib.
    > I am creating third static library C
    > I create project in microsoft visual studio as win32 static library.
    > I go to project-> settings -> link , i dont find object/library module
    > where I
    > can type in the names of A.lib and b.lib.. this option is available if
    > i create dynamic library.
    > Thanks
    > cric
    >


    Why do you want to link your static library with any other library ?
    A static library is just a collection of object files;
    no resolution of external symbols is done,
    so there is no need to link with anything.

    Cheers
    Maett
     
    Maett, May 16, 2005
    #3
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    6
    Views:
    1,163
    red floyd
    May 10, 2005
  2. iceColdFire

    Static library Vs. Dynamic library

    iceColdFire, May 17, 2005, in forum: C++
    Replies:
    3
    Views:
    17,292
  3. Angel Lopez

    static link a library

    Angel Lopez, Sep 10, 2004, in forum: C Programming
    Replies:
    2
    Views:
    366
  4. Jorge Vargas
    Replies:
    0
    Views:
    343
    Jorge Vargas
    Apr 9, 2007
  5. Karsten Wutzke
    Replies:
    21
    Views:
    1,227
    Roedy Green
    Jun 29, 2007
  6. Even

    static library and dynamic library

    Even, Oct 18, 2007, in forum: C Programming
    Replies:
    6
    Views:
    817
    Mark McIntyre
    Oct 20, 2007
  7. Sriram Srinivasan
    Replies:
    13
    Views:
    849
    Benjamin Kaplan
    Nov 12, 2009
  8. Marina Limeira

    LINK with another link

    Marina Limeira, Feb 7, 2006, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    241
    Marina Limeira
    Feb 7, 2006
Loading...