Search found 3702 matches

by DavidHart
Tue Oct 09, 2018 6:24 pm
Forum: Platform Related Issues
Topic: Don't understand warning
Replies: 9
Views: 149

Re: Don't understand warning

Hi, You can probably turn off those warning with something from https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html . But wxX11 is undermaintained and little-used, and so is far from bug-free. If at all possible I suggest using wxGTK instead. If for some reason you really can't, I'm afraid that ...
by DavidHart
Thu Sep 20, 2018 4:52 pm
Forum: Compiler / Linking / IDE Related
Topic: Linux File naming debug/release or --enable-debug not working? [SOLVED]
Replies: 13
Views: 335

Re: Linux File naming debug/release or --enable-debug not working? [SOLVED]

Hi,

It's an intentional platform difference in wx3. See this wx blog post for details, but the short answer is that, on non-Windows platforms, all builds are debug.

Regards,

David
by DavidHart
Thu Sep 20, 2018 1:04 pm
Forum: Compiler / Linking / IDE Related
Topic: Linux compilation - tons of warnings [SOLVED]
Replies: 2
Views: 223

Re: Linux compilation - tons of warnings [SOLVED]

Hi, It's almost certainly related to the g++ you're using; recent versions have become increasingly pedantic and noisy. What can you do about it? I just shut my eyes ;) But if you wish, you could try the latest git version of wx as IIRC there has been some work to reduce the number of warnings. Or y...
by DavidHart
Thu Sep 20, 2018 10:48 am
Forum: Compiler / Linking / IDE Related
Topic: wx compilation freezes ubuntu [SOLVED]
Replies: 6
Views: 253

Re: wx compilation freezes ubuntu [SOLVED]

I guess with console/terminal you mean

I mean a gui terminal-emulator like konsole or lxterminal or..., not the raw terminal that you get from Ctrl-Alt-F?.
by DavidHart
Thu Sep 20, 2018 9:20 am
Forum: Compiler / Linking / IDE Related
Topic: wx compilation freezes ubuntu [SOLVED]
Replies: 6
Views: 253

Re: wx compilation freezes ubuntu [SOLVED]

Hi, I get this often when building in under-resourced VirtualBox guests. Sometimes the build errors-out after a few minutes with a gcc 'internal error' message; sometimes it crashes the system, which has to be rebooted. It seems to have two reasons: One possibility is too little swap space. I don't ...
by DavidHart
Tue Sep 04, 2018 1:34 pm
Forum: Platform Related Issues
Topic: wxCursor and GTK
Replies: 6
Views: 110

Re: wxCursor and GTK

AFAIK there is not method SetCursor with wxImage, but only a one with wxCursor...

But the wxCursor ctor has various overloads e.g. wxCursor (const wxImage &image) as used in the 'image' sample. Why not try that?
by DavidHart
Tue Sep 04, 2018 11:00 am
Forum: Platform Related Issues
Topic: wxCursor and GTK
Replies: 6
Views: 110

Re: wxCursor and GTK

Hi, It must be either your code or your bitmap. I do the following without any problem: DnDSelectedCursor = wxCursor( wxGetApp().CorrectForDarkTheme(BITMAPSDIR+"DnDSelectedCursor.png") ); where the png is https://sourceforge.net/p/fourpane/git4pane/ci/master/tree/bitmaps/DnDSelectedCursor....
by DavidHart
Wed Aug 22, 2018 10:47 am
Forum: Platform Related Issues
Topic: Error when building static libraries on Linux
Replies: 2
Views: 99

Re: Error when building static libraries on Linux

Hi, With wxWidgets-3.1.0 on a Mint 19 virtualbox guest, a static build compiles for me. I first did: apt install libgtk2.0-dev zlib1g-dev libjpeg-dev libpng-dev libtiff5-dev libsm-dev libgl1-mesa-dev libglu1-mesa-dev autotools-dev libexpat1-dev libxt-dev libgstreamer-plugins-base1.0-dev libgconf2-de...
by DavidHart
Tue Aug 07, 2018 7:43 pm
Forum: Compiler / Linking / IDE Related
Topic: Install which libwxgtk version?
Replies: 8
Views: 176

Re: Install which libwxgtk version?

So libwxgtk is included in a wxWidgets installation. Yes, on Linux, if you configure in the usual way. You can create a 'base-only' build that has no gui, but a standard ../configure --with-gtk, or even just ../configure, will build libwxgtk. I am going to remove and reinstall wxWidgets 3.0.3. Well...
by DavidHart
Tue Aug 07, 2018 6:19 pm
Forum: Compiler / Linking / IDE Related
Topic: Install which libwxgtk version?
Replies: 8
Views: 176

Re: Install which libwxgtk version?

I'll reply as simply as I can, because you've failed to understand my previous attempts to answer.

I already have wxWidgets 3.0.3 installed

Then you already have libwxgtk installed, and its version is 3.0.3.
by DavidHart
Tue Aug 07, 2018 12:40 pm
Forum: Compiler / Linking / IDE Related
Topic: wx-config No such file or directory
Replies: 5
Views: 174

Re: wx-config No such file or directory

So there is a wx-config directory. It is just that Code::Blocks cannot find it. Is there a search path I need to enter, either in Code::Blocks or my Ubuntu 16.04 OS? If you want C::B to use that wx-config, just tell it to by using the full path, /usr/local/wx-config, in your compiler/linker setting...
by DavidHart
Tue Aug 07, 2018 12:27 pm
Forum: Compiler / Linking / IDE Related
Topic: Install which libwxgtk version?
Replies: 8
Views: 176

Re: Install which libwxgtk version?

wxWidgets 3.0.3 is the version I will use to the project's completion. The question is which version of libwxgtk to use with it. Please read my previous post more carefully. libwxgtk is wxWidgets. Of the above options, the best match with what you say you want is wx3.0.3 from http://codelite.org/Li...
by DavidHart
Tue Aug 07, 2018 9:21 am
Forum: Compiler / Linking / IDE Related
Topic: Install which libwxgtk version?
Replies: 8
Views: 176

Re: Install which libwxgtk version?

Hi, Your question seems a bit confused: to use with wxWidgets 3.0.3 You don't install a wx package to use with wxWidgets; the package is wxWidgets. and Code::Blocks? That's irrelevant. You install whichever wxWidgets, then change your C::B compiler and linker settings to point to that install. So th...
by DavidHart
Fri Aug 03, 2018 1:30 pm
Forum: Platform Related Issues
Topic: Solaris Build Failure wxWidgets 3.1.1
Replies: 5
Views: 231

Re: Solaris Build Failure wxWidgets 3.1.1

Hi, I've no knowledge or experience of solaris, but googling the first type of error produced this result . Most of that will be irrelevant, but worth a look. configure: error: Can't use --enable-std_string without std::wstring or std::basic_string<wchar_t> found configure.in . Have a look around li...
by DavidHart
Wed Aug 01, 2018 7:20 pm
Forum: General Development
Topic: interfacing with builder created gui code?
Replies: 3
Views: 271

Re: interfacing with builder created gui code?

Hi, Some Form Designers embed their code into yours. Others create a 'base' class for the gui. You then derive from that, so your code is separate. I use wxCrafter (with CodeLite) that uses the second method. wxFormbuilder does, or can be told to do, much the same. See https://wiki.wxwidgets.org/Too...

Go to advanced search