[opensource-dev] Linux x64 - libmedia_plugin_cef.so error

Alex sldev at vlan1000.net
Tue Mar 20 03:50:18 PDT 2018


On 2018-03-20 20:34, Henri Beauchamp wrote:
> 
> Yes, obviously, libcef.so did not get linked with your plugin...
> 
> Check your indra/cmake/CEFPlugin.cmake: the library names changed 
> there,
> from libllceflib.a to libdullahan.a. Note also the bit of vodoo magic
> needed under Linux to avoid seeing ld "optimizing out" the functions 
> that
> are needed in libcef_dll_wrapper.a and libdullahan.a. It should look 
> like
> this (note the -Wl,-[no-]whole-archive options):
> 
> if (LINUX)
>   set(CEF_PLUGIN_LIBRARIES
>       -Wl,-whole-archive
>       ${ARCH_PREBUILT_DIRS_RELEASE}/libcef_dll_wrapper.a
>       ${ARCH_PREBUILT_DIRS_RELEASE}/libdullahan.a
>       -Wl,-no-whole-archive
>       ${ARCH_PREBUILT_DIRS_RELEASE}/libcef.so
>   )
> endif ()
> 
> Henri.

Ah!!!!!! Yes! That will do it... I just checked that cmake file and that 
section was wrong (and missing things). I'll try another rebuild with 
that. I have a feeling thats going to fix it! Now how can I send you a 
nice bottle of wine? :D

Thank you so much! appreciate it!

-- 
Kind Regards,
Alex.


More information about the opensource-dev mailing list