[vtkusers] error compiling VTK40 on SuSE Linux 8.1
Sebastien BARRE
sebastien.barre at kitware.com
Thu Oct 10 10:43:27 EDT 2002
> > Hi Rainer
>
> > Which version of CMake are you using (including patch level).
> > Which version of Tcl/Tk is provided by Suse 8.1 ?
>
>I will answer to my own question :)
>I checked Suse web site, this Linux distrib comes with Tcl/Tk 8.4.
>CMake won't support it until you use the CVS version.
>As a matter of fact, you will have to use VTK CVS too.
Rainer, if you are willing to experiment, we can try the following.
Keep using VTK 4.0, and your current CMake (is it a release ?) and try any
of those:
a)
edit the top VTK/CMakeList.txt file and add *at the top*:
ADD_DEFINITIONS(
-DUSE_NON_CONST
-DUSE_COMPOSITELESS_PHOTO_PUT_BLOCK
)
or the less intrusive b)
Run your favorite CMake cache editor (i.e. CMakeSetup, or ccmake), show the
advanced values, and add the above flags to any of those (if they exist):
CMAKE_CXX_FLAGS
CMAKE_C_FLAGS
Thus, your CMAKE_CXX_FLAGS will probably look like:
-g -O2 -DUSE_NON_CONST -DUSE_COMPOSITELESS_PHOTO_PUT_BLOCK
Keep me posted if any of those work
--
Sebastien Barre
More information about the vtkusers
mailing list