[Insight-users] making ITK registration calls into a library to be called by C++

ronn kling ronn at rlkling.com
Fri Feb 22 15:49:59 EST 2013


Let me be clearer.

My standalone C++ has to be independent from ITK where the only header to
be loaded is the one defining the routines in the ITK lib file that I made.

So I am looking for an example with no main program and the only Cmake
output is a library, in my case a library that I am calling ITKregister.lib

On Fri, Feb 22, 2013 at 3:45 PM, Bill Lorensen <bill.lorensen at gmail.com>wrote:

> There are lots of examples here:
> http://www.itk.org/Wiki/ITK/Examples
>
> They each have a CMakeLists.txt file.
>
> For example look at:
> http://www.itk.org/Wiki/ITK/Examples/Images/ShrinkImageFilter
> You can download a tar file that contains this single example. The bottom
> of the wiki page tells how.
>
>
> On Fri, Feb 22, 2013 at 3:20 PM, ronn kling <rlkling at gmail.com> wrote:
>
>> All,
>>  So I'm getting smarter on all this ITK stuff and I realize that my
>> previous problem is due to my making the ITK library with Visual Studio
>> 2010 and not CMake. So my question is, does anyone have CMake examples of
>> making a library of ITK functions to be called by another C++ routine? I
>> don't know cMake at all.....
>>
>>  -Ronn
>>
>> _____________________________________
>> 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
>>
>>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20130222/3a105db0/attachment.htm>


More information about the Insight-users mailing list