Coder Social home page Coder Social logo

Comments (3)

paulocoghi avatar paulocoghi commented on August 25, 2024 1

I though installing the latest non-dev version of webkit2gtk-4.0 (libwebkit2gtk-4.0-37 in my case) was enough, but it wasn't.

After installing libwebkit2gtk-4.0-dev everything goes fine.

Sorry for my mistakes.

from webview.

paulocoghi avatar paulocoghi commented on August 25, 2024

Update

After installing libgtk-3-dev, the error is now smaller, but shards install still failing:

 Resolving dependencies
Fetching https://github.com/naqvis/webview.git
Installing webview (0.1.4)
Postinstall of webview: make
Failed postinstall of webview on make:
g++ -c -o ext/webview.o -DWEBVIEW_GTK=1 `pkg-config --cflags --libs gtk+-3.0 webkit2gtk-4.0` -std=c++11 ext/webview.cc
Package webkit2gtk-4.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `webkit2gtk-4.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'webkit2gtk-4.0' found
In file included from ext/webview.cc:2:
ext/webview.h:418:10: fatal error: JavaScriptCore/JavaScript.h: No such file or directory
  418 | #include <JavaScriptCore/JavaScript.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:23: ext/webview.o] Error 1

from webview.

naqvis avatar naqvis commented on August 25, 2024

in the output it shows No package 'webkit2gtk-4.0' found . So please ensure that you have webkit2gtk package is installed and pkg-config is able to find it.

from webview.

Related Issues (18)

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.