Options is setup.h

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
AndrzejB
Earned some good credits
Earned some good credits
Posts: 105
Joined: Sun Nov 29, 2015 12:46 pm

Options is setup.h

Post by AndrzejB »

In setup.h I have: #define wxUSE_WEBVIEW 0
example program from Github wxSTCmee uses wxWebView, I must recompile all wx libraries?
Before make I must change setup.h or add options to configure?
But in sources in setup.h is #define wxUSE_WEBVIEW 1, only installed version has 0. Why?
DavidHart
Site Admin
Site Admin
Posts: 4254
Joined: Thu Jan 12, 2006 6:23 pm
Location: IoW, UK

Re: Options is setup.h

Post by DavidHart »

Hi,

You forgot to say which platform you use but, from your other posts, I suspect it's Linux. If so, yes, you need to run configure again and rebuild, after installing any necessary dependencies.

If you are using a recent version of your distro (which you should also have told us about) you will also need to configure --with-gtk=3 (--etc --etc) as webkit is no longer supported for gtk+2; and so you will also need to have installed the gtk+3 development package e.g. for ubuntu: libgtk-3-dev.

Regards,

David
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7479
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: Options is setup.h

Post by ONEEYEMAN »

Hi,
You should also install all necessary webkit dependencies...

Thank you,
Post Reply