[Insight-users] using cmake GUI to set up a VTK project

John Drescher drescherjm at gmail.com
Tue Oct 23 13:03:35 EDT 2012


On Tue, Oct 23, 2012 at 12:57 PM, Ronny Shalev <rys at case.edu> wrote:
> Thanks very much !!

When you build from source I recommend that you disable building VTK
shared libraries and also do not install VTK in program files. Instead
set VTK_DIR to your build folder for VTK when you build applications
based on VTK. This way you will be able to use both Debug and Release
builds safely. The basic reason is you can not safely use Release DLLs
in a Debug program or Debug DLLs in a Release program since the Visual
Studio debug CRT and release CRT are incompatible.

John


More information about the Insight-users mailing list