Dear Haim,
 it looks like CMake cannot locate Python. You should point it to where you 
have a Python.h file.
Usually Python under Windows is in
C:\Python27
and the include directory is
C:\Python27\include
I believe this is where CMake is looking for it. I tested this under Windows 7 
as well and it's working for me.

Do you happen to have Python installed in a different location?


Luca


On Apr 6, 2012, at 10:07 AM, Haim Ezer wrote:

> Dear Luca, All,
> 
> While trying to compile the VMTK, 
> Win 7 x 64, visual studio 10, python 2.7,latest git and cmake.
> 
> I get:
> 
> CUSTOMBUILD : CMake error : The following variables are used in this project, 
> but they are set to NOTFOUND.
> 4>  Please set them or make sure they are set and tested correctly in the 
> CMake files:
> 4>  PYTHON_INCLUDE_DIR
> 4>     used as include directory in directory C:/VMTK/clone/vtkVmtk
> 4>     used as include directory in directory C:/VMTK/clone/vtkVmtk/Common
> 4>     used as include directory in directory 
> C:/VMTK/clone/vtkVmtk/ComputationalGeometry
> 4>     used as include directory in directory 
> C:/VMTK/clone/vtkVmtk/DifferentialGeometry
> 4>     used as include directory in directory C:/VMTK/clone/vtkVmtk/IO
> 4>     used as include directory in directory C:/VMTK/clone/vtkVmtk/Misc
> 4>     used as include directory in directory 
> C:/VMTK/clone/vtkVmtk/Segmentation
> 4>     used as include directory in directory C:/VMTK/clone/vtkVmtk/Utilities
> 4>     used as include directory in directory C:/VMTK/clone/vtkVmtk/Contrib
> 4>     used as include directory in directory 
> C:/VMTK/clone/vtkVmtk/Utilities/Doxygen
> 4>     used as include directory in directory 
> C:/VMTK/clone/vtkVmtk/Utilities/OpenNL
> 4>     used as include directory in directory 
> C:/VMTK/clone/vtkVmtk/Utilities/vtkvmtkITK
> 4>     used as include directory in directory 
> C:/VMTK/clone/vtkVmtk/Utilities/tetgen1.4.3
> 4>  
> 4>  -- Configuring incomplete, errors occurred!
> 4>
> 4>Build FAILED.
> 
> any help will be appreciated
> 
> Thanks
> Haim
> ------------------------------------------------------------------------------
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2_______________________________________________
> vmtk-users mailing list
> vmtk-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/vmtk-users

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
vmtk-users mailing list
vmtk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vmtk-users

Reply via email to