如何将vtable符号更改为全局符号?
我编译了一个so文件(libarfoundation_core.so),它有一个基类ARSRGpuFilter,以及另一个需要依赖的so文件,编译后的so文件无法编译,因为“undefined reference to `vtable forcameralink::ARSRGpuFilter'”
然后,我发现ARRSRGpuFilter的vtable符号是Local Symbol,那么如何将ARRSRGpuFilter的vtable符号更改为全局符号呢?
I have compiled a so file(libarfoundation_core.so) which has a base class ARSRGpuFilter, and a other so file which need dependency the compiled so file could not compiled because " undefined reference to `vtable for cameralink::ARSRGpuFilter'"
Then, I find the vtable symbol of the ARSRGpuFilter is a Local Symbol, so how to change the vtable symbol of ARSRGpuFilter to a global symbol?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将“attribute((visibility("default")))”放在“class”之后,将属性应用于类型声明。它对我有用......
place "attribute((visibility("default")))" after "class" to apply attribute to type declaration. it works for me...