[vtkusers] Error in VTK Installation

Barth, Sebastian sebastian.barth at iosb.fraunhofer.de
Tue Jun 22 03:11:15 EDT 2010


Hi,

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:
http://developer.apple.com/technologies/tools/


I hope this helps!
Good luck!

Sebastian Barth



Von: 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
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.



-- 
Regards,
Preeti Bindu



More information about the vtkusers mailing list