[Insight-users] (no subject)
URI
zallen at wheelinghospital.com
Fri Nov 27 11:54:29 EST 2009
Ok, I went back to CMake version 2.8 like I was oringinally using and added
the line to all the CMakelists.txt files that were giving me errors. It
removed the warning, but all the errors are still there.
This is what I get now:
CMake Error at Common/CMakeLists.txt:164 (INSTALL):
install TARGETS given no ARCHIVE DESTINATION for static library target
"ITKCommon".
CMake Error at Numerics/CMakeLists.txt:48 (INSTALL):
install TARGETS given no ARCHIVE DESTINATION for static library target
"ITKNumerics".
CMake Error at Numerics/Statistics/CMakeLists.txt:22 (INSTALL):
install TARGETS given no ARCHIVE DESTINATION for static library target
"ITKStatistics".
CMake Error at Numerics/FEM/CMakeLists.txt:170 (INCLUDE):
include could not find load file:
/CMake/itkCheckCXXAcceptsFlags.cmake
CMake Error at Numerics/FEM/CMakeLists.txt:171 (itkCHECK_CXX_ACCEPTS_FLAGS):
Unknown CMake command "itkCHECK_CXX_ACCEPTS_FLAGS".
Configuring incomplete, errors occurred!
=============================================
Luis Ibanez wrote:
>
> You just need to add the line:
>
> cmake_minimum_required(VERSION 2.4)
>
> to be the first line of the CMakeLists.txt file.
>
> Just as the error message indicates.
>
> --
>
> Note that "2.4" in this command
> should work for any subsequent version of CMake.
>
> There is no need for you to use an older CMake.
>
> Any version of CMake from 2.6.4 and up should
> work fine with ITK.
>
>
> Please let us know if you still have any problems.
>
>
> Thanks,
>
>
> Luis
>
>
> -----------------------------------------------------------------------------------------------
> On Wed, Nov 25, 2009 at 2:17 PM, URI <zallen at wheelinghospital.com> wrote:
>>
>> I found where the earlier versions of CMake are stored and I tried using
>> version 2.4.2, but I got the same errors plus more. Does anyone know
>> what
>> the solution to this is? This has to be a basic thing, I'm just trying
>> to
>> get it configured for the first time by following the instructions in the
>> manual, I'm not even trying to compile a new program or anything.
>>
>>
>> I am getting the exact same error codes as the original poster. I am
>> using
>> MinGW on a 64-bit Windows 7 machine. I would like to try Dan's
>> suggestion
>> about using CMake 2.4 but I can't find anywhere to download it. The only
>> versions I can find on the CMake site
>> (http://www.cmake.org/cmake/resources/software.html) are version 2.8 and
>> 2.6.4.
>>
>>
>>
>> Dan Mueller wrote:
>>>
>>> Hi Munther,
>>>
>>> It seems the "Hello World" application is not compatible with your
>>> version of CMake...
>>>
>>> Perhaps try CMake version 2.4.x? Anyone else on the list have ideas?
>>>
>>> Regards, Dan
>>>
>>> 2009/11/23 Gdeisat, Munther <M.A.Gdeisat at ljmu.ac.uk>:
>>>
>>>> ##########=================================
>>>> Check for working C compiler: cl
>>>>
>>>> Check for working C compiler: cl -- works
>>>>
>>>> Detecting C compiler ABI info
>>>>
>>>> Detecting C compiler ABI info - done
>>>>
>>>> Check for working CXX compiler: cl
>>>>
>>>> Check for working CXX compiler: cl -- works
>>>>
>>>> Detecting CXX compiler ABI info
>>>>
>>>> Detecting CXX compiler ABI info - done
>>>>
>>>> CMake Warning (dev) in CMakeLists.txt:
>>>>
>>>> No cmake_minimum_required command is present. A line of code such as
>>>>
>>>> cmake_minimum_required(VERSION 2.8)
>>>>
>>>> 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.
>>>>
>>>> Looking for EnumProcesses in Psapi
>>>>
>>>> Looking for EnumProcesses in Psapi - not found
>>>>
>>>> Looking for mallinfo in malloc
>>>>
>>>> Looking for mallinfo in malloc - not found
>>>>
>>>> CMake Error at Common/CMakeLists.txt:163 (INSTALL):
>>>>
>>>> install TARGETS given no ARCHIVE DESTINATION for static library target
>>>>
>>>> "ITKCommon".
>>>>
>>>> CMake Error at Numerics/CMakeLists.txt:47 (INSTALL):
>>>>
>>>> install TARGETS given no ARCHIVE DESTINATION for static library target
>>>>
>>>> "ITKNumerics".
>>>>
>>>> CMake Error at Numerics/Statistics/CMakeLists.txt:21 (INSTALL):
>>>>
>>>> install TARGETS given no ARCHIVE DESTINATION for static library target
>>>>
>>>> "ITKStatistics".
>>>>
>>>> CMake Error at Numerics/FEM/CMakeLists.txt:169 (INCLUDE):
>>>>
>>>> include could not find load file:
>>>>
>>>> /CMake/itkCheckCXXAcceptsFlags.cmake
>>>>
>>>> CMake Error at Numerics/FEM/CMakeLists.txt:170
>>>> (itkCHECK_CXX_ACCEPTS_FLAGS):
>>>>
>>>> Unknown CMake command "itkCHECK_CXX_ACCEPTS_FLAGS".
>>>>
>>>> Configuring incomplete, errors occurred!
>>>>
>>>>
>>>
>>
>> --
>> View this message in context:
>> http://n2.nabble.com/no-subject-tp4031125p4067071.html
>> Sent from the ITK Insight Users mailing list archive at Nabble.com.
>> _____________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Kitware offers ITK Training Courses, for more information visit:
>> http://www.kitware.com/products/protraining.html
>>
>> Please keep messages on-topic and check the ITK FAQ at:
>> http://www.itk.org/Wiki/ITK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.itk.org/mailman/listinfo/insight-users
>>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
--
View this message in context: http://n2.nabble.com/no-subject-tp4031125p4076602.html
Sent from the ITK Insight Users mailing list archive at Nabble.com.
More information about the Insight-users
mailing list