Search found 3934 matches

by DavidHart
Fri Nov 20, 2020 3:38 pm
Forum: C++ Development
Topic: Is it possible to have a gnuplot plot in wxFrame window.
Replies: 9
Views: 335

Re: Is it possible to have a gnuplot plot in wxFrame window.

Hi,

New in wx3.1 is wxNativeWindow. I've no experience of using it, but it might help you do what you want...

Regards,

David
by DavidHart
Thu Nov 05, 2020 10:11 am
Forum: Platform Related Issues
Topic: error while loading shared libraries: libwx_gtk3u_core-3.1.so.3
Replies: 1
Views: 127

Re: error while loading shared libraries: libwx_gtk3u_core-3.1.so.3

Hi, What am I missing here? You haven't created a wx3.1.3 deb to distribute with your program's deb ;) . First, why wx3.1.3 in particular? The latest release is wx3.1.4; the latest stable release is wx3.0.5, which is what 'focal' supplies (few distros package the odd-numbered development wx releases...
by DavidHart
Fri Oct 30, 2020 3:37 pm
Forum: Compiler / Linking / IDE Related
Topic: wxWidgets on Mac with Arm processor, failing to link.
Replies: 2
Views: 154

Re: wxWidgets on Mac with Arm processor, failing to link.

Hi,

I know nothing Mac- or Arm-specific, but on Linux you need to specify non-standard libs like webview; either by doing
wx-config --libs std,foo,bar
or, easier:
wx-config --libs all

Regards,

David
by DavidHart
Mon Oct 26, 2020 11:56 am
Forum: Compiler / Linking / IDE Related
Topic: wx-config gives wrong include path
Replies: 8
Views: 231

Re: wx-config gives wrong include path

I thing there is a bug in wx-config, isn't? What do you thing about? I was thinking that it is. If so, it's been there forever, but only became an issue when some distros started using lib64. However I've now found that, if you 'make install', another subdir is created (in your case if would be /ho...
by DavidHart
Sat Oct 24, 2020 4:31 pm
Forum: Compiler / Linking / IDE Related
Topic: wx-config wrong --cxxflags path
Replies: 2
Views: 165

Re: wx-config wrong --cxxflags path

On testing the new ubuntu 20.10 packages, I see the problem too. Fortunately there's an easy fix: install the wx3.1gtk2-headers package as well as the gtk3 one.

I'm sorry about your wasted time. I think the reason I hadn't noticed is that I normally test gtk2 builds first, then add gtk3 ones.
by DavidHart
Sat Oct 24, 2020 9:39 am
Forum: Compiler / Linking / IDE Related
Topic: wx-config wrong --cxxflags path
Replies: 2
Views: 165

Re: wx-config wrong --cxxflags path

Hi, Which distro/version? And which packages did you install? For recently-made packages, the two header ones are called wx3.1-headers and wx3.1gtk2-headers. This is because of issues when both had the same name: if the wx gtk2 packages were installed, and later the gtk3 ones were added, the header ...
by DavidHart
Fri Oct 23, 2020 9:50 pm
Forum: Compiler / Linking / IDE Related
Topic: wx-config gives wrong include path
Replies: 8
Views: 231

Re: wx-config gives wrong include path

Meanwhile I used ../configure --with-gtk --disable-shared. So the rest of the answers concern to that. New in wx3.1.4, --with-gtk defaults to a gtk3 build, not gtk2. For a gtk2 build you would have needed to do --with-gtk=2 And did you try adding --prefix=$(pwd) ? Edit: I've now built wx3.1.4 in a ...
by DavidHart
Fri Oct 23, 2020 8:20 pm
Forum: Compiler / Linking / IDE Related
Topic: wx-config gives wrong include path
Replies: 8
Views: 231

Re: wx-config gives wrong include path

Hi, I compiled wxWidgets successfully on a SUSE system Which suse version? And anything unusual about your system e.g. not AMD64? ../configure --with-gtk Was that the whole configure line? IIUC you are using the build 'in situ', not installing it to /usr/* If that's true, the usual minimal configure...
by DavidHart
Fri Oct 02, 2020 2:40 pm
Forum: Platform Related Issues
Topic: distributing gtk webview application
Replies: 2
Views: 305

Re: distributing gtk webview application

Hi, requires file 'webkit2_extu-3.1.3.so' in '/usr/local/lib/wx/3.1.4' Presumably s/extu-3.1.3/extu-3.1.4/ . And I hope you aren't hard-coding /usr/ local /* as libs are more likely to be in /usr/* What needs to be done so that it can run properly? Package the application. That's why debs, rpms etc ...
by DavidHart
Sat Sep 05, 2020 6:39 pm
Forum: Compiler / Linking / IDE Related
Topic: Problem compiling Hello World example
Replies: 5
Views: 302

Re: Problem compiling Hello World example

I only downloaded and installed the wxwidget source files (by doing make and make install). Oh, that's OK then. The packages I mentioned are part of the official Mint wxWidgets packages; but building from source is fine too. How are you trying to build the example? In a terminal? If so, what is you...
by DavidHart
Sat Sep 05, 2020 4:58 pm
Forum: Compiler / Linking / IDE Related
Topic: Problem compiling Hello World example
Replies: 5
Views: 302

Re: Problem compiling Hello World example

Hi,

Do you also have the appropriate wx development package(s) installed? That might be libwxgtk3.0-dev or libwxgtk3.0-gtk3-dev (and optionally the corresponding webkit and media -devs) and its dependencies.

Regards,

David
by DavidHart
Fri Sep 04, 2020 5:41 pm
Forum: Compiler / Linking / IDE Related
Topic: GTK2 and GTK3 and webview
Replies: 2
Views: 172

Re: GTK2 and GTK3 and webview

See one of your other threads.

As in programming, multiple threads can be useful, but also confusing and are hard to keep track of ;) .
by DavidHart
Fri Sep 04, 2020 3:50 pm
Forum: Compiler / Linking / IDE Related
Topic: Options is setup.h
Replies: 2
Views: 186

Re: Options is setup.h

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 al...
by DavidHart
Wed Aug 26, 2020 6:37 pm
Forum: Platform Related Issues
Topic: Fontconfig and Pango Errors when launching program but not with Samples
Replies: 9
Views: 479

Re: Fontconfig and Pango Errors when launching program but not with Samples

...I did install wxWidgets correctly... How? Self-built (if so, what were your configure options and to where did you install it?) or is it the official ubuntu wxGTK packages (which of course are shared libs)? The issue is that scintilla is a deprecated package and is built inside of stc these days...
by DavidHart
Wed Aug 26, 2020 9:30 am
Forum: Platform Related Issues
Topic: Fontconfig and Pango Errors when launching program but not with Samples
Replies: 9
Views: 479

Re: Fontconfig and Pango Errors when launching program but not with Samples

Hi, I have little cmake experience (and I wish I had less!). It can be made to work with wxWidgets, but it's not trivially easy. Some suggestions: 1) Do you have >1 wxWidgets build/version installed? If so, make sure you are using the 'correct' one (e.g. by setting your $PATH correctly, or doing sud...