[insight-users] first step problem!!!help!
方元元
fyy5581 at 163.com
Wed Mar 22 19:42:11 EST 2006
Hi,
I configured and build ITK and VTk as "Getting Started I", "Getting Started II" told me .The "HelloWorld" project works well.
Then I tried the "myProject" , there are 11 errors. The first one is
"<FONT color=#ff0066>error C2039: 'itkGradientMagnitudeImageFilter' : is not a member of 'itk'</FONT> " But I found the file 'itkGradientMagnitudeImageFilter.h' in itk I installed.
The other errors all about 'itkGradientMagnitudeImageFilter'.what 's the problem?
The examples in the VTK works well.But the project (use vtk)I made before I intall
the ITK cannot work. There are many errors :
"<BR><FONT color=#ff3366>vtkIO.lib(vtkDICOMImageReader.obj) : error LNK2001: unresolved external symbol <BR>"public: __thiscall DICOMAppHelper::DICOMAppHelper(void)" (??<BR></FONT><A href="mailto:0DICOMAppHelper@@QAE at XZ"><FONT color=#ff3366>0DICOMAppHelper@@QAE at XZ</FONT></A><FONT color=#ff3366>)<BR>vtkIO.lib(vtkDICOMImageReader.obj) : error LNK2001: unresolved external symbol <BR>"public: __thiscall DICOMParser::DICOMParser(void)" (</FONT><A href="mailto:??0DICOMParser@@QAE at XZ"><FONT color=#ff3366>??0DICOMParser@@QAE at XZ</FONT></A><FONT color=#ff3366>)<BR>vtkIO.lib(vtkDICOMImageReader.obj) : error LNK2001: unresolved external symbol <BR>"public: static bool __cdecl DICOMParser::IsDICOMFile(class DICOMFile *)" (?<BR></FONT><A href="mailto:IsDICOMFile at DICOMParser@@SA_NPAVDICOMFile@@@Z"><FONT color=#ff3366>IsDICOMFile at DICOMParser@@SA_NPAVDICOMFile@@@Z</FONT></A><FONT color=#ff3366>)<BR>vtkIO.lib(vtkDICOMImageReader.obj) : error LNK2001: unresolved external symbol <BR>"public: bool __thiscall DICOMParser::OpenFile(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)" (?<BR></FONT><A href="mailto:OpenFile at DICOMParser@@Q"><FONT color=#ff3366>OpenFile at DICOMParser@@Q</FONT></A><BR><A href="mailto:AE_NABV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@Z"><FONT color=#ff3366>AE_NABV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@Z</FONT></A><FONT color=#ff3366>)<BR></FONT>.......<BR>"
And the waring :
warning LNK4098: defaultlib "MSVCRT" conflicts with use of other libs; use
/NODEFAULTLIB:library
I compiled the .cxx examples in VTK, they can work, but also have the waring
above. How can I solve this problem?
I use vs6.0 +sp6 .(I found in the pdf, the compiler is vs.net. Is that the failed
reason?)
I build Vtk in win32 Release .
build ITK in win32 Debug .
I use windowXP operation system.And better not to change it.
I feel a little frustrated that I can not pass the first step :( Please help me.
Thank you very much!
vivian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20060323/032ca69e/attachment.html
More information about the Insight-users
mailing list