Thank you guys, appreciate your support even if this are more cmake
questions rather than hugin.
Below the complete output of cmake command, I noticed now that the first
error is
CMake Error at celeste/CMakeLists.txt:71 (set_target_properties):
set_target_properties called with incorrect number of arguments.
And line 71 in celeste/CMakeList.txt
set_target_properties(celeste PROPERTIES VERSION ${HUGIN_LIB_VERSION})
s
$ cmake ../src
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.
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
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.16)
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!
On Saturday, February 27, 2021 at 2:51:16 PM UTC+1 [email protected]
wrote:
> You can pass variable values to cmake via -D switches...
>
>
> Am 27. Februar 2021 14:17:26 MEZ schrieb "T. Modes" <[email protected]>:
>>
>>
>>
>> Zupino schrieb am Samstag, 27. Februar 2021 um 09:35:50 UTC+1:
>>
>>> What I noticed is that I do not have CMAKE_MODULE_PATH set, so I set it
>>> with export CMAKE_MODULE_PATH='/home/<user/hugin-2020.0.0/CMakeModules>'
>>> and
>>> run again cmake, but still same error.
>>
>> CMAKE_MODULE_PATH is a variable inside the CMake build system, not an
>> environment variable. It is (probably) correctly set, otherwise CMake
>> should have complained earlier about other missing search module (e.g.
>> libpano)
>>
>>
>>> I also noticed that FindMSGFMT.cmake contains a check on the
>>> MSGFMT_EXECUTABLE var, which was also not set. I set to the value
>>> returned by `/usr/bin/msgfmt`, which is installed in my system.
>>>
>> Here the same. These are internal CMake variables which are picked up
>> when running. The problem the log mentions is that CMake does not found the
>> file - it does not even started to look after it. So you don't need to set
>> an environment variable with that name.
>>
>> Is CMake having any sort of cache I should clean before running it again
>>> with the environment variable set?
>>>
>> The cache is stored in the build directory. Simply clean up the build
>> directory and retry. But I fear it won't change much - because the
>> mentioned enviroment variables are not used by CMake.
>>
>>
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
>
--
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/ccb637d3-2427-4303-88d5-279a8d39cbedn%40googlegroups.com.