[vtkusers] Failing VTK 6.1.1 build with Tk/Python on OSX 10.9.4

Jens linucks42 at gmail.com
Sun Sep 14 16:57:35 EDT 2014


Hi,

I'm trying to build VTK 6.1.1 with the Tk and Python bindings on OSX
10.9.4, with cmake 3.0.2 and At 5.3.1.

The build is failing with:

/usr/bin/c++    -g -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
-dynamiclib -Wl,-headerpad_max_install_names    -compatibility_version
1.0.0 -current_version 1.0.0 -o ../../lib/libvtkCommonCoreTCL-6.1.1.dylib
-install_name /opt/VTK-6.1.0/build/lib/libvtkCommonCoreTCL-6.1.1.dylib

...snip...

CMakeFiles/vtkCommonCoreTCL.dir/vtkTypeFloat64ArrayTcl.cxx.o
CMakeFiles/vtkCommonCoreTCL.dir/vtkCommonCoreTCLInit.cxx.o
CMakeFiles/vtkCommonCoreTCL.dir/__/__/Wrapping/Tcl/vtkTclUtil.cxx.o
../../lib/libvtkCommonCore-6.1.1.dylib ../../lib/libvtksys-6.1.1.dylib
-framework tcl -lm

Undefined symbols for architecture x86_64:

  "_Tcl_GetErrorLine", referenced from:

      vtkTclVoidFunc(void*) in vtkTclUtil.cxx.o

      vtkTclCommand::Execute(vtkObject*, unsigned long, void*) in
vtkTclUtil.cxx.o

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see
invocation)

make[2]: *** [lib/libvtkCommonCoreTCL-6.1.1.dylib] Error 1

make[1]: *** [Common/Core/CMakeFiles/vtkCommonCoreTCL.dir/all] Error 2


Can anyone suggest a workaround?


Best wishes,


Jens
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140914/62456495/attachment-0001.html>


More information about the vtkusers mailing list