[Insight-users] xxxxxSPAMxxxxx problem compiling ITK + VTK

Luis Ibanez luis.ibanez at kitware.com
Tue May 25 13:46:20 EDT 2010


Hi Shuo

What versions of ITK, VTK and CMake are you using ?

I don't think that the flag

    VTK_USE_ANSI_STDLIB

is still needed in VTK...


Please let us know about your versions.



    Thanks


          Luis


------------------------------------------------------
2010/5/10 董硕 <sure_dong at hotmail.com>:
> I'm pretty new to ITK. I checked out some resources on how to build ITK +
> VTK,
> but I've got some problem.
>
> I build VTK with VTK_USE_ANSI_STDLIB = ON
> configuring ITK with CMake without problem.
> using downloadable version of ITK
> using VisualStudio 6 (I'm sorry that's such an old version...)
> when I build InsightApplications I always get the following error in the
> vtk2itk
> project.
> Thanks a lot for any light on it!
>
>
> --------------------Configuration: vtk2itk - Win32 Debug--------------------
> Linking...
> vtk2itk.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: void __thiscall vtkObjectBase::Print(class
> std::basic_ostream<char,struct std::char_traits<char> > &)"
> (__imp_?Print at vtkObjectBase@@QAEXAAV?$basic_ostream at DU?$cha
> r_traits at D@std@@@std@@@Z)
> C:\ITK\bin\bin\Debug/vtk2itk.exe : fatal error LNK1120: 1 unresolved
> externals
> Error executing link.exe.
>
>
> Best regards,
> Shuo Dong
>
> _____________________________________
> 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.html
>
> 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
>
>


More information about the Insight-users mailing list