[ITK Community] Error in ITKWikiExamples compilation

Alok alok.theanomaly at gmail.com
Mon Feb 17 15:43:16 EST 2014


Hi Matt,

Sorry I hit Send accidentally earlier.
Here are the details - ITKWikiExamples-4.5. I am currently using ITK-4.3.1

Compile error:

In file included from
/home/alok/Documents/ITKWikiExamples/IO/TestTransformFileReader.cxx:2:0:
/home/alok/Downloads/InsightWikiExamples-4.5.0/IO/TransformFileReader.cxx:
In function 'int TestTransformFileReader(int, char**)':
/home/alok/Downloads/InsightWikiExamples-4.5.0/IO/TransformFileReader.cxx:25:3:
 *error: 'reader' was not declared in this scope*
make[2]: *** [IO/CMakeFiles/IOCxxTests.dir/TestTransformFileReader.cxx.o]
Error 1
make[1]: *** [IO/CMakeFiles/IOCxxTests.dir/all] Error 2


On checking the source (TransformFileReader.cxx), I found there is a #if
#else directive that is checking for the Version no. of library which looks
incorrect.

Alok


On Mon, Feb 17, 2014 at 3:39 PM, Matt McCormick
<matt.mccormick at kitware.com>wrote:

> Hi Alok,
>
> Which version?
>
> It looks like the error was omitted from the previous message.
>
> Thanks,
> Matt
>
> On Mon, Feb 17, 2014 at 3:36 PM, Alok <alok.theanomaly at gmail.com> wrote:
> > Hi all,
> >
> > While trying to compile  ITKWIkiExamples I am getting an error:
> >
> >
> > --
> > I live a simple life...  in 0s and 1s !
> >
> > _______________________________________________
> > Community mailing list
> > Community at itk.org
> > http://public.kitware.com/cgi-bin/mailman/listinfo/community
> >
>



-- 
I live a simple life...  in 0s and 1s !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140217/11cd5cd6/attachment-0002.html>


More information about the Community mailing list