[ITK Community] [Insight-users] Crashing in debug mode

John Drescher drescherjm at gmail.com
Tue Dec 31 11:30:24 EST 2013


On Tue, Dec 31, 2013 at 11:16 AM, Kent Ogden <ogdenk at upstate.edu> wrote:
> Hi,
>
> I have downloaded the new ITK release and built it using VS 2012 on Win7 64
> bit.  I have already downloaded and built VTK.  I build ITK and VTK with
> Shared libraries on, and ITKVTKGlue enabled in ITK.  I also have TCL
> wrapping turned on for VTK, but no wrapping in ITK.
>
> If I try something simple, such as the Quickview example, it will build and
> run ok in release mode.  If I try running anything in debug mode, it will
> crash at the first filter/reader Update() call with an access violation.
>
> Any thoughts on what I may be doing wrong?
>

Do not use the INSTALL target if you want to use debug and release
configurations. Instead just build all. And when you configure your
CMake generated project for your application set the ITK_DIR and
VTK_DIR to be the root folder of the build tree. Since you built dlls
you will have to copy these to your applications debug and release
folder.

John
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-users


More information about the Community mailing list