Search found 3561 matches

by DavidHart
Sun Nov 05, 2017 7:57 am
Forum: Compiler / Linking / IDE Related
Topic: wxUSE_ANY must be defined Error [SOLVED]
Replies: 2
Views: 58

Re: wxUSE_ANY must be defined Error [SOLVED]

Hi, I ensured that I have the correct commands in the compile and linker settings. What does that mean? Presumably you're using an IDE. Which one? What did you put into those settings? What you should have put is that IDE's way of invoking the wx-config script; e.g. for CodeLite: $(shell wx-config -...
by DavidHart
Thu Sep 28, 2017 6:51 pm
Forum: Platform Related Issues
Topic: wxWidgets 3.0.3 on , Odroid XU4 Xenial 16.04
Replies: 5
Views: 212

Re: wxWidgets 3.0.3 on , Odroid XU4 Xenial 16.04

Two answers: 1) To build a wx-using program, don't try to guess the parameters. Instead use the wx-config script. Assuming you have a standard wx install, you should be able to open a terminal and do things like: wx-config --list wx-config --cxxflags wx-config --libs all and get sensible outputs. If...
by DavidHart
Wed Sep 27, 2017 11:29 am
Forum: Platform Related Issues
Topic: wxWidgets 3.0.3 on , Odroid XU4 Xenial 16.04
Replies: 5
Views: 212

Re: wxWidgets 3.0.3 on , Odroid XU4 Xenial 16.04

Hi, The following signatures couldn't be verified because the public key is not available: NO_PUBKEY Had you installed the public key? As the doc says: sudo apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc Anyway: So there's plenty in there that shows armhf is not supported. Indeed it...
by DavidHart
Fri Sep 08, 2017 1:29 pm
Forum: C++ Development
Topic: Crash in wxZipInputStream [SOLVED]
Replies: 10
Views: 291

Re: Crash in wxZipInputStream [SOLVED]

I see what you mean. It just crashed for me on attempt 9. I can't think of a solution in user-code either, but if you do find one please post it here!

Ideally it should be fixed in wxZipInputStream and I suggest you report the bug on trac, attaching the faulty zip.
by DavidHart
Fri Sep 08, 2017 10:29 am
Forum: Platform Related Issues
Topic: wxWebView refuses to build on Linux [SOLVED]
Replies: 3
Views: 130

Re: wxWebView refuses to build on Linux [SOLVED]

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 && ...
by DavidHart
Fri Sep 08, 2017 10:17 am
Forum: C++ Development
Topic: Crash in wxZipInputStream [SOLVED]
Replies: 10
Views: 291

Re: Crash in wxZipInputStream [SOLVED]

Hi, I get the same error message with 'zip -T', though (debian's) 'unzip' succeeds. My wxGTK program, 4Pane, can read and manipulate zip files and copes with your one without a problem. It reads into a memory buffer, first using a wxStreamBuffer. wxFFileInputStream in(filepath); wxStreamBuffer strea...
by DavidHart
Thu Aug 24, 2017 3:30 pm
Forum: Platform Related Issues
Topic: Problem building wxWidgets on aarch64 (ubuntu)
Replies: 2
Views: 142

Re: Problem building wxWidgets on aarch64 (ubuntu)

Hi, I've no experience with aarch64 or arm64, but for recent ubuntu versions I see that the latter is now used for your device. so I installed the package for arm64, and it worked That sounds promising. Have you tried installing the arm64 xenial libwxgtk3.0-dev package (plus dependencies of course)?...
by DavidHart
Wed Aug 23, 2017 7:42 pm
Forum: Platform Related Issues
Topic: compiling the widgets sample on ubuntu 16.04
Replies: 4
Views: 135

Re: compiling the widgets sample on ubuntu 16.04

Hi, makefile.unx isn't the one to use. What you should have done is to build in a subdir: mkdir build-dir && cd build-dir ../configure --<whatever> make -j There would then be a samples/ dir inside build-dir that will have a properly-configured 'Makefile'. as will each of the samples/foo/ I ...
by DavidHart
Wed Aug 09, 2017 7:48 pm
Forum: Platform Related Issues
Topic: Uninstalling wxWidgets 3.0.2 [SOLVED]
Replies: 13
Views: 326

Re: Uninstalling wxWidgets 3.0.2 [SOLVED]

I suspect it's more https://www.jetbrains.com/help/clion/auto-completing-code.html and https://www.jetbrains.com/help/clion/code-completion.html , but I'm not sure that theyt tell you how to set it up in the first place. Perhaps a Clion forum would be a better place to search, or ask...
by DavidHart
Wed Aug 09, 2017 6:38 pm
Forum: Platform Related Issues
Topic: Uninstalling wxWidgets 3.0.2 [SOLVED]
Replies: 13
Views: 326

Re: Uninstalling wxWidgets 3.0.2 [SOLVED]

This is what i get from wx-config --libs all ... That looks fine, and so is the synaptic image. To make sure I'm not misunderstanding you, what is now failing? Is it just the code-completion/intellisense issue, or do you have a build problem too. If the latter, please would you paste here the first...
by DavidHart
Wed Aug 09, 2017 4:36 pm
Forum: Platform Related Issues
Topic: Uninstalling wxWidgets 3.0.2 [SOLVED]
Replies: 13
Views: 326

Re: Uninstalling wxWidgets 3.0.2 [SOLVED]

You know the little green square in synaptic that tells you if that package is installed? Yes indeed. I marked all of them. I couldn't miss a package It depends on the search string. 'wx' would have caught wx3.0-headers but 'libwx' or 'wx-' obviously wouldn't. Anyway, it's unimportant now. Everythi...
by DavidHart
Wed Aug 09, 2017 3:33 pm
Forum: Platform Related Issues
Topic: Uninstalling wxWidgets 3.0.2 [SOLVED]
Replies: 13
Views: 326

Re: Uninstalling wxWidgets 3.0.2 [SOLVED]

Hi, wxWidgets in debianish distros like ubuntu comes in multiple packages. The libs are in libwx*30, the dev files in libwx*30-dev etc. But there are others too e.g. docs, examples and headers. The headers package is wx3.0-headers and installs to /usr/include/wx-3.0. Perhaps you missed that one when...
by DavidHart
Sat Jul 29, 2017 9:02 am
Forum: General Development
Topic: any chart control for wxwidgets ?
Replies: 2
Views: 194

Re: any chart control for wxwidgets ?

Hi,

The only one I've heard of is wxChart, which is now unmaintained. However you shouldn't find it too hard to get it working with current versions of wxWidgets.

Regards,

David
by DavidHart
Thu Jul 20, 2017 6:38 pm
Forum: Compiler / Linking / IDE Related
Topic: Error in compilation since yesterday without having modified anything
Replies: 2
Views: 172

Re: Error in compilation since yesterday without having modified anything

Hi, 1) I was going to ask where your .cpp file(s) were, as you don't seem to mention them; but doublemax has already said much the same thing, better. So: 2) This suggestion won't fix your current problem, but will save you from future ones: Don't put things like ' -I/usr/local/lib/wx/include/gtk3-u...
by DavidHart
Thu Jul 20, 2017 8:53 am
Forum: Compiler / Linking / IDE Related
Topic: Return Error -11 when running program
Replies: 28
Views: 1213

Re: Return Error -11 when running program

BTW in Tuesday's post you said the failing g++ version was 4.9. Today you are talking about 4.8. Was '4.9' a typo? Is there an incompatibility with ubuntu 16.04 and gcc v4.8? Very unlikely. And I have an old trusty virtualbox guest that uses gcc 4.8. Its wx-based programs build and run normally. It'...

Go to advanced search