Am Donnerstag 24 Dezember 2009 schrieb Doug: > Sorry for the newbie question. > I'm trying to install 2009.4.0 on linux mandrake 2009.1 64-bit from the > 2009.4.0 tarball. > Having downloaded it and untarred into ~/downloads/ ; entered > ~/downloads/hugin-2009.4.0/ > and run "cmake -DCMAKE_INSTALL_PREFIX=/usr/local ." I get the following > error messages: > > CMake Error at celeste/CMakeLists.txt:85 (set_target_properties): > set_target_properties called with incorrect number of arguments.
Looks like HUGIN_LIB_VERSION were not set ...
> CMake Error at celeste/CMakeLists.txt:96 (INSTALL):
> install TARGETS given no RUNTIME DESTINATION for executable target
> "celeste_standalone".
Here maybe BINDIR is not set ...
> CMake Error at celeste/CMakeLists.txt:97 (INSTALL):
> install FILES given no DESTINATION!
and here INSTALL_DATA_DIR...
...
All of this would have been set in the main CMakeLists.txt.
You should call cmake with a path to main source as argument.
Already the first error should read "src/celeste/CMakeLists.txt" and not
"celeste/CMakeLists.txt".
Therefore you should call:
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local
> Where do I go from here?
See above.
> Doug
>
Kornel
--
Kornel Benko
[email protected]
signature.asc
Description: This is a digitally signed message part.
