Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yangyalei opened this issue May 16, 2022 · 2 comments

Comments

@yangyalei
Copy link

yangyalei commented May 16, 2022

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)

@yangyalei yangyalei changed the title cog with rdk backend show “failed to load object with name '_wpe_view_backend_interface' cog with rdk backend show “failed to load object with name '_wpe_view_backend_interface'“ May 16, 2022
@yangyalei
Copy link
Author

yangyalei commented May 16, 2022

@mikeDonahoe Have you fix it?

@mikeDonahoe
Copy link

My issue was resolved by switching to rdk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants