Compile issue with boost 1.89?

40 views
Skip to first unread message

Justin Zobel

unread,
Aug 18, 2025, 3:37:10 AMAug 18
to hugin and other free panoramic software
Boost 1.89.0 is compiled earlier in the build but hugin appears to refuse to use it.

dudek53

unread,
Aug 18, 2025, 3:45:25 AMAug 18
to hugi...@googlegroups.com
I posted on wxWidget issue a while ago in the mac hugin builds thread. Maybe related to your issue? Cannot link to messages but below is my post.
Fresh build compiled on macOS Sequoia 15.5. Probably will work on older arm64 machines. ONLY works on apple silicon macs.

Unofficial test build
Download:

Always run following in terminal after install to bypass mac sandboxing issues:
xattr -cr drag/Hugin/root/folder/here and press enter.

Note: I commented out following in src/hugin1/hugin/MainFrame.cpp as it will make Hugin to crash even though I am on wxWidgets-3.2.2.1
//Below check will cause wxWidget issues crashes Hugin on startup
//#if wxCHECK_VERSION(3,1,6)
  //      bitmap.SetScaleFactor(GetDPIScaleFactor());
//#endif

Not sure if it is something needs fixing or if compiler needs tweaking.

Please report if testing this version what works and not.
Happy testing!

Visa citerad text



Den mån 18 aug. 2025 09:37Justin Zobel <justin...@gmail.com> skrev:
Boost 1.89.0 is compiled earlier in the build but hugin appears to refuse to use it.

--
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 hugin-ptx+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/hugin-ptx/ca92c49c-441d-4dc6-8bee-264e5a4789fen%40googlegroups.com.

Andreas Metzler

unread,
Aug 19, 2025, 1:15:12 PMAug 19
to hugi...@googlegroups.com
> --
> 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 hugin-ptx+...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/hugin-ptx/ca92c49c-441d-4dc6-8bee-264e5a4789fen%40googlegroups.com.

Hello,

----------------
Quote
CMake Warning (dev) at CMakeLists.txt:376 (FIND_PACKAGE):
Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake
--help-policy CMP0167" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.

This warning is for project developers. Use -Wno-dev to suppress it.

-- Could NOT find Boost: missing: system (found
/app/lib/cmake/Boost-1.89.0/BoostConfig.cmake (found suitable version "1.89.0",
minimum required is "1.47"))
Unquote

And CMP0167:
[...]
CMake 3.29 and below provide a FindBoost module, but it needs constant
updates to keep up with upstream Boost releases. Upstream Boost 1.70 and
above provide a BoostConfig.cmake package configuration file.
find_package(Boost CONFIG) finds the upstream package directly, without
the find module.

CMake 3.30 and above prefer to not provide the FindBoost module so that
find_package(Boost) calls, without the CONFIG or NO_MODULE options, find
the upstream BoostConfig.cmake directly. This policy provides
compatibility for projects that have not been ported to use the upstream
Boost package.
[...]
----------------

So afaict this is not related to a boost upgrade but due to an upgrade
to cmake 3.30.

Also I think hugin HG head does not use boost anymore.

cu Andreas

--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
Reply all
Reply to author
Forward
0 new messages