[Insight-users] help errors running itk/vtk example

Twa, Michael MTwa at optometry.osu.edu
Fri Jan 27 17:57:18 EST 2006


I am using VC7.1 on winXP and (believe) I have successfully built the
VTK/ITK/Insight Applications. I am now trying to run the example given
(http://www.itk.org/CourseWare/Training/GettingStarted-II.pdf) When I get the
proper header files included and project made I try to build and get the
following errors. Any help trouble shooting this would be appreciated.

Cheers,

Michael

Compiling...
myProject.cxx
\VSprojects\myProject\myProject.cxx(17) : error C2039: 'Pointerreader' : is
not a member of 'itk::ImageFileReader<TOutputImage>'
        with
        [
            TOutputImage=ImageType
        ]
\VSprojects\myProject\myProject.cxx(17) : error C2065: 'Pointerreader' :
undeclared identifier
\VSprojects\myProject\myProject.cxx(18) : error C2039: 'Pointerconnector' :
is not a member of 'itk::ImageToVTKImageFilter<TInputImage>'
        with
        [
            TInputImage=ImageType
        ]
\VSprojects\myProject\myProject.cxx(18) : error C2065: 'Pointerconnector' :
undeclared identifier
\VSprojects\myProject\myProject.cxx(19) : error C2065: 'reader' : undeclared
identifier
\VSprojects\myProject\myProject.cxx(19) : error C2227: left of
'->SetFileName' must point to class/struct/union
        type is ''unknown-type''
\VSprojects\myProject\myProject.cxx(20) : error C2065: 'connector' :
undeclared identifier
\VSprojects\myProject\myProject.cxx(20) : error C2227: left of '->SetInput'
must point to class/struct/union
        type is ''unknown-type''
\VSprojects\myProject\myProject.cxx(20) : error C2227: left of '->GetOutput'
must point to class/struct/union
        type is ''unknown-type''
\VSprojects\myProject\myProject.cxx(20) : error C3861: 'reader': identifier
not found, even with argument-dependent lookup
\VSprojects\myProject\myProject.cxx(25) : error C2227: left of '->GetOutput'
must point to class/struct/union
        type is ''unknown-type''
\VSprojects\myProject\myProject.cxx(25) : error C3861: 'connector':
identifier not found, even with argument-dependent lookup

Build log was saved at
"file://c:\VSprojects\myProject\bin\Debug\BuildLog.htm"
myProject - 12 error(s), 0 warning(s)




More information about the Insight-users mailing list