Search found 172 matches

by Virchanza
Fri Feb 11, 2022 10:43 am
Forum: General Development
Topic: GUI program inside chrootjail (running under QEMU)
Replies: 4
Views: 4282

Re: GUI program inside chrootjail (running under QEMU)

DavidHart wrote: Fri Feb 11, 2022 10:31 am That sounds likely. Have a look in the chroot's /usr/share/fonts/ and compare it with ubuntu.


All I had to do was copy the directory "/usr/share/fonts/" across into my chroot jail.


arm32eb_dynamo_fonts.png
arm32eb_dynamo_fonts.png (32.66 KiB) Viewed 4259 times
by Virchanza
Thu Feb 10, 2022 11:22 pm
Forum: Compiler / Linking / IDE Related
Topic: Run a Big Endian program on a Little Endian operating system
Replies: 3
Views: 676

Re: Run a Big Endian program on a Little Endian operating system

Just a test post to get around the forum errors. Are you talking about recent forum errors? If yes, please explain what kind of errors. The login issues should hopefully be resolved since last week. This is my first time logging in in about 3 weeks or so. From now on I'll just post as normal withou...
by Virchanza
Thu Feb 10, 2022 11:21 pm
Forum: General Development
Topic: GUI program inside chrootjail (running under QEMU)
Replies: 4
Views: 4282

GUI program inside chrootjail (running under QEMU)

I have a desktop PC at home, it's an x86_64 with 40 cores running Ubuntu Linux. I've spent the last week or two creating a 'chroot jail' in which I have placed a cross-compiler that builds 32-Bit Big Endian ARM programs. With the help of "Linux from Scratch" I've built all the libraries I ...
by Virchanza
Thu Jan 20, 2022 8:29 am
Forum: Compiler / Linking / IDE Related
Topic: Run a Big Endian program on a Little Endian operating system
Replies: 3
Views: 676

Run a Big Endian program on a Little Endian operating system

Today I posted the following on the Raspberry Pi forums located at: https://forums.raspberrypi.com/viewforum.php?f=29 . I wish to get opinions here also though. I have a Raspberry Pi 2 Model B. The CPU is 32-Bit ARM Cortex A7, which can be configured to run both in Little Endian and Big Endian mode....
by Virchanza
Tue Jan 11, 2022 1:55 pm
Forum: Compiler / Linking / IDE Related
Topic: IID_IAccessible defined in libuuid and liboleacc
Replies: 3
Views: 550

Re: IID_IAccessible defined in libuuid and liboleacc

It's building fine now after changing the arguments to the linker. Although when I run my built program, I now get: wxWidgets Debug Alert A debugging check in this application has failed. assert failed in DoInsert(): Horizontal alignement flags are ignored with wxEXPAND but it seems as though these ...
by Virchanza
Tue Jan 11, 2022 11:39 am
Forum: Compiler / Linking / IDE Related
Topic: IID_IAccessible defined in libuuid and liboleacc
Replies: 3
Views: 550

IID_IAccessible defined in libuuid and liboleacc

This morning for the first time, I'm trying to upgrade my program called "Dynamo" from using wxWidgets 3.0 to 3.1. I link as follows: g++ *.o -L C:\wxWidgets-3.1.5\lib\gcc_lib -mthreads -mwindows \ -pipe -mthreads -Wno-attributes -D__GNUWIN32__ -D__WXMSW__ -DwxUSE_UNICODE \ -l:libwxmsw31u_...
by Virchanza
Sat Jan 01, 2022 4:42 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiler warning different enums
Replies: 1
Views: 311

Compiler warning different enums

My wxWidgets program written in C++20 and compiled with version 11 of the GNU compiler suite, gives a load of compiler warnings for using two different enum types together, for example: enum Vehicle { Boat, Car, Helicopter }; enum Dwelling { House, Apartment, Tent }; enum SomeOtherEnum { /* . . . */...
by Virchanza
Wed Dec 29, 2021 12:36 am
Forum: General Development
Topic: cppcheck takes 6+ hours
Replies: 4
Views: 3170

Re: cppcheck takes 6+ hours

it took 10 hours to complete and then it just says no configuration available for most of the files
by Virchanza
Tue Dec 28, 2021 11:22 am
Forum: Compiler / Linking / IDE Related
Topic: clang can't compile wxWidgets programs
Replies: 2
Views: 522

clang can't compile wxWidgets programs

I'm getting this erroe:

Code: Select all

/usr/include/wx-3.0/wx/event.h:521:32: error: use of overloaded operator '!=' is ambiguous (with operand types 'wxTypeIdentifier' and 'wxTypeIdentifier')
by Virchanza
Thu Dec 23, 2021 7:26 pm
Forum: General Development
Topic: cppcheck takes 6+ hours
Replies: 4
Views: 3170

Re: cppcheck takes 6+ hours

It's been running for 7 hours now and it's 53% done.
by Virchanza
Thu Dec 23, 2021 5:32 pm
Forum: General Development
Topic: cppcheck takes 6+ hours
Replies: 4
Views: 3170

cppcheck takes 6+ hours

If I configure cppcheck with "--library=std --library=boost --library=wxwidgets", and then give it the paths to the header files for Boost and wxWidgets, it takes more than 6 hours to do all its checks. (Github Actions abandoned the workflow after 6 hours so I don't know how long it would ...
by Virchanza
Sun Dec 19, 2021 2:02 am
Forum: Compiler / Linking / IDE Related
Topic: how to compile code::blocks WxWidgets Project on github actions
Replies: 3
Views: 3296

Re: how to compile code::blocks WxWidgets Project on github actions

See my thread where I got this working for my own wxWidgets GUI program:

viewtopic.php?f=19&t=48835
by Virchanza
Sun Dec 19, 2021 2:01 am
Forum: Compiler / Linking / IDE Related
Topic: GitHub Actions : GCC11, pCap, wxWidgets, Boost
Replies: 1
Views: 769

GitHub Actions : GCC11, pCap, wxWidgets, Boost

I now have 'Github Actions' for the repository for my 'Dynamo' program set up to do the following: - Install gcc/g++ version 11 (for C++20) - Install pCap dev headers and library - Install wxGTK - Install Boost Here's what I've got for the '.yml' file: name: C/C++ CI on: push: branches: [ master ] p...
by Virchanza
Sat Dec 18, 2021 4:29 pm
Forum: General Development
Topic: Please explain how one thread can interleave event handlers
Replies: 1
Views: 2797

Please explain how one thread can interleave event handlers

I was looking through the code for my Dynamo program, and I saw this: void Dialog_Main::OnButtonClick_See_Detailed_MAC_Info( wxCommandEvent& event ) { (new Dialog_Detailed_MAC_Info(this,p))->ShowModal(); /* This function call doesn't return until the dialog disappears, however wxWidgets has some...