Errors when building Statismo examples

30 views
Skip to first unread message

Maia

unread,
Sep 8, 2018, 12:29:15 AM9/8/18
to statismo
Hi,

I am a new user of Statismo and ITK/VTK/Cmake as well.

I managed to build Satismo with the Superbuild (Windows 7, Visual Studio 2013). I didn't have ITK nor VTK on my computer so everything I think so, was built.

I tried some simple VTK examples from:
C:\statismo-build\VTK\Examples|Cone.cxx

and everything was OK, except that I needed to put find_package(VTK REQUIRED) instead of the lines provided in the zip file.

The problem is that when I tried a VTK example from: https://github.com/statismo/statismo/tree/master/modules/VTK/examples

I could generate without error in CMake but when I build with Visual Studio, I got those errors.
=========
Error C1083: Cannot open include file: 'boost/scoped_ptr.hpp': No such file or director   ...\Visual Studio 2013\Projects\statismo1\src\vtkBasicSamplingExample.cxx 39 1 vtkBasicSamplingExample
=========

Also, when trying to build another example from: https://github.com/statismo/statismo-build-examples

I got this error:
Error C1083: Cannot open include file: 'itk_hdf5.h': No such file or directory c:\statismo-build\install\include\itk-4.10\itkhdf5\cpp\H5Include.h 17 1  statismo-vtk-build-example
========================

NB: I already put Statismo\Install\bin in Path.

Could you help me to find why I got those errors, please.

Thank you a lot,
Maia
Reply all
Reply to author
Forward
0 new messages