yellokrow
yellokrow

Reputation: 1

Package webkitgtk-3.0 was not found in the pkg-config search path

I received the error

Package webkitgtk-3.0 was not found in the pkg-config search path

when running

pkg-config webkitgtk-3.0 --cflags --libs

in terminal. I followed the instructions from http://trac.webkit.org/wiki/BuildingGtk and everything was a success. I even managed to launch

./run-launcher --gtk

from Tools/Scripts/.

How do I set the path or pkg-config to use webkit in C++?

Upvotes: 0

Views: 4303

Answers (1)

koral
koral

Reputation: 442

I suggest you check which version of WebKitGTK+ you have installed:

The pkgconfig package webkitgtk-3.0 is provided by the WebKit1 API, so you need to:

  • either downgrade WebKitGTK+ to 2.4.* ;
  • or update the program you're building to depend on webkit2gtk-4.0 pkgconfig package (and use the WebKit2 API).

Upvotes: 2

Related Questions