Search found 83 matches

by Ksawery
Tue Aug 27, 2019 1:42 pm
Forum: Platform Related Issues
Topic: Certain methods not working under Linux Mint
Replies: 21
Views: 4156

Re: Certain methods not working under Linux Mint

After installing different versions of wxWidgets, as well as Code::Blocks, running make install , and then make uninstall several times, and installing/uninstalling several packages, I wanted to start from scratch, since things simply didn't want to work. I messed something up, somewhere. So I had t...
by Ksawery
Tue Aug 27, 2019 1:00 pm
Forum: Compiler / Linking / IDE Related
Topic: Eclipse - Unresolved Symbol Errors
Replies: 1
Views: 1417

Eclipse - Unresolved Symbol Errors

After successfully using wxWidgets with Code::Blocks on Linux Mint, I'm trying to setup my environment in Eclipse (I prefer to use that IDE). I've configured Eclipse according to the following instructions: https://wiki.wxwidgets.org/Eclipse My application runs fine, but what's weird is that I'm see...
by Ksawery
Tue Aug 27, 2019 10:17 am
Forum: Platform Related Issues
Topic: Certain methods not working under Linux Mint
Replies: 21
Views: 4156

Re: Certain methods not working under Linux Mint

Thank you. Also, for any people having issues with conflicting versions of wxWidgets installed on their system, the following instructions helped me a lot: http://wiki.amule.org/wiki/How_to_uninstall_wxWidgets The -rm commands helped me make sure that no older versions are present on my system; whic...
by Ksawery
Mon Aug 26, 2019 1:21 pm
Forum: Platform Related Issues
Topic: Certain methods not working under Linux Mint
Replies: 21
Views: 4156

Re: Certain methods not working under Linux Mint

Yes, I believe they were back ticks, since I copied them directly from the browser. For some reason they just didn't want to work.
by Ksawery
Mon Aug 26, 2019 11:39 am
Forum: Platform Related Issues
Topic: Certain methods not working under Linux Mint
Replies: 21
Views: 4156

Re: Certain methods not working under Linux Mint

Thank you again for your help. I reinstalled wxWidgets 3.1.2, making sure I'm installing it into the gtk-build directory. I then copied the wx-config commands from the terminal directly into the compiler and linker flags - instead of using 'wx-config --cxxflags', for example. The application now wor...
by Ksawery
Fri Aug 23, 2019 2:42 pm
Forum: Platform Related Issues
Topic: Certain methods not working under Linux Mint
Replies: 21
Views: 4156

Re: Certain methods not working under Linux Mint

Out of curiosity - what was the exact configure line you used? I followed the instructions at: https://wiki.wxwidgets.org/Compiling_and_getting_started. I used ../configure --enable-unicode --enable-debug with admin privileges and it installed without problems. I then tested it with the ./minimal s...
by Ksawery
Fri Aug 23, 2019 1:28 pm
Forum: Platform Related Issues
Topic: Certain methods not working under Linux Mint
Replies: 21
Views: 4156

Re: Certain methods not working under Linux Mint

While your (any) wx program is running, do over it: Ctrl-Alt-Middleclick Looks like I was wrong regarding the version of wxWidgets that I am using: Screenshot from 2019-08-23 14-58-01.png I'm also pretty new to Linux, and I (wrongly) assumed that Code::Blocks will automatically use the latest versi...
by Ksawery
Fri Aug 23, 2019 11:48 am
Forum: Platform Related Issues
Topic: Certain methods not working under Linux Mint
Replies: 21
Views: 4156

Re: Certain methods not working under Linux Mint

I found the following post, which seems to indicate that this is an issue with GTK2, but not GTK3. Perhaps I compiled wxWidgets using the wrong GTK version?

https://trac.wxwidgets.org/ticket/12539

Regards,
Ksawery
by Ksawery
Fri Aug 23, 2019 11:11 am
Forum: Platform Related Issues
Topic: Certain methods not working under Linux Mint
Replies: 21
Views: 4156

Re: Certain methods not working under Linux Mint

Thank you for your replies. wxWidgets seldom uses absolute positioning. Instead it positions using wxSizer. See this (very old but still valid) sizer demo. I tried using the sizer according to the article, but no combination of options would make the static text center horizontally; despite removin...
by Ksawery
Thu Aug 22, 2019 1:03 pm
Forum: Platform Related Issues
Topic: Certain methods not working under Linux Mint
Replies: 21
Views: 4156

Re: Certain methods not working under Linux Mint

Thanks for your reply. What exactly do you mean by the following? Don't do that! The control is inside a sizer; the sizer sets its position. If you want it to be offset, either give that side a border or add wxSpacer(s) with the appropriate width/height. How do I add a wxSpacer with the appropriate ...
by Ksawery
Thu Aug 22, 2019 8:42 am
Forum: Platform Related Issues
Topic: Certain methods not working under Linux Mint
Replies: 21
Views: 4156

Certain methods not working under Linux Mint

Hello, As mentioned in my previous post, I'm in the process of porting my wxWidgets application from Windows 10 to Linux Mint. I have the latest version of Linux and wxWidgets (installed from source), and I'm using the Code::Blocks IDE with all wxWidgets plugins installed. I setup a wxWidgets 3.0.x ...
by Ksawery
Tue Aug 20, 2019 6:20 pm
Forum: Compiler / Linking / IDE Related
Topic: Migrating to Linux (Mint)
Replies: 8
Views: 1962

Re: Migrating to Linux (Mint)

It is possible that the string contained a random special character, due to foreign characters being pushed and pulled from GitHub. So that might have been the real issue - which I accidentally fixed by correcting typos.

Thank you for your help.

Ksawery
by Ksawery
Tue Aug 20, 2019 1:57 pm
Forum: Compiler / Linking / IDE Related
Topic: Migrating to Linux (Mint)
Replies: 8
Views: 1962

Re: Migrating to Linux (Mint)

I replaced some instances of wxT with _T, and it seems to work ok now. I still have other unexpected bugs in the application, but at least it compiles successfully now.

Many thanks,
Ksawery
by Ksawery
Tue Aug 20, 2019 12:52 pm
Forum: Compiler / Linking / IDE Related
Topic: Migrating to Linux (Mint)
Replies: 8
Views: 1962

Re: Migrating to Linux (Mint)

Thank you for taking the time to look into my problem, that solved that issue! Unfortunately i'm still seeing errors related to the wxT macro: ||=== Build: Debug in PomiarWiazki_wxWidgets_Linux (compiler: GNU GCC Compiler) ===| /home/ksawery/repos/PomiarWiazki_wxWidgets_Linux/PomiarWiazki_wxWidgets_...
by Ksawery
Tue Aug 20, 2019 11:00 am
Forum: Compiler / Linking / IDE Related
Topic: Migrating to Linux (Mint)
Replies: 8
Views: 1962

Re: Migrating to Linux (Mint)

Thank you for your reply. Here is the event table: wxBEGIN_EVENT_TABLE(cDiagnostics, wxFrame) EVT_BUTTON(10003, OnButtonClickedReset) EVT_TIMER(10005, OnDiagnosticsResetTimer) EVT_CLOSE(OnClose) wxEND_EVENT_TABLE() And here are the event handlers: void cDiagnostics::OnButtonClickedReset(wxCommandEve...