Search found 3867 matches

by DavidHart
Sun Mar 29, 2020 6:56 am
Forum: Compiler / Linking / IDE Related
Topic: Link Problems in Linux
Replies: 13
Views: 150

Re: Link Problems in Linux

It would be the 'make' line that needs -fPIC, not the 'configure' line.
by DavidHart
Sat Mar 28, 2020 7:40 pm
Forum: Compiler / Linking / IDE Related
Topic: Link Problems in Linux
Replies: 13
Views: 150

Re: Link Problems in Linux

i use in my cura program, and its sooo slow. I've tested 3 programs with/without AppImage, and there was no obvious speed difference. you dont see any way to link static libraries in dynlib? You haven't explained enough about what is going wrong. There should be no reason why a static-linked wxWidg...
by DavidHart
Sat Mar 28, 2020 9:47 am
Forum: Compiler / Linking / IDE Related
Topic: Link Problems in Linux
Replies: 13
Views: 150

Re: Link Problems in Linux

Hi, to prevent ABI problems on other computers But what you are trying to do will fail to prevent ABI problems. That is because you are static-linking wx libs, but not their dependencies. The standard answer is to link dynamically to (and depend on) the official wxGTK package of that distro/version,...
by DavidHart
Wed Mar 25, 2020 3:51 pm
Forum: Platform Related Issues
Topic: Display of wxStaticText in GTK+3
Replies: 17
Views: 446

Re: Display of wxStaticText in GTK+3

I've not been following the thread closely and I'm unsure what exactly are your current problem(s). But I wonder if part of the solution might be to use wxWindow::GetTextExtent on the part of the string to be displayed, so that you can pass an accurate length to SetMinSize().
by DavidHart
Mon Mar 23, 2020 10:19 am
Forum: Platform Related Issues
Topic: Display of wxStaticText in GTK+3
Replies: 17
Views: 446

Re: Display of wxStaticText in GTK+3

Hi, Everything was built with GTK+3, but I do not know how to determine a finer definition of the version. Two answers: 1) The standard way, on a debianish distro like ubuntu, is to ask 'apt'. I just did here (debian buster): apt policy libgtk-3* which produced lines like: Installed: 3.24.5-1 but a ...
by DavidHart
Sun Mar 01, 2020 7:41 am
Forum: Compiler / Linking / IDE Related
Topic: How to install the latest wxWidgets on Ubuntu
Replies: 20
Views: 410

Re: How to install the latest wxWidgets on Ubuntu

No idea. If searching the forum doesn't provide an answer, I suggest you start a new topic.
by DavidHart
Sat Feb 29, 2020 9:02 pm
Forum: Compiler / Linking / IDE Related
Topic: How to install the latest wxWidgets on Ubuntu
Replies: 20
Views: 410

Re: How to install the latest wxWidgets on Ubuntu

Can you copy/paste to here the exact command you used (I doubt if you are really calling your files foo.cpp etc).

And also paste the result of doing, in the same terminal:
wx-config --libs all
by DavidHart
Sat Feb 29, 2020 5:52 pm
Forum: Compiler / Linking / IDE Related
Topic: How to install the latest wxWidgets on Ubuntu
Replies: 20
Views: 410

Re: How to install the latest wxWidgets on Ubuntu

.it works if I follow the example 'example' being the wxWiki page mentioned in the other thread? If so, and iiuc, you just did what I suggested; and it works. So you know that you have a working wxWidgets installation. Now you 'just' need to decide how to use that installation to build your code. T...
by DavidHart
Sat Feb 29, 2020 5:17 pm
Forum: Compiler / Linking / IDE Related
Topic: How to install the latest wxWidgets on Ubuntu
Replies: 20
Views: 410

Re: How to install the latest wxWidgets on Ubuntu

Yes, I saw it. But did you try doing what I suggested above? That would mean you are trying to build a properly-configured sample, and it has a much greater chance of succeeding.
by DavidHart
Sat Feb 29, 2020 1:28 pm
Forum: Compiler / Linking / IDE Related
Topic: How to install the latest wxWidgets on Ubuntu
Replies: 20
Views: 410

Re: How to install the latest wxWidgets on Ubuntu

Hi, >...but I couldn't compile the minimal example because some libs were missing. What command line did you use (it should have been the same as above)... Well, not normally. The initial 'configure' of the wx source also configures the samples. So, given a successful build and install, all that sho...
by DavidHart
Fri Feb 28, 2020 7:53 pm
Forum: Compiler / Linking / IDE Related
Topic: How to build wxWidgets projects with Eclipse 2019.12 on Linux? [CDT-Project]
Replies: 3
Views: 111

Re: How to build wxWidgets projects with Eclipse 2019.12 on Linux? [CDT-Project]

Hi, The most likely reason is that you aren't using the wx-config script, or aren't using it properly. To build a (Linux) wx project on the command-line, you'd do something like: g++ foo.cpp bar.cpp $(wx-config --cxxflags --libs) -o baz I don't use Eclipse, but it will have a compilation settings fi...
by DavidHart
Wed Feb 26, 2020 8:06 pm
Forum: Compiler / Linking / IDE Related
Topic: wxCrafter and GIF files for wxAnimation
Replies: 1
Views: 76

Re: wxCrafter and GIF files for wxAnimation

Hi,

I don't know. But one place to look is this wxWiki page which discusses embedding pngs. I've no idea if gifs can be managed in the same way.

Regards,

David
by DavidHart
Sun Feb 23, 2020 6:17 pm
Forum: General Development
Topic: wxFormBuider, communtiy, etc...
Replies: 10
Views: 374

Re: wxFormBuider, communtiy, etc...

So, it turns out there are more advanced or convenient IDEs for designing? Could you please provide some information IDEs that are better than wxFB? I use (and help out on) wxCrafter, the form designer part of the CodeLite RAD. For other people's opinions see various threads in this subforum , the ...
by DavidHart
Sun Feb 23, 2020 1:46 pm
Forum: General Development
Topic: wxFormBuider, communtiy, etc...
Replies: 10
Views: 374

Re: wxFormBuider, communtiy, etc...

Hi, wxWidgets is great - i'm so exited about it. I'm glad you like it. But a few comments: Dear Developers! This is a user forum. Very few wx devs post here. i found only 3 articles related to wxFormBuilder on the entire forum Putting 'wxFormBuilder' in the search box: "Search found 1083 matches" Mo...
by DavidHart
Sat Feb 08, 2020 12:00 pm
Forum: Platform Related Issues
Topic: Mageia 7.1 and GTK
Replies: 3
Views: 142

Re: Mageia 7.1 and GTK

Hi,

Debian-derived distros tend to call their packages libfoo-dev; rpm-ish ones are more likely to call them foo-devel or libfoo-devel. Mageia goes one step further (downhill) and often calls them lib64foo-devel.

Your missing package is lib64gtk+2.0-devel.

Regards,

David