Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Does VTK support Tcl/Tk 8.4 ?

support tcl tk VTK
0
Posted

Does VTK support Tcl/Tk 8.4 ?

0

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.