<div dir="ltr">Thanks Ben,<div><br></div><div>I followed your instructions and the build was successful in release mode. However, when I run the executable it crashes on load.</div><div><br></div><div>Attempting to debug this I tried to build in debug mode using the same approach. Unfortunately the debug build fails with an error,</div><div><br></div><div><div>qtmain.lib(qtmain_win.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in paraview_main.cxx.obj</div><div>MSVCRTD.lib(cinitexe.obj) : warning LNK4098: defaultlib 'msvcrt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library</div><div>bin\paraview.exe : fatal error LNK1319: 1 mismatches detected</div><div>LINK Pass 1 failed. with 1319</div></div><div><br></div><div>I am not sure why this is occurring.</div><div><br></div><div>Bruce</div><br><div class="gmail_quote"><div dir="ltr">On Fri, 31 Jul 2015 at 16:59 Ben Boeckel <<a href="mailto:ben.boeckel@kitware.com" target="_blank">ben.boeckel@kitware.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, Jul 31, 2015 at 16:34:49 +0000, Bruce Jones wrote:<br>
> I am trying to build the superbuild for x64 on windows. I have configured<br>
> everything with cmake (i have only selected ENABLE_paraview and ENABLE_qt)<br>
> and am trying to do a release build. The build fails with,<br>
><br>
> 7>  CMake Error at VTK/CMake/vtkModuleAPI.cmake:53 (message):<br>
> 7>    No such module: "vtkCommonDataModel"<br>
><br>
> Any suggestions?<br>
<br>
What CMake generator did you use? The superbuild is only tested with<br>
Ninja on Windows:<br>
<br>
    C:\> REM Open a VS2010 x64 Command Tools Prompt<br>
    C:\> cmake -GNinja ../path/to/superbuild/source<br>
    C:\> REM Edit configuration in cmake-gui<br>
    C:\> ninja<br>
<br>
Ninja is available from:<br>
<br>
    <a href="https://martine.github.io/ninja" rel="noreferrer" target="_blank">https://martine.github.io/ninja</a><br>
<br>
if you do not have it already.<br>
<br>
--Ben<br>
</blockquote></div></div>