Search found 3777 matches

by DavidHart
Mon Jul 15, 2019 8:51 pm
Forum: Platform Related Issues
Topic: Compiling wxWidgets 3.1.1 in Termux
Replies: 25
Views: 126

Re: Compiling wxWidgets 3.1.1 in Termux

I believe arm64 and aarch64 are different. At least, I tried downloading a .deb for arm64 in the past and dpkg didn't like it. I've no experience of either myself, but the debian link starts with the line: "This page contains details about the port of Debian to the 64-bit Arm platform (arm64), know...
by DavidHart
Mon Jul 15, 2019 7:44 pm
Forum: Platform Related Issues
Topic: Compiling wxWidgets 3.1.1 in Termux
Replies: 25
Views: 126

Re: Compiling wxWidgets 3.1.1 in Termux

BTW, debian have official aarch64 builds that includes wx3.0.4. Even if you can't use that direct, it might be worth looking at how they build it (see the source package's debian/rules). The build process for wx3.1.1 won't be much different.
by DavidHart
Mon Jul 15, 2019 6:34 pm
Forum: Platform Related Issues
Topic: Compiling wxWidgets 3.1.1 in Termux
Replies: 25
Views: 126

Re: Compiling wxWidgets 3.1.1 in Termux

Hi,

Earlier tarballs are available too e.g. https://github.com/wxWidgets/wxWidgets/ ... tag/v3.1.1

Regards,

David
by DavidHart
Wed Jul 10, 2019 2:21 pm
Forum: Compiler / Linking / IDE Related
Topic: wxOVERRIDE compile problem
Replies: 4
Views: 75

Re: wxOVERRIDE compile problem

Oh, maybe Debian 10 has got wxWidgets ver 3.0.
Why not check? In a terminal do:
wx-config --version
by DavidHart
Wed Jul 10, 2019 12:24 pm
Forum: Compiler / Linking / IDE Related
Topic: wxOVERRIDE compile problem
Replies: 4
Views: 75

Re: wxOVERRIDE compile problem

Hi,
Are you using the standard Debian wxWidgets packages or are you using a particular wxWidgets repository?
Are you asking yourself that question?

Perhaps you should. wxOverride is new in wx3.1 so if you are building with <wx3.1 you'll need to #define it yourself.

Regards,

David
by DavidHart
Wed Jul 03, 2019 9:08 am
Forum: C++ Development
Topic: Custom Event Isn't Being Caught
Replies: 19
Views: 255

Re: Custom Event Isn't Being Caught

Hi, There are wxWiki pages for custom events that you might find helpful. Assuming that you don't need to stay compatible with wx2.8, see this page ; it uses Bind() rather than Connect() but then so should you ;) . If you still support <wx3 then this is the corresponding page . However it's more con...
by DavidHart
Tue Jun 25, 2019 3:03 pm
Forum: Compiler / Linking / IDE Related
Topic: Debugging wxString using lldb
Replies: 5
Views: 241

Re: Debugging wxString using lldb

The only thing that is a pity is that i still dont know why it didn't work... Well, it's unlikely to be the lldb version. I just tested lldb 8.0 (in ubuntu 19.04): it displayed a wxString normally. Nor is it the g++ version: I built there with g++ 9.1. You could try self-building wx3.1.2 again in l...
by DavidHart
Fri Jun 21, 2019 1:29 pm
Forum: Platform Related Issues
Topic: wxFilePicker and special chars
Replies: 3
Views: 131

Re: wxFilePicker and special chars

If put a file on a path that was built with a Konsole app in UTF8 mode the wxFilePicker and the text control works fine, but if I do a similar path with the Konsole in Iso8859-1 mode the wxFilePicker let me choose the file but the path in the text control becomes empty and it points to nowhere. Tha...
by DavidHart
Thu Jun 20, 2019 5:01 pm
Forum: Platform Related Issues
Topic: wxFilePicker and special chars
Replies: 3
Views: 131

Re: wxFilePicker and special chars

Hi, It works for me, using either wx3.0.4 or wx3.1.3 on debian stretch. The FilePicker part of the 'widgets' sample correctly locates and 'picks' the filepath /mnt/everythingelse/vtemp/Testçóé/Testçóé.txt. Which distro/version, which locale, which wx version is failing for you? Does its 'widgets' sa...
by DavidHart
Thu Jun 20, 2019 10:41 am
Forum: Compiler / Linking / IDE Related
Topic: Debugging wxString using lldb
Replies: 5
Views: 241

Re: Debugging wxString using lldb

I pass the line, it shortend the output, but sorely it didn't solve the problem for me. Hmm. One (unlikely) possibility is that your locale is causing the problem. Try changing the program's terminal to en_US. Oh, and try with gdb instead, in case it's a lldb-specific issue. Otherwise, try with the...
by DavidHart
Wed Jun 19, 2019 4:49 pm
Forum: Platform Related Issues
Topic: PR errors out on Travis CI
Replies: 3
Views: 90

Re: PR errors out on Travis CI

Hi,
I understand, but if I cant even replicate the error....
but Travis uses the older compiler (4.6.3) and so fails.
Why not install gcc 4.6, either your distro version if it has multiple ones, or a self-build? Then point to that gcc binary when you build.

Regards,

David
by DavidHart
Wed Jun 19, 2019 3:26 pm
Forum: Compiler / Linking / IDE Related
Topic: Debugging wxString using lldb
Replies: 5
Views: 241

Re: Debugging wxString using lldb

Hi, I can't reproduce your problem in (a virtualbox guest) openSUSE 15.1, using the system lldb 7 and a self-built wx3.1.3. I get: (lldb) print foo (wxString) $0 = { m_impl = { _M_dataplus = (_M_p = L"Test lldb") _M_string_length = 9 = (_M_local_buf = wchar_t [4] @ 0x00000000025e8910, _M_allocated_c...
by DavidHart
Tue Jun 18, 2019 9:43 am
Forum: General Development
Topic: png2c script failed
Replies: 8
Views: 444

Re: png2c script failed

I hadn't realised you were already making wx python3-compatible...

I didn't test the PR itself, but I confirm that prefixing 'b' to that string fixes the script for 3.5 without breaking 2.7.
by DavidHart
Mon Jun 17, 2019 9:54 pm
Forum: Compiler / Linking / IDE Related
Topic: What is Cairo, and how is it related to GTK and/or OpenGL when building for Linux?
Replies: 3
Views: 132

Re: What is Cairo, and how is it related to GTK and/or OpenGL when building for Linux?

Does that mean that wxQT will be the only viable port for Linux in the future? No, I didn't mean that at all. I hope that wxQT will become a complete and viable alternative to wxGTK, but afaik it's not there yet. It is highly un likely to replace wxGTK though. I have tried both cmake and the standa...
by DavidHart
Mon Jun 17, 2019 9:11 am
Forum: General Development
Topic: png2c script failed
Replies: 8
Views: 444

Re: png2c script failed

Hi, FWIW, I tested the png using the wx3.1.3 png2c.py. With python 2.7 it ran normally and produced sensible output. Testing with python 3.5, and after fixing several "Missing parentheses in call to 'print'" errors, I got the "bold.png" doesn't seem to be a valid PNG file. output. The same happened ...