Hi I try compiling hugin on ubuntu 22.04 but I have problem.
---------------------------------------------------
/opt/hugin/hugin-2023.0.0$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DCPACK_BINARY_DEB:BOOL=ON /opt/hugin/hugin-2023.0.0
CMake Warning (dev) in CMakeLists.txt:
No project() command is present. The top-level CMakeLists.txt file must
contain a literal, direct call to the project() command. Add a line of
code such as
project(ProjectName)
near the top of the file, but after cmake_minimum_required().
CMake is pretending there is a "project(Project)" command on the first
line.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at celeste/CMakeLists.txt:71 (set_target_properties):
set_target_properties called with incorrect number of arguments.
CMake Error at translations/CMakeLists.txt:7 (find_package):
By not providing "FindMSGFMT.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "MSGFMT", but
CMake did not find one.
Could not find a package configuration file provided by "MSGFMT" with any
of the following names:
MSGFMTConfig.cmake
msgfmt-config.cmake
Add the installation prefix of "MSGFMT" to CMAKE_PREFIX_PATH or set
"MSGFMT_DIR" to a directory containing one of the above files. If "MSGFMT"
provides a separate development package or SDK, be sure it has been
installed.
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 3.22)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring incomplete, errors occurred!