[Paraview] Error building superbuild VS2010

Bruce Jones bruce.david.jones at gmail.com
Mon Aug 3 20:55:16 EDT 2015


Thanks Ben,

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.

Bruce

On Fri, 31 Jul 2015 at 16:59 Ben Boeckel <ben.boeckel at kitware.com> wrote:

> On Fri, Jul 31, 2015 at 16:34:49 +0000, Bruce Jones wrote:
> > I am trying to build the superbuild for x64 on windows. I have configured
> > everything with cmake (i have only selected ENABLE_paraview and
> ENABLE_qt)
> > and am trying to do a release build. The build fails with,
> >
> > 7>  CMake Error at VTK/CMake/vtkModuleAPI.cmake:53 (message):
> > 7>    No such module: "vtkCommonDataModel"
> >
> > Any suggestions?
>
> What CMake generator did you use? The superbuild is only tested with
> Ninja on Windows:
>
>     C:\> REM Open a VS2010 x64 Command Tools Prompt
>     C:\> cmake -GNinja ../path/to/superbuild/source
>     C:\> REM Edit configuration in cmake-gui
>     C:\> ninja
>
> Ninja is available from:
>
>     https://martine.github.io/ninja
>
> if you do not have it already.
>
> --Ben
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150804/72116f09/attachment.html>


More information about the ParaView mailing list