Make cefclient optional

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.

Make cefclient optional

Postby tlsa » Thu Oct 24, 2019 4:42 am

Hello,

The cefclient example application has awkward dependencies:

* libgtkglext This is old and unmaintained it also depends on libpangox.
* libpangox This is very old, and they say not to use it at all:
libpangox README wrote:This is a compatibility library providing the obsolete pangox library that is not shipped by Pango itself anymore. If you are still using pangox, well, really, get a life...


These dependencies are only needed for ceflicent. Not for cefsimple or libcef.so.

So far I've not found a way to build libcef.so, or cefsimple without having these archaic dependencies of cefclient installed. This is because when the Ninja files are generated:

Code: Select all
buildtools/linux64/gn gen out/Release --args="$(LIBCEF_GN_DEFINES)"


It always tries to generate the ninja files for cefclient. This causes it to reach the pkg-config check for libgtkglext, which causes the `gn gen` to fail with an assertion because the library isn't present.

Is there a way around this, or could you make the cefclient component optional?

I am building for linux.

Thanks,

Michael
tlsa
Newbie
 
Posts: 5
Joined: Tue Aug 13, 2019 7:21 am

Return to Support Forum

Who is online

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