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

前端 未结 6 2064
时光说笑
时光说笑 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:40

    You need to use a tool called a librarian to do this. A librarian allows you to create and modify library (.lib) files. In visual studio check under the Librarian section of your project properties. A command line version also comes with visual studio (lib.exe).

提交回复
热议问题