Comments (3)
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.
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.
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)
- change for linux: compilation HOT 5
- Closing a window exits the whole application HOT 1
- Build on Ubuntu 22.04 failed HOT 8
- Documentation Request: is it possible to have a menubar menu? how? HOT 2
- Creating GitHub Actions for building the examples HOT 1
- Webview run method hangs / isn't recognized by Crystal's fiber scheduler HOT 6
- The example using an URL does not seem to work (displays a blank page instead if the correct web page) HOT 1
- Error in shard.yml HOT 2
- Problem installing Webview for Crystal on Windows : WebView2.h: No such file or directory HOT 21
- [Contribution] How to use Crystal / WebView bindings without console : HOT 4
- Full screen (chromeless) HOT 2
- WebKit2 enable webgl HOT 6
- C Compiler error HOT 16
- Question : example of use of : webview::Webview#eval HOT 2
- Problem installing Webview Shard on Mac HOT 2
- Question : Is there a way to start a Webview app in debug mode ? HOT 2
- Question : How do you specify the path to a local web page (html file) to be displayed (served by) Webview HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webview.