[Paraview] Error building superbuild VS2010
Bruce Jones
bruce.david.jones at gmail.com
Tue Aug 4 14:26:42 EDT 2015
Thanks again Ben. For the debug build I was using a completely new build
directory, I moved the compiled files from the release build elsewhere and
deleted everything else. Then started on the debug build from step one.
On Tue, 4 Aug 2015 at 14:24 Ben Boeckel <ben.boeckel at kitware.com> wrote:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150804/8db19814/attachment.html>
More information about the ParaView
mailing list