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/ the uncompressed directory is hugin-2023.0.0/ the content is: /opt/hugin$ ll hugin-2023.0.0/ totale 192 drwxrwxr-x 16 lorenzo lorenzo 4096 gen 5 18:12 ./ drwxr-xr-x 3 lorenzo root 4096 gen 5 09:19 ../ -rwxrwx--- 1 lorenzo lorenzo 169 lug 17 2011 AUTHORS* -rwxrwx--- 1 lorenzo lorenzo 4937 giu 9 2016 authors.txt* drwxrwxr-x 3 lorenzo lorenzo 4096 gen 5 09:28 celeste/ -rwxrwx--- 1 lorenzo lorenzo 14006 apr 16 2023 Changes.txt* -rw-rw-r-- 1 lorenzo lorenzo 14511 gen 5 09:28 CMakeCache.txt drwxrwxr-x 4 lorenzo lorenzo 4096 gen 5 09:40 CMakeFiles/ -rwxrwx--- 1 lorenzo lorenzo 35144 gen 5 09:32 CMakeLists.txt* drwxrwx--- 2 lorenzo lorenzo 4096 nov 11 08:29 CMakeModules/ -rwxrwx--- 1 lorenzo lorenzo 941 lug 17 2011 cmake_uninstall.cmake.in* -rwxrwx--- 1 lorenzo lorenzo 18092 mag 8 2016 COPYING.txt* drwxrwx--- 2 lorenzo lorenzo 4096 nov 11 08:29 Debian/ drwxrwxr-x 3 lorenzo lorenzo 4096 gen 5 09:28 deghosting/ drwxrwx--- 3 lorenzo lorenzo 4096 nov 11 08:29 doc/ drwxrwxr-x 4 lorenzo lorenzo 4096 gen 5 09:28 foreign/ drwxrwxr-x 3 lorenzo lorenzo 4096 gen 5 09:28 hugin_base/ drwxrwxr-x 5 lorenzo lorenzo 4096 gen 5 09:28 hugin_cpfind/ -rwxrwx--- 1 lorenzo lorenzo 6226 feb 24 2023 INSTALL_cmake* drwxrwx--- 3 lorenzo lorenzo 4096 nov 11 08:29 mac/ drwxrwx--- 5 lorenzo lorenzo 4096 nov 11 08:29 platforms/ -rwxrwx--- 1 lorenzo lorenzo 4599 ott 31 2018 README* -rwxrwx--- 1 lorenzo lorenzo 12 nov 11 08:28 rev.txt* drwxrwx--- 12 lorenzo lorenzo 4096 nov 11 08:29 src/ -rwxrwx--- 1 lorenzo lorenzo 2140 lug 17 2011 TODO* drwxrwxr-x 3 lorenzo lorenzo 4096 gen 5 09:28 tools/ drwxrwxr-x 3 lorenzo lorenzo 4096 gen 5 09:28 translations/ 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? Il giorno ven 5 gen 2024 alle ore 16:17 'T. Modes' via hugin and other free panoramic software <[email protected]> ha scritto: > Hi, > > [email protected] schrieb am Freitag, 5. Januar 2024 um 10:06:50 > UTC+1: > > Hi I try compiling hugin on ubuntu 22.04 but I have problem. > I have download the package and extract in a folder, the run cmake as > follow: > > --------------------------------------------------- > > > /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) > > <snip> > > How can I resolve? > > > First you need to call CMake from a separate build directory and not try > an in-tree build. > > Second, you need to pass the root of the Hugin source to CMake and not the > src sub-directory only. > > 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 a topic in the > Google Groups "hugin and other free panoramic software" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/hugin-ptx/7NcM6oR7kCI/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/hugin-ptx/3a90339a-263c-4a71-8715-c935fbd3cc1dn%40googlegroups.com > <https://groups.google.com/d/msgid/hugin-ptx/3a90339a-263c-4a71-8715-c935fbd3cc1dn%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]. To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/CAF9ajBoQnL1U1Xjb2RC0qBn%3DaYLGJBcMR7VHEv6L1ECJp2348A%40mail.gmail.com.
