[vtkusers] Error in VTK Installation

Barth, Sebastian sebastian.barth at iosb.fraunhofer.de
Tue Jun 22 08:20:04 EDT 2010


please use "answer all" if you want to answer. Otherwise your answer will not be visible on the vtkuser mailing list!

I don't know enough about cmake, sorry. But I recommend to use the cmake-gui that comes with cmake, to generate the installation.

Good luck,

Von: Preeti Bindu [mailto:preetibindu at gmail.com]
Gesendet: Dienstag, 22. Juni 2010 13:40
An: Barth, Sebastian
Betreff: Re: [vtkusers] Error in VTK Installation


There is one more thing. As per the tutorial the 'make install' copies all the header files at


So I tried finding this location and got to know that in my VTKBuild I have multiple copies of the same file. For ex. flags.make has 50 copies?!?!?! So does the include folder! and none of them really has the vtk-5.1 directory.

On Tue, Jun 22, 2010 at 7:30 AM, Preeti Bindu <preetibindu at gmail.com<mailto:preetibindu at gmail.com>> wrote:

I got that fixed. But there is a new issue now!

After the 'make' when I say 'make install' it completes the process but with following error.

CMake Error at cmake_install.cmake:31 (FILE):
  file INSTALL destination: ~/Development/VTKBuild/lib/vtk-5.6 is not a

make: *** [install] Error 1

And then when I try building the SimpleCocoaVTK project I get the following error:

Check dependencies

[BEROR]error: There is no SDK with the name or path '/Developer/SDKs/MacOSX10.4u.sdk'

I am pretty sure these are co-related. But am just unable to find out how... :|

Thanks anyway,

On Tue, Jun 22, 2010 at 3:11 AM, Barth, Sebastian <sebastian.barth at iosb.fraunhofer.de<mailto:sebastian.barth at iosb.fraunhofer.de>> wrote:

I'm not a Mac OS/X user but it's similar to linux systems. Everything in your own risk!

Try this command in terminal, it should list these files if they are installed on your pc:
   locate stdio.h stdlib.h string.h | grep include

If the files will be listed, you may have to add their path to your environment path. Don't know anything about this, but a short google search will solve this problem.

What I found out is that these tools are installing the needed files into /usr/include/ dir on your mac:

I hope this helps!
Good luck!

Sebastian Barth

Von: vtkusers-bounces at vtk.org<mailto:vtkusers-bounces at vtk.org> [mailto:vtkusers-bounces at vtk.org<mailto:vtkusers-bounces at vtk.org>] Im Auftrag von Preeti Bindu
Gesendet: Montag, 21. Juni 2010 20:24
An: vtkusers at vtk.org<mailto:vtkusers at vtk.org>
Betreff: [vtkusers] Error in VTK Installation

I am installing VTK on my MAC OS X as per the step by step instructions given in the tutorial.

I have first installed the CMake. Then created the directory VTKBuild as instructed. Everything goes fine.

I made the changes in CMakeCache.txt

on cmake ../VTK all build files get written to VKBuild.

But it gives error on make.

There are many errors of the form:

/Users/pebble/Development/VTK/Utilities/kwsys/ProcessUNIX.c:50:39: error: stddef.h: No such file or directory
/Users/pebble/Development/VTK/Utilities/kwsys/ProcessUNIX.c:51:38: error: stdio.h: No such file or directory
/Users/pebble/Development/VTK/Utilities/kwsys/ProcessUNIX.c:52:42: error: stdlib.h: No such file or directory
/Users/pebble/Development/VTK/Utilities/kwsys/ProcessUNIX.c:53:54: error: string.h: No such file or directory
/Users/pebble/Development/VTK/Utilities/kwsys/ProcessUNIX.c:54:44: error: sys/time.h: No such file or directory
/Users/pebble/Development/VTK/Utilities/kwsys/ProcessUNIX.c:55:43: error: sys/types.h: No such file or directory
/Users/pebble/Development/VTK/Utilities/kwsys/ProcessUNIX.c:56:37: error: sys/wait.h: No such file or directory

and so on...

Please tell me where am I going wrong.

Preeti Bindu

Preeti Bindu
MS Computer Science

Preeti Bindu
MS Computer Science
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100622/ccfdf7f1/attachment.htm>

More information about the vtkusers mailing list