[Insight-users] INSTALLATION OF ITK

Karthik Krishnan karthik.krishnan at kitware.com
Tue Jun 15 07:13:14 EDT 2010


We do have a machine that builds on VS10 without issues. (
http://www.cdash.org/CDash/buildSummary.php?buildid=636224)

What is the file that you changed from the cmake.org ? I presume its the
CMakeVs10FindMake.cmake ?

I suspect from the last error, (itkCheckCXXFlags thing not found) that you
are supplying the source tree as  :

  Insight/Code

The right source directory to supply is the top level source directory.

  Insight/


Am I right ? If that is so, please wipe out the build tree and start the
configuration / build process afresh .


Thanks
--
karthik



On Fri, Jun 11, 2010 at 10:18 AM, Karthik Palaniappan <
palaniappan.karthik at gmail.com> wrote:

> Hey Karthik,
>
> I located the source directory, the software guide was for a different
> version,so I might have missed something. Now moving on, I tried to
> configure with Visual Studio 10 after I changed one of the files as per the
> cmake.org website for the latest version of Visual Studio. When I tried to
> configure this is what I got,
>
> Check for working C compiler using: Visual Studio 10
>
> Check for working C compiler using: Visual Studio 10 -- works
>
> Detecting C compiler ABI info
>
> Detecting C compiler ABI info - done
>
> Check for working CXX compiler using: Visual Studio 10
>
> Check for working CXX compiler using: Visual Studio 10 -- works
>
> Detecting CXX compiler ABI info
>
> Detecting CXX compiler ABI info - done
>
> 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:167 (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!
>
>
> How do I proceed?
>
> Thanks
>
> On Thu, Jun 10, 2010 at 11:00 PM, Karthik Krishnan <
> karthik.krishnan at kitware.com> wrote:
>
>> On Fri, Jun 11, 2010 at 1:22 AM, Karthik Palaniappan <
>> palaniappan.karthik at gmail.com> wrote:
>>
>>>
>>> Hey Karthik,
>>>
>>> My name is Karthik too. I am an EE student and this is the first time I'm
>>> using ITK. All I was told by my professor was to get it up and running. I
>>> followed the procedure as per the software guide and I am having problems in
>>> the cmake building process.  I had installed borland5.5 and downloaded the
>>> ITK softwares from the website by filling in Borlan5.5 when asked what
>>> compiler I was using, in the form before downloading. I am not able to
>>> locate the correct source file because the directions in the software guide
>>> is for version 2.4 while I am using the latest version.
>>>
>>
>> There shouldn't be any differences in Getting started, or in the build
>> process itself. You would use CMake to point to the Source tree, ie the
>> directory that contains the top level CMakeLists.txt file,
>> GettingStarted.txt file etc...  Are you able to locate this directory.
>>
>> Here is a PPT that contains a series of step by step screenshots, (albiet
>> from an older version of CMake/ITK, but the instructions should be nearly
>> identical).
>>
>>    www.*itk*.org/CourseWare/Training/*GettingStarted*-I.pdf
>>
>> Also, please CC the list, so that others may chime in, with more helpful
>> answers.
>>
>>
>>> Can you tell me what I am missing?
>>>
>>> Thanks,
>>> Karthik
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100615/ccf53a38/attachment.htm>


More information about the Insight-users mailing list