On Tue, Aug 04, 2015 at 00:55:16 +0000, Bruce Jones wrote: > I followed your instructions and the build was successful in release mode. > However, when I run the executable it crashes on load. > > Attempting to debug this I tried to build in debug mode using the same > approach. Unfortunately the debug build fails with an error, > > 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 > MSVCRTD.lib(cinitexe.obj) : warning LNK4098: defaultlib 'msvcrt.lib' > conflicts with use of other libs; use /NODEFAULTLIB:library > bin\paraview.exe : fatal error LNK1319: 1 mismatches detected > LINK Pass 1 failed. with 1319 > > I am not sure why this is occurring.
This typically occurs because Qt is built in release while ParaView is debug and the two can't mix on Windows. I'd recommend starting from a completely clean build tree to avoid any lingering files and setting CMAKE_BUILD_TYPE=Release. --Ben _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview