[vtkusers] installing vtk-5.0
Kaveh Yousefi
kaveh_y at yahoo.com
Sun Feb 18 14:22:55 EST 2007
Dear VTK Users,
can you help me with this:
I'm trying to install VTK 5.0 on Mac OS X,
1/ i installed Cmake, got vtk 5.0 from cvs,
2/ i made necessary changes on CMakeCache.txt,
(BUILD_SHARED_LIBS:BOOL=ON)
3/ i use make and it went up to 100% with no error
4/ got the VTKData as well
5/ installed TCL/TK
6/ set these two on~ /.tcshrc: setenv TCLLIBPATH "/Develop/osxBin/
Wrapping/Tcl"
setenv VTK_ROOT_DATA "/Develop/VTKDATA"
7/ i again changed CMakeCache.txt: (VTK_WRAP_TCL:BOOL=ON)
8/ I added these to CmakeCache.txt: / set path to the tcl 0header files
TCL_INCLUDE_PATH:PATH=/Library/Frameworks/Tcl.framework/Headers
// set path to Tcl libraries
TCL_LIBRARY:FILEPATH=-framework Tcl
// set to the tclsh file.
TCL_TCLSH:FILEPATH=/Applications/Utilities/Wish\ Shell.app/
Contents/MacOS/Wish\ Shell
// set the path to the tk.h header file
TK_INCLUDE_PATH:PATH=/Library/Frameworks/Tk.framework/Headers
// set the path to the Tk libraries
TK_LIBRARY:FILEPATH=-framework Tk
9/ when I tried to use make after running cmake again it went up to
10% then gave me this error:
[ 10%] Building CXX object Common/CMakeFiles/vtkCommonTCL.dir/
vtkCommonTCLInit.o
[ 10%] Building CXX object Common/CMakeFiles/vtkCommonTCL.dir/
vtkTclUtil.o
Linking CXX shared library ../bin/libvtkCommonTCL.dylib
ld: Undefined symbols:
_Tcl_AppendResult
_Tcl_DeleteCommand
_Tcl_GetDouble
_Tcl_GetInt
_Tcl_ResetResult
_Tcl_SetResult
_Tcl_CreateCommand
_Tcl_CreateExitHandler
_Tcl_InitHashTable
_Tcl_PkgProvide
_Tcl_SetAssocData
_Tcl_CreateInterp
_Tcl_DeleteHashEntry
_Tcl_DeleteInterp
_Tcl_EvalEx
_Tcl_FindExecutable
_Tcl_FirstHashEntry
_Tcl_GetAssocData
_Tcl_GetCommandInfo
_Tcl_GetNameOfExecutable
_Tcl_GetVar
_Tcl_NextHashEntry
_Tcl_SetCommandInfo
_Tcl_SetVar
/usr/bin/libtool: internal link edit command failed
make[2]: *** [bin/libvtkCommonTCL.5.1.0.dylib] Error 1
make[1]: *** [Common/CMakeFiles/vtkCommonTCL.dir/all] Error 2
make: *** [all] Error 2
Please help me with that as I have no idea what t o do
Many thanks in advance
Kaveh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070218/f8d56311/attachment.htm>
More information about the vtkusers
mailing list