Giter Site home page Giter Site logo

Comments (3)

macpijan avatar macpijan commented on August 23, 2024

@clopez Just want to report similar issue when building from: Igalia/meta-webkit@83b5700
wpebackend-fdo was used in my case

cog  https://people.igalia.com/clopez/wkbug/fps-counter/raf_onload.html
(cog:528): Cog-CRITICAL **: cog_platform_get_view_backend: assertion 'platform != NULL' failed
**
Cog:ERROR:/usr/src/debug/cog/20180514-r0/git/cog.c:301:on_create_web_view: 'error' should not be NULL

In my case also libWPEBackend-default.so was missing, but that's another (or mine) issue:

cog -P fdo  https://people.igalia.com/clopez/wkbug/fps-counter/raf_onload.html
xkbcommon: ERROR: couldn't find a Compose file for locale "C"
wpe: could not load the impl library. Is there any backend installed?: libWPEBackend-default.so: cannot open shared object file: No such file or directory
Wayland: Got a wl_compositor interface
Wayland: Got a wl_seat interface
Wayland: Got an xdg_shell interface
Wayland: Got a wl_shell interface
EGL initialized with version 1.4

After adding a symlink to wpebackend-fdo:

xkbcommon: ERROR: couldn't find a Compose file for locale "C"
Cog-Message: <https://people.igalia.com/clopez/wkbug/fps-counter/raf_onload.html> Load started.
Cog-Message: <https://people.igalia.com/clopez/wkbug/fps-counter/raf_onload.html> Loading...
Cog-Message: <https://people.igalia.com/clopez/wkbug/fps-counter/raf_onload.html> Loaded successfully.
https://people.igalia.com/clopez/wkbug/fps-counter/raf_onload.html:38:14: CONSOLE LOG Measured 18.07802093244529 FPS in 1051 milliseconds.
https://people.igalia.com/clopez/wkbug/fps-counter/raf_onload.html:38:14: CONSOLE LOG Measured 19.083969465648856 FPS in 1048 milliseconds.
https://people.igalia.com/clopez/wkbug/fps-counter/raf_onload.html:38:14: CONSOLE LOG Measured 19.10219675262655 FPS in 1047 milliseconds.
https://people.igalia.com/clopez/wkbug/fps-counter/raf_onload.html:38:14: CONSOLE LOG Measured 18.98101898101898 FPS in 1001 milliseconds.
https://people.igalia.com/clopez/wkbug/fps-counter/raf_onload.html:38:14: CONSOLE LOG Measured 17.24137931034483 FPS in 1044 milliseconds.

from cog.

aperezdc avatar aperezdc commented on August 23, 2024

@macpijan: About the missing libWPEBackend-default.so symlink, I have experienced that myself. We are not yet at the point where loading a platform plug-in makes the symlink unnecessary, but ideally when using a Cog platform plug-in the symlink should not be needed... I have filed #11 to track that separately.

from cog.

clopez avatar clopez commented on August 23, 2024

This has been fixed in
4408909 for me

from cog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.