[ITK] [ITK-users] Cmake Error : string does not recognize sub-command MAKE_C_IDENTIFIER

Peter Bloomfield peter.bloomfield at camhpet.ca
Thu May 8 09:21:41 EDT 2014


On 05/08/2014 09:11 AM, David Cole wrote:
>> On 05/08/2014 06:01 AM, David Cole wrote:
>>>>      CMake Error at
>>>> /usr/share/cmake/Modules/GenerateExportHeader.cmake:319 (string):
>>>>        string does not recognize sub-command MAKE_C_IDENTIFIER
>>>> ...
>>>> The compiler is gcc version 4.8.1 and cmake version 3.0.0-rc4.
>>> This may mean you are *actually* using a CMake version less than
>>> 2.8.12. (MAKE_C_IDENTIFIER was added in the 2.8.12 release.)
>>>
>>> What does:
>>>
>>>      /usr/bin/cmake --version
>>>
>>> report?
>>>
>>> How about "which cmake"?
>>>
>>>
>> Thanks for getting back to me. I get the following
>>
>>     sh-4.2$ which cmake
>>     /usr/bin/cmake
>>
>>     sh-4.2$ /usr/bin/cmake --version
>>     cmake version 3.0.0-rc4
>>
>>     CMake suite maintained by Kitware, Inc. (kitware.com).
>
>
> Hmmmm. This seems very strange... Is anybody else seeing anything like 
> this with ITK and CMake 3?
>
> Do you have anything peculiar about your ITK configuration? (that is, 
> did you set any options that are not usually just on by default, or do 
> you have any special third party packages you are linking in, ...?)
>
> Did you start from a clean build tree, or is this an upgraded build 
> tree from a previous build of ITK, or same build of ITK but first 
> configured with a previous version of CMake ... ?
>
>
> D
>
>
>
This is a completely fresh install of ITK on a newly upgraded machine, 
that is, starting from the tar ball/ I keep the settings to a minimum, 
following the instructions for python wrapping.

Is the '-rc4' in the cmake version number causing the problem?

Peter

_____________________________________
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.php

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



More information about the Community mailing list