Static library built for archive which is not the architecture being linked (x86_64)

后端 未结 5 786
终归单人心
终归单人心 2021-02-04 03:20

I am experiencing what seems to be the same problem when I try to compile two different programs. Each of them creates first a static library and then the main application linki

5条回答
  •  清酒与你
    2021-02-04 04:12

    Using libtool -static -a might be simpler to get working static library.

    Static library link issue with Mac OS X: symbol(s) not found for architecture x86_64

提交回复
热议问题