-2

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'" enter image description here

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?

enter image description here

zhang hang
  • 27
  • 5

1 Answers1

0

place "attribute((visibility("default")))" after "class" to apply attribute to type declaration. it works for me...

zhang hang
  • 27
  • 5