[email protected] schrieb am Freitag, 5. Januar 2024 um 18:19:02 UTC+1:

Hi Thomas,
I try the commend:
/opt/hugin$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local 
-DCPACK_BINARY_DEB:BOOL=ON hugin-2023.0.0

the content of /opt/hugin id
/opt/hugin$ ll
totale 12
drwxr-xr-x  3 lorenzo root    4096 gen  5 09:19 ./
drwxr-xr-x  9 root    root    4096 gen  5 09:17 ../
drwxrwxr-x 16 lorenzo lorenzo 4096 gen  5 18:12 hugin-2023.0.0/


That looks good.

-rw-rw-r--  1 lorenzo lorenzo 14511 gen  5 09:28 CMakeCache.txt

 I don't understand, I'm not in the source folder for cmake and pass the 
correct folder for hugin, but the error is the same.

What's wrong?

There are still temporary files from the first wrong call in the directory.
Delete the complete directory and extract newly from the tarball to be on 
the right side.

Do you have write access to the /opt folder?

If it happens again please attach the complete log.
What is your CMake version?

Just for the mentioned warnings/errors:

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)

in ./CMakeLists.txt, line 61 is 
project(hugin)

CMake Error at translations/CMakeLists.txt:7 (find_package):
  By not providing "FindMSGFMT.cmake" in CMAKE_MODULE_PATH this project has 

in the source tarball there is a file CMakeModules/FindMSGFMT.cmake

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) 

line 3 in ./CMakeLists.txt is
cmake_minimum_required(VERSION 3.8 FATAL_ERROR )

So if you pass the correct root folder I have no idea why CMakes complains 
about these lines, because the necessary lines/file are there.

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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/6e0ac391-8536-4639-a863-21e1cd3c3204n%40googlegroups.com.

Reply via email to