imaginevision / libssp

MIT License
21 stars 10 forks source link

Missing 'create_ssp_class' in linux .so #16

Open michalkielan opened 1 year ago

michalkielan commented 1 year ago

I see there is no create_ssp_class function in the linux_x64 variant of the library. Function exists in macos and windows variant and it's suppose to return the pointer to imf::SspClient. This function is useful when want get the imf::SspClient from dlopen/dlsym like in this example: https://github.com/summershrimp/obs-ssp/blob/be1282a/src/obs-ssp.cpp#L51 however from what I see it's impossible on linux.

windows:

$ strings lib/win_x64_vs2017/libssp.dll | grep create_ssp_class
create_ssp_class

macos:

$ strings lib/mac/libssp.dylib | grep create_ssp_class         
_create_ssp_class

linux/android return no symbols

$ strings lib/linux_x64/libssp.so | grep create_ssp_class
$ nm -C lib/linux_x64/libssp.so | grep create_ssp_class