@Dudek53,
Would you mind telling what was your last successful build (hugin source version, mac OS target, and versions of dependency used. Is this a standalone bundle, or relying on e.g. home-brew for dependencies). As for code signing and notarisation, I used to have a Apple Developer account, I could perhaps reactivate it to get cleanly signed Bundles, if all other issues get resolved. Guillaume Le 21 nov. 2025 à 11:00, dudek53 <[email protected]> a écrit : Nice to see progress on mac end. I will,.when I have time, try and help. Been compiling for arm64 before this recent code base. A lot of things needed. Even when successfully compiled codesigning removal is one thing to fix among other things. Just keep at it. Eventually you'll get there. Den fre 21 nov. 2025 10:56Guillaume Didier <[email protected]<mailto:[email protected]>> skrev: Hello, I have a good news and a bad news. The good news is that I have successfully compiled a Hugin.app standalone bundle for Apple Silicon macOS Tahoe & Sequoia. The bad news is that it crashes immediately, and there may be several bugs to fix. The first one is that in MainFrame::MainFrame, the call to GetDPIScaleFactor() triggers a null pointer dereference in wxWindow::GetContentScaleFactor (/wxWidgets-3.3.1/src/osx/window_osx.cpp:1188). (This could either be caused by wxWindowMac::GetPeer (window_osx.cpp:278 in wxWidgets-3.3.1) returning nullptr, OR an issue in wxWidgetCocoaImpl::GetContentScaleFactor (wxWidgets-3.3.1/src/osx/cocoa/window.mm:2840<http://window.mm:2840/>) (I may attempt to rebuild using wxWidget 3.2 at some point during the weekend, but I suspect this might be a chicken and egg issue (you can’t get the DPI Scale Factor until you have a window already open, since not all screen in the system may have the same scale factor, this code has been in wxWidgets for 5 years. Once I replace this call with returning the 1.5 DPI scale factor that Retina display is supposed to use, I get the splash screen to appear, but get an error message about missing SVG assets. (The 1.5 factor might be wrong though). I am not sure whether this is a wxWidgets or a Hugin bug in the end. (Should we move this discussion off list, to avoid spamming everyone here ?) Guillaume DIDIER So, I sorted a large amount of nonsense due to clang++ picking up the wrong headers, and one wxWidgets incompatible change, now I just need to hunt down some library that are being picked up from homebrew (either change the configure options to disable or use built-in versions, or add them as Extra dependencies). But it looks like I’ll soon have a build on Apple Silicon, macOS Tahoe. Is there a checklist to ensure the software runs properly ? Guillaume DIDIER Le 19 nov. 2025 à 11:22, 'T. Modes' via hugin and other free panoramic software <[email protected]<mailto:[email protected]>> a écrit : Hi Guillaume, Guillaume DIDIER schrieb am Mittwoch, 19. November 2025 um 10:21:20 UTC+1: I’ve been investigating how to build hugin properly for Apple Silicon (and if I manage to iron out the bugs), I’d be willing to help maintain a build for the recent OS. nice, that somebody steps in. I’ve found a few issues, which I was able to fix, mostly by updating to newer library versions. The levmar code has an issue identical to https://github.com/astromatic/psfex/issues/12, which I fixed using the same fix as https://github.com/astromatic/psfex/commit/f096d495c7e1f21dedbd40b207935f500850a88e This is now fixed in repository, default branch. Thanks for the link. However, the following code, in hugin-2025.0.0/src/hugin1/ptbatcher/ChangeUserDefinedDialog.cpp, seems to be wrong and cannot compile on macOS. <snip> Under defined __WXMAC__ && defined MAC_SELF_CONTAINED_BUNDLE, this results in attempting to compile the line hugin_utils::HuginMessageBox(_("xrc directory not found in bundle"), _("PTBatcherGUI"), wxOK|wxICON_ERROR, this); while being outside of a class method. This looks like a refactor issue using a non method helper. This can be fixed by replaceing this with wxGetActiveWindow() I committed the changes to the default branch. Since I’m more a git than a hg person, I haven’t gotten around figuring out when that issue was introduced though. hg blame could help here. Or I use the GUI TortoiseHg. (More generally, is it the case that macOS builds have not been tested at all for a while?) Yes. Nobody stepped in. There may be other issues on Mac hang around. Thomas -- A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ --- You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. To view this discussion visit https://groups.google.com/d/msgid/hugin-ptx/3aca0192-d1f8-439f-b033-d9015c619d8bn%40googlegroups.com<https://groups.google.com/d/msgid/hugin-ptx/3aca0192-d1f8-439f-b033-d9015c619d8bn%40googlegroups.com?utm_medium=email&utm_source=footer>. -- A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ --- You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. To view this discussion visit https://groups.google.com/d/msgid/hugin-ptx/2539896E-3614-4AC9-B2A5-66D38A679A8B%40outlook.fr<https://groups.google.com/d/msgid/hugin-ptx/2539896E-3614-4AC9-B2A5-66D38A679A8B%40outlook.fr?utm_medium=email&utm_source=footer>. -- A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ --- You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. To view this discussion visit https://groups.google.com/d/msgid/hugin-ptx/CAHk3tqidRAh_HcpFWArkLHFRfxte6ZHVEN2z2yRxQhTRkVPSCQ%40mail.gmail.com<https://groups.google.com/d/msgid/hugin-ptx/CAHk3tqidRAh_HcpFWArkLHFRfxte6ZHVEN2z2yRxQhTRkVPSCQ%40mail.gmail.com?utm_medium=email&utm_source=footer>. -- A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ --- You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/hugin-ptx/85CBA0E3-B7EE-456A-BF5E-CA7C191A319F%40outlook.fr.
