[Insight-developers] SoftwareGuide CMake build error --
pleas e help.
Bill Hoffman
bill.hoffman@kitware.com
Tue, 21 Jan 2003 11:40:06 -0500
This should be done with an IF statement, since cmake 1.6 is not yet out of beta,
we can not require it for ITK. We can put something like this:
IF(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 1.4)
SUBDIRS(stuff that needs 1.6)
ENDIF(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 1.4)
At 11:07 AM 1/21/2003 -0500, Miller, James V (Research) wrote:
>Luis,
>
>You should add a CMAKE_MINIMUM_REQUIRED_VERSION in the CMakeLists.txt if the documentation requires a
>particular version of CMake.
>
>Jim
>
>
>
>> -----Original Message-----
>> From: Luis Ibanez [mailto:luis.ibanez@kitware.com]
>> Sent: Tuesday, January 21, 2003 10:59 AM
>> To: Jisung Kim
>> Cc: insight-dev-list
>> Subject: Re: [Insight-developers] SoftwareGuide CMake build error --
>> please help.
>>
>>
>>
>> Hi Jisung,
>>
>>
>> You will need CMake 1.6 (updated from CVS)
>> to build the documentation.
>>
>>
>> The support for Latex was added in the
>> module
>>
>> FindLATEX.cmake
>>
>> You are probably ok with RedHat 8.0 since
>> it should have a recent version of Ghostscript.
>> (version 8.0 is required for creating the
>> right PDF compatible with Acrobat 5.0).
>>
>> Let me know if you have any problems,
>>
>>
>> Luis
>>
>>
>> -----------------------------------------
>>
>>
>> Jisung Kim wrote:
>>
>> > Hi.
>> >
>> > I am trying to create a part of SoftwareGuide about
>> > ITK Statistics. I am having some cmake errors.
>> >
>> > I am using Redhat 8.0 and CMake 1.4 - patch 7.
>> >
>> > I couldn't find the FindImageMagick.cmake file
>> > in any directory.
>> >
>> > If anyone know how to build the Software guide,
>> > please help me.
>> >
>> > ===============
>> > Perl executable was not found
>> >
>> > CMake Error: INCLUDE: Error :
>> > INCLUDE Could not find include file:
>> > /usr/local/share/CMake/Modules/FindImageMagick.cmake
>> > from CMakeLists.txt file
>> > in directory:
>> > /share/work/docs/InsightDocuments/SoftwareGuide/Art
>> >
>> > CMake Error: ADD_CUSTOM_COMMAND: Error :
>> > ADD_CUSTOM_COMMAND Wrong syntax. Empty COMMAND. from
>> > CMakeLists.txt file in
>> > directory:
>> > /share/work/docs/InsightDocuments/SoftwareGuide/Art
>> >
>> > CMake Error: ADD_CUSTOM_COMMAND: Error :
>> > ADD_CUSTOM_COMMAND Wrong syntax. Empty COMMAND. from
>> > CMakeLists.txt file in
>> > directory:
>> > /share/work/docs/InsightDocuments/SoftwareGuide/Art
>> >
>> > CMake Error: ADD_CUSTOM_COMMAND: Error :
>> > ADD_CUSTOM_COMMAND Wrong syntax. Empty COMMAND. from
>> > CMakeLists.txt file in
>> > directory:
>> > /share/work/docs/InsightDocuments/SoftwareGuide/Art
>> > ==========
>> >
>> >
>> > =====
>> > Jisung Kim
>> > bahrahm@yahoo.com
>> > 106 Mason Farm Rd.
>> > 129 Radiology Research Lab., CB# 7515
>> > Univ. of North Carolina at Chapel Hill
>> > Chapel Hill, NC 27599-7515
>> >
>> > __________________________________________________
>> > Do you Yahoo!?
>> > Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
>> > http://mailplus.yahoo.com
>> > _______________________________________________
>> > Insight-developers mailing list
>> > Insight-developers@public.kitware.com
>> > http://public.kitware.com/mailman/listinfo/insight-developers
>> >
>> >
>>
>>
>>
>> _______________________________________________
>> Insight-developers mailing list
>> Insight-developers@public.kitware.com
>> http://public.kitware.com/mailman/listinfo/insight-developers
>>
>_______________________________________________
>Insight-developers mailing list
>Insight-developers@public.kitware.com
>http://public.kitware.com/mailman/listinfo/insight-developers