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 <[email protected]> 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
>
_______________________________________________
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

Reply via email to