Unable to build Freefilesync 13.1 on Ubuntu 23.10 (mantic)

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

xtradeb

Hi!

I'm unable to build Freefilesync 13.1 on Ubuntu 23.10 (mantic) due to this error:
application.cpp:249:2: error: #error why is wxWidgets uncaught exception handling enabled!?
  249 | #error why is wxWidgets uncaught exception handling enabled!?
      |  ^~~~~
compilation terminated due to -Wfatal-errors.
You can find attached the full build log.

Can you help?

Thank you!
Jhonny Oliveira
https://xtradeb.net
Attachments
freefilesync_13.1-Build_error.txt
(147.26 KiB) Downloaded 543 times
User avatar
Site Admin
Posts: 7205
Joined: 9 Dec 2007

Zenju

wxWidgets' exception handling gets in the way of debugging by handling uncaught exceptions, thous hiding their point of origin. Luckily this behavior can be disabled. If you're not debugging FreeFileSync, this option doesn't matter, and you can ignore the error.
Posts: 44
Joined: 14 Aug 2022

daviank

What about using one of these (as per Strategies for Exception Handling), for minimal exception handling?
- wxApp::OnExceptionInMainLoop()
- wxApp::OnUnhandledException()