Does VTK support Tcl/Tk 8.4 ?
Short answer: yes, but it might require some adjustments, depending on the VTK and CMake versions you are using. • The VTK 4.x CVS nightly/development distribution supports Tcl/Tk 8.4 as long as you use a release version of CMake > 1.4.5. Since VTK 4.2 will require CMake 1.6, the next release version will support Tcl/Tk 8.4. • The VTK 4.0 release distribution does not support Tcl/Tk 8.4 out-of-the-box. In either cases, the following solutions will adress the problem. This basically involves setting two definition symbols that will make Tcl/Tk 8.4 backward compatible with previous versions of Tcl/Tk (i.e. discard the “const correctness” and Tk_PhotoPutBlock compositing rule features) : a) Edit your C/C++ flags: Run your favorite CMake cache editor (i.e. CMakeSetup, or ccmake), display the advanced values and add the USE_NON_CONST and USE_COMPOSITELESS_PHOTO_PUT_BLOCK definition symbols to the end of any of the following CMake variables (if they exist): CMAKE_CXX_FLAGS, CMAKE_C_FLAGS.