[vtkusers] Error while compiling vtk-5.3.x, tcltk-8.5.4 and Qt-4.5.x with cocoa 64-bit support

Elvis Dowson elvis.dowson at mac.com
Tue Oct 21 18:32:57 EDT 2008


Hi,
          I get an error when trying to generate the Tcl wrapping for  
vtk-5.3.x using TclTk-8.5.4 and Qt-4.5.x. I have set it to compile for  
64-bits and Cocoa support (both VTK and Qt).  I don't have any  
problems if I just generate the C++ libraries with no Tcl wrapping.  
The problem only arises when I set Tcl wrappings on.

The problem appears to be because TclTk-8.5.4 is missing some files  
required for x86_64 architecture.

How can I fix this? I am using the ActiveTcl-8.5.4 pre-compiled binary.

Compiling the TclTk-8.5.4 from the sources always results in a error  
at the last steps for the documentation and I wasn't so successful at  
getting Tk to compile for 64-bits.

Here is an excerpt from the make command.

Best regards,

Elvis Dowson

Some warnings ...

[ 13%] Building C object Utilities/vtktiff/CMakeFiles/vtktiff.dir/ 
tif_unix.o
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/vtktiff/tif_unix.c: In  
function '_tiffReadProc':
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/vtktiff/tif_unix.c:58:  
warning: cast from pointer to integer of different size
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/vtktiff/tif_unix.c: In  
function '_tiffWriteProc':
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/vtktiff/tif_unix.c:64:  
warning: cast from pointer to integer of different size
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/vtktiff/tif_unix.c: In  
function '_tiffSeekProc':
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/vtktiff/tif_unix.c:70:  
warning: cast from pointer to integer of different size
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/vtktiff/tif_unix.c: In  
function '_tiffCloseProc':
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/vtktiff/tif_unix.c:76:  
warning: cast from pointer to integer of different size
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/vtktiff/tif_unix.c: In  
function '_tiffSizeProc':
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/vtktiff/tif_unix.c:88:  
warning: cast from pointer to integer of different size
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/vtktiff/tif_unix.c: In  
function '_tiffMapProc':
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/vtktiff/tif_unix.c:101:  
warning: cast from pointer to integer of different size
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/vtktiff/tif_unix.c: In  
function 'vtk_TIFFFdOpen':
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/vtktiff/tif_unix.c:140:  
warning: cast to pointer from integer of different size
[ 13%] Building C object Utilities/vtktiff/CMakeFiles/vtktiff.dir/ 
tif_fax3sm.o
[ 13%] Building CXX object Common/CMakeFiles/vtkCommon.dir/ 
vtkUnsignedIntArray.o


Linking CXX shared library ../bin/libvtkCommonTCL.dylib
[ 24%] Building CXX object Filtering/CMakeFiles/vtkFiltering.dir/ 
vtkQuadraticPyramid.o
ld warning: in /Developer/SDKs/MacOSX10.5.sdk/Library/Frameworks// 
tcl.framework/tcl, missing required architecture x86_64 in file
Undefined symbols:
   "_Tcl_DStringFree", referenced from:
       vtkAbstractArrayCppCommand(vtkAbstractArray*, Tcl_Interp*, int,  
char**)in vtkAbstractArrayTcl.o
       vtkAbstractArrayCppCommand(vtkAbstractArray*, Tcl_Interp*, int,  
char**)in vtkAbstractArrayTcl.o
       vtkAbstractArrayCppCommand(vtkAbstractArray*, Tcl_Interp*, int,  
char**)in vtkAbstractArrayTcl.o
       vtkAbstractArrayCppCommand(vtkAbstractArray*, Tcl_Interp*, int,  
char**)in vtkAbstractArrayTcl.o
       vtkAbstractArrayCppCommand(vtkAbstractArray*, Tcl_Interp*, int,  
char**)in vtkAbstractArrayTcl.o
       vtkAbstractArrayCppCommand(vtkAbstractArray*, Tcl_Interp*, int,  
char**)in vtkAbstractArrayTcl.o
       vtkAbstractArrayCppCommand(vtkAbstractArray*, Tcl_Interp*, int,  
char**)in vtkAbstractArrayTcl.o
       vtkAbstractArrayCppCommand(vtkAbstractArray*, Tcl_Interp*, int,  
char**)in vtkAbstractArrayTcl.o
       vtkAbstractArrayCppCommand(vtkAbstractArray*, Tcl_Interp*, int,  
char**)in vtkAbstractArrayTcl.o
       vtkAbstractArrayCppCommand(vtkAbstractArray*, Tcl_Interp*, int,  
char**)in vtkAbstractArrayTcl.o



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081022/e08c3ccf/attachment.htm>


More information about the vtkusers mailing list