Unable to build FreeFileSync 14.0 on Ubuntu 24.04+

Get help for specific problems
User avatar
Posts: 20
Joined: 13 Mar 2021

xtradeb

Hi @Zenju!

I'm unable to build Freefilesync 14.0 on Ubuntu 24.04 (noble+) due to this error:
In file included from config.h:12:
../../wx+/darkmode.h:19:27: error: ‘Appearance’ in ‘class wxApp’ does not name a type
   19 | using ColorTheme = wxApp::Appearance; //why reinvent the wheel?
      |                           ^~~~~~~~~~
compilation terminated due to -Wfatal-errors.
This is the full build log:
freefilesync14.0buildUbuntu20.04.txt
(200.03 KiB) Downloaded 3 times
Can you help?

Btw, we noticed you changed the license. Can we still package it for the community: Debian, Ubuntu, ...?

Thank you!
Jhonny Oliveira
https://xtradeb.net
User avatar
Site Admin
Posts: 7282
Joined: 9 Dec 2007

Zenju

See Bugs.txt. FreeFileSync build requires a patched wxWidgets, not only to get rid of a few nasty bugs, but also dark mode support.
User avatar
Posts: 20
Joined: 13 Mar 2021

xtradeb

Hi again!

I'm really sorry, but I'm not sure how the info in Bugs.txt helps me making it work with libwxgtk3.2-dev (3.2.4/5 - 24.04/10) present in Ubuntu distribution. The upcoming Ubuntu 25.04 is only shipping with 3.2.6.

I package FreeFileSync for the latest and last Ubuntu releases in launchpad.net. Not really sure how I can make it work within the distribution.

You did not answer my question about the license.

Cheers!