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

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

    This is a fairly normal problem - you wouldn't normally attempt to include 'lib2' into 'lib1' but simply document that it's required to be linked against in order to work. There is nothing wrong with declaring the use of other libraries (apart from any licensing issues of course) so you are already doing the right thing.

提交回复
热议问题