Build CEF without GTK

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Build CEF without GTK

Postby logicp » Sat Sep 14, 2019 9:53 am

Hello everyone.

I have been trying to build the CEF examples on a Manjaro machine with GTK3 installed, but came across this post which claims that the newer releases of CEF don't require GTK. viewtopic.php?f=6&t=16890
In that post, it is mentioned that the GTK dependency was removed in this issue: https://bitbucket.org/chromiumembedded/cef/issues/2014

In spite of this, and having downloaded cef_binary_76.1.13+gf19c584+chromium-76.0.3809.132_linux64, I am still having difficulty building, due to this import:

File: <CEF root>/tests/cefclient/browser/client_types.h

Code: Select all
#include <gtk/gtk.h>


Was the dependency added back? Before I go about addressing compiler/linker issues, or switching to GTK2, can someone point me towards a solution that does not necessitate the use of GTK?
logicp
Techie
 
Posts: 18
Joined: Sat Sep 14, 2019 9:46 am

Re: Build CEF without GTK

Postby magreenblatt » Sat Sep 14, 2019 10:46 am

The cefclient sample app uses GTK2. The cefsimple sample app and libcef itself do not.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: Build CEF without GTK

Postby logicp » Sat Sep 14, 2019 1:43 pm

Thanks for clarifying!
logicp
Techie
 
Posts: 18
Joined: Sat Sep 14, 2019 9:46 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 28 guests