<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 11.00.9600.16476"></HEAD>
<BODY style="FONT: 10pt Segoe UI; MARGIN: 4px 4px 1px">
<DIV>John,</DIV>
<DIV> </DIV>
<DIV>Thanks for that, it works now.  What I actually did was to leave my system path set to point to the release dll's, and put the debug dll's into the debug build directory for the project.  I have usually used static ITK/VTK builds so maybe that's why I haven't seen this before.</DIV>
<DIV> </DIV>
<DIV>Interestingly, the output of the Quickview demo is different for the debug and release versions.  I didn't use a command line argument so the CreateImage function gets called, attached are the outputs for the debug and release versions of the program.  Not sure why this happens, I would think the Allocate() function would initialize the pixel data the same way for debug and release.</DIV>
<DIV> </DIV>
<DIV>Kent</DIV>
<DIV> </DIV>
<DIV><BR><BR>>>> John Drescher <drescherjm@gmail.com> 12/31/2013 11:30 AM >>><BR>On Tue, Dec 31, 2013 at 11:16 AM, Kent Ogden <ogdenk@upstate.edu> wrote:<BR>> Hi,<BR>><BR>> I have downloaded the new ITK release and built it using VS 2012 on Win7 64<BR>> bit.  I have already downloaded and built VTK.  I build ITK and VTK with<BR>> Shared libraries on, and ITKVTKGlue enabled in ITK.  I also have TCL<BR>> wrapping turned on for VTK, but no wrapping in ITK.<BR>><BR>> If I try something simple, such as the Quickview example, it will build and<BR>> run ok in release mode.  If I try running anything in debug mode, it will<BR>> crash at the first filter/reader Update() call with an access violation.<BR>><BR>> Any thoughts on what I may be doing wrong?<BR>><BR><BR>Do not use the INSTALL target if you want to use debug and release<BR>configurations. Instead just build all. And when you configure your<BR>CMake generated project for your application set the ITK_DIR and<BR>VTK_DIR to be the root folder of the build tree. Since you built dlls<BR>you will have to copy these to your applications debug and release<BR>folder.<BR><BR>John<BR></DIV></BODY></HTML>