C++ - Can you build one static library into another?

前端 未结 6 2071
时光说笑
时光说笑 2020-12-16 00:43

I ran into a strange problem with a Visual Studio 2008 project I was working with recently.

I am trying to compile a new static library that uses functions from anot

6条回答
  •  暖寄归人
    2020-12-16 01:25

    If you really want to do this, you can extract the .obj files from Lib2 and add them to Lib1.

    See How to Extract .OBJ Routines from .LIB Files Using LIB.EXE -- I hope it is still relevant for VS2008.

提交回复
热议问题