[vtkusers] VTK 5.6.0 Cmake Errors

John Drescher drescherjm at gmail.com
Thu Jun 17 11:00:44 EDT 2010


On Thu, Jun 17, 2010 at 10:22 AM, Scott Johnson
<Scott.Johnson at neuwave.com> wrote:
> I just cracked open the vtk-5.6.0.zip file into a directory, pointed CMake at it, and tried to configure it.  I turned on BUILD_SHARED_LIBS, VTK_USE_GUISUPPORT, VTK_USE_RENDERING, VTK_WRAP_PYTHON, and VTK_WRAP_TCL.
>
> I'm trying to build the vtk libraries, both release and debug, to use for my development.  I haven't been able to find a source for pre-made versions of these.
>
> What I've done in the past is build in one directory then use the INSTALL target to move the libraries to the C:\Program Files\VTK.  I have specified to build the binaries in i:/VTK5.6.0/Binaries.  I think that qualifies as not building 'insource'.
>

You should set the build tree to a place outside the source in
CMake-gui. With CMake it is standard practice to do this for all
projects so this is the most tested configuration. For me it allows me
to build VTK/ITK and my applications ... for multiple compilers
(vs2005, vs2008 32 and 64 bit) with a single source folder and
separate build folders for each compiler.

John



More information about the vtkusers mailing list