abseil库链接问题
#3648
Replies: 2 comments 7 replies
-
xmake -v 看下实际 link 了哪些库,排查下连接顺序,并用 nm 链接库是否存在对应符号 如果有问题,可以提个 pr 过来修复下包 |
Beta Was this translation helpful? Give feedback.
0 replies
-
我尝试在20230125.2版本手动链接absl log内部target,添加测试代码后可以成功build |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
使用xmake导入abseil出现链接错误,示例代码如下:

我尝试用cmake链接abseil::log可以正常编译

翻了一下abseil的cmake module,发现这里的absl_log生成的是一个interface target,不会导出静态库,不知道xmake能否识别?
Beta Was this translation helpful? Give feedback.
All reactions