wxWebView refuses to build on Linux Topic is solved

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
fishnet37222
Experienced Solver
Experienced Solver
Posts: 74
Joined: Sat May 06, 2017 1:40 pm

wxWebView refuses to build on Linux

Post by fishnet37222 »

I'm trying to build wxWidgets 3.1.0 on Linux Mint 18.2 using version 5.4 of GCC. I've installed the libwebkit2gtk-4.0-dev package since I'm building the library with support for GTK3. The configure and make commands complete without any errors, but there is no webview library in the libs folder.

Below is the configure command I used.

Code: Select all

../configure --enable-webviewwebkit --with-gtk=3 --enable-shared
Dave F.
DavidHart
Site Admin
Site Admin
Posts: 4252
Joined: Thu Jan 12, 2006 6:23 pm
Location: IoW, UK

Re: wxWebView refuses to build on Linux

Post by DavidHart »

Hi,
The configure and make commands complete without any errors
Have a look in config.log, or scroll through the 'configure' output. It will probably tell you that --enable-webviewwebkit failed because of some missing dependency.
That doesn't make 'configure' fail though, so ../configure && make -j will still build the rest of wx3.1.

Regards,

David
fishnet37222
Experienced Solver
Experienced Solver
Posts: 74
Joined: Sat May 06, 2017 1:40 pm

Re: wxWebView refuses to build on Linux

Post by fishnet37222 »

Turns out I hadn't installed the correct version of libwekitgtk. The message in the output didn't say which version it was looking for so it took a few tries to find the correct version.
Dave F.
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7459
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: wxWebView refuses to build on Linux

Post by ONEEYEMAN »

Hi,
Make sure you create a proper dependency for you program release.

Thank you.
Post Reply