[ITK] [ITK-users] Running an ITK program

Abdul Abdul abdul.sw84 at gmail.com
Wed Oct 29 06:09:21 EDT 2014


I will build VTK. But, the main issue is on the steps to follow to run an
ITK program. Does that make sense?

For instance, should I create "source" and "build" directories? When I run
CMake, what should I do? ....etc

Sorry I'm new to this.

Thanks.

On Tue, Oct 28, 2014 at 5:24 PM, Bill Lorensen <bill.lorensen at gmail.com>
wrote:

> That particular examples requires VTK. Have you built VTK also?
>
>
> On Tue, Oct 28, 2014 at 11:46 AM, Abdul Abdul <abdul.sw84 at gmail.com>
> wrote:
>
>> It seems it is to do with the package. I got the CMakeLists.txt from the
>> link I showed in my question. What would be a suitable CMakeLists.txt to
>> use here?
>>
>> On Tue, Oct 28, 2014 at 4:44 PM, Abdul Abdul <abdul.sw84 at gmail.com>
>> wrote:
>>
>>> I made a "src" and "bin" directories. When I configure using CMake, this
>>> is what I get in "red":
>>>
>>> CMake Error at CMakeLists.txt:11 (find_package):
>>> By not providing "FindItkVtkGlue.cmake" in CMAKE_MODULE_PATH this project
>>> has asked CMake to find a package configuration file provided by
>>> "ItkVtkGlue", but CMake did not find one.
>>>
>>> Could not find a package configuration file provided by "ItkVtkGlue" with
>>> any of the following names:
>>>
>>> ItkVtkGlueConfig.cmake
>>> itkvtkglue-config.cmake
>>>
>>> Add the installation prefix of "ItkVtkGlue" to CMAKE_PREFIX_PATH or set
>>> "ItkVtkGlue_DIR" to a directory containing one of the above files. If
>>> "ItkVtkGlue" provides a separate development package or SDK, be sure it
>>> has
>>> been installed.
>>>
>>> On Tue, Oct 28, 2014 at 4:37 PM, Abdul Abdul <abdul.sw84 at gmail.com>
>>> wrote:
>>>
>>>> David,
>>>>
>>>> Thanks for your reply.
>>>>
>>>> I went to the following steps:
>>>> Windows
>>>>
>>>>    1. Open CMake
>>>>    2. Select your CMakeLists.txt file
>>>>    3. Select your build system
>>>>    4. Click "Generate"
>>>>
>>>> But, it is not clear. I opened CMake, and selected CMakeLists.txt as
>>>> the source file, and the directory where my main program is in as the
>>>> "build" directory, but get the following error:
>>>>
>>>>
>>>>>>>>
>>>>
>>>>
>>>>
>>>> On Tue, Oct 28, 2014 at 4:17 PM, David Doria <daviddoria at gmail.com>
>>>> wrote:
>>>>
>>>>> On Tue, Oct 28, 2014 at 11:12 AM, Abdul Abdul <abdul.sw84 at gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I'm new to ITK. I have installed ITK, and want to run the example
>>>>>> here: http://www.itk.org/Wiki/ITK/Examples/IO/ImageFileReader
>>>>>>
>>>>>> How can I do that? Should the files be in the same directory of ITK?
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>
>>>>> Please see this page to get started:
>>>>>
>>>>> http://www.itk.org/Wiki/ITK/Examples/Instructions/ForUsers
>>>>>
>>>>> Let us know if you have any questions.
>>>>>
>>>>> David
>>>>>
>>>>
>>>>
>>>
>>
>> _____________________________________
>> 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://public.kitware.com/mailman/listinfo/insight-users
>>
>>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20141029/92348463/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Capture.PNG
Type: image/png
Size: 9923 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/community/attachments/20141029/92348463/attachment.png>
-------------- next part --------------
_____________________________________
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://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list