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 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/3a90339a-263c-4a71-8715-c935fbd3cc1dn%40googlegroups.com.

Reply via email to