[Insight-users] Help on itkwikiexample

John Drescher drescherjm at gmail.com
Fri Jun 24 10:34:41 EDT 2011


On Fri, Jun 24, 2011 at 10:30 AM, faba <faba_ir at yahoo.com> wrote:
> Dear Friends,
> Thanks a lot for your valuable comments.
> These are what I have done after your suggestions:
>
> 1- I activated the option ITK_USE_REVIEW and built and complied ITK again.
> 2- I changed in the main CMakeLists.txt of itkwikiexample as
> set(ITK_LIBRARIES ${ITK_LIBRARIES};ITKReview)
> to
> set(ITK_LIBRARIES ${ITK_LIBRARIES})
> 3- And built itkwikiexample again correctly.
>
> when I compile it using VS 2008 the previous error (fatal error: cannot open
> file 'ITKReview.lib') is removed but a worse one is giving me 156 error as
> following error:
>
> LINK : fatal error LNK1104: cannot open file 'vtkHybrid.lib'
>

Check your vtk build to see if that lib exists. If so make sure you
have VTK_DIR set properly (for itkwikiexamples)  to the location that
you built vtk in.

John


More information about the Insight-users mailing list