[MacPorts] #71420: libheif - no vailable compiler on Leopard
MacPorts
noreply at macports.org
Thu Nov 28 22:31:48 UTC 2024
#71420: libheif - no vailable compiler on Leopard
-----------------------+-------------------------
Reporter: rmottola | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: leopard ppc
Port: libheif |
-----------------------+-------------------------
Comment (by rmottola):
forcing gcc7 yields:
{{{
-- Performing Test has_potentially_evaluated_expression
CMake Error in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/build/CMakeFiles/CMakeScratch
/TryCompile-MwG9yJ/CMakeLists.txt:
Target "cmTC_2501c" requires the language dialect "CXX20" . But the
current compiler "GNU" does not support this, or CMake does not know the
flags to enable it.
}}}
so yes, we need a newer c++ compiler. AFAIK, the minimum version would be
gcc8, one of the compiler I proposed to have in the list. At the end I
don't know if this needs all up to gcc14 to get gcc8, I lost a bit in the
discussion @kencu. Latest I have now is 7.
{{{
gcc8 is known to fail. Try to install anyway? [y/N]
}}}
--
Ticket URL: <https://trac.macports.org/ticket/71420#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list