Skip to content

cog with rdk backend show “failed to load object with name '_wpe_view_backend_interface'“ #73

@yangyalei

Description

@yangyalei

I want run cog with WPEBackend-rdk,and weston to see web pag. I compile WPEBackend-rdk with cmake and make command,and I have libWPEBackend-default.so link to libWPEBackend-rdk.so. When I run cog,it got eroor
Here is my comile commands:
cmake .. -DCMAKE_EXPORT_COMPILE_COMMANDS=Yes -DCMAKE_BUILD_TYPE=Debug -DBACKEND_WAYLAND_EGL=1 -DCMAKE_INSTALL_PREFIX=/xxx/wpe/install
make -j12 install
And,here is the cog command output:

$ cog "www.youtube.com/tv"
(cog:786347): GLib-DEBUG: 16:49:53.130: posix_spawn avoided (child_setup specified)
(cog:786347): GLib-GIO-DEBUG: 16:49:53.135: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ?gio-vfs?
(cog:786347): Cog-DEBUG: 16:49:53.136: platform_setup: Platform name: (null)
(cog:786347): Cog-DEBUG: 16:49:53.136: Instantiating default WPE backend as fall-back.
wpe_load_object: failed to load object with name '_wpe_view_backend_interface': backend doesn't implement load_object vfunc
(process:786353): GLib-GIO-DEBUG: 16:49:53.147: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals
(process:786353): GLib-GIO-DEBUG: 16:49:53.149: _g_io_module_get_default: Found default implementation networkmanager (GNetworkMonitorNM) for ?gio-network-monitor?

My webkit,libwpe and cog version:
wpewebkit: 2.32.1
libwpe: 1.10.0
cog: 0.10.0

Originally posted by @mikeDonahoe in WebPlatformForEmbedded/meta-wpe#284 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions