|
|
|
|
|
|
|
|
|
|
Re: CMake Problem Thread [message #4475 is a reply to message #4400] |
Wed, 13 June 2007 16:42   |
Ralf Kliemt
Messages: 507 Registered: May 2007 Location: GSI, Darmstadt
|
first-grade participant |
 From: 141.30.85*
|
|
Hi Florian, hi Mohammed,
In the Rev. 880 there is some trouble with the cmake functionality:
CMake Error: Error in cmake code at
/home/ralfk/Pandaroot/pandaroot/base/CMakeLists.txt:72:
SET_TARGET_PROPERTIES called with illegal arguments, maybe missing a PROPERTIES specifier?
Current CMake stack: /home/ralfk/Pandaroot/pandaroot/base/CMakeLists.txt
CMake Error: Error in cmake code at
/home/ralfk/Pandaroot/pandaroot/geobase/CMakeLists.txt:79:
SET_TARGET_PROPERTIES called with illegal arguments, maybe missing a PROPERTIES specifier?
Current CMake stack: /home/ralfk/Pandaroot/pandaroot/geobase/CMakeLists.txt
CMake Error: Error in cmake code at
/home/ralfk/Pandaroot/pandaroot/parbase/CMakeLists.txt:53:
SET_TARGET_PROPERTIES called with illegal arguments, maybe missing a PROPERTIES specifier?
Current CMake stack: /home/ralfk/Pandaroot/pandaroot/parbase/CMakeLists.txt
CMake Error: Error in cmake code at
/home/ralfk/Pandaroot/pandaroot/generators/CMakeLists.txt:49:
SET_TARGET_PROPERTIES called with illegal arguments, maybe missing a PROPERTIES specifier?
Current CMake stack: /home/ralfk/Pandaroot/pandaroot/generators/CMakeLists.txt
CMake Error: Error in cmake code at
/home/ralfk/Pandaroot/pandaroot/cbmg4/CMakeLists.txt:43:
SET_TARGET_PROPERTIES called with illegal arguments, maybe missing a PROPERTIES specifier?
Current CMake stack: /home/ralfk/Pandaroot/pandaroot/cbmg4/CMakeLists.txt
Kind regards, Ralf.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: CMake Problem Thread [message #4771 is a reply to message #4770] |
Wed, 01 August 2007 09:28   |
Florian Nebel
Messages: 10 Registered: July 2007 Location: TU Munich
|
occasional visitor |
From: *e12.physik.tu-muenchen.de
|
|
Hi,
while it is always nice to have something unique I'd rather pass in this case. Of course I have a separate cmake and automake build directory - as it was suggested in the using cmake thread.
However I have absolutely no clue what you mean if you talk about the SVN head version, therefore it is kinda hard for me to answer this question.
Nevertheless, if it is not a problem caused by cmake, what else could cause the linker process to fail?
From studying the error messages and the code lines they refer to it is my impression, that the linker is ignoring function prototype definitions. E. g. if function prototype is given in line 44 and the function definition follows in 357 the linker will complain, that the function is first defined in line 357, together with the complain, that it is a multiple definition in line 357 - also I noticed that the error-message does not point to the line with the actual function definition (e. g. void ....) but to the line including the first "{" I don't know if this is a meaningless observation, but it looks rather strange to me, and it is quite annoying to have a code which does compile but not link...
|
|
|
|
|
|
|
|
|
|