C++ Linux: lib1 use lib2, main uses lib1, why shall it be linked to lib2?

后端 未结 0 456
[愿得一人]
[愿得一人] 2021-01-07 04:24

I\'m using g++ (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609.

I have a shared library lib2:

lib2.h:

#pragma once
class Lib2
{
pub         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题