Re: [Paraview] Problem compiling ParaView with NMake

2017-10-20 Thread Ben Boeckel
On Fri, Oct 20, 2017 at 08:40:34 -0400, Cory Quammen wrote:
> I strongly recommend using the Ninja generator for building ParaView with
> Superbuild on Windows. It will build much faster than if you use other
> build generators, and will take care of the particular problem you are
> seeing as -j is a Ninja option that controls the level of build parallelism.

Yes, the superbuild is currently only known to support Ninja on Windows.
Visual Studio is certainly out for various reasons, but NMake is
probably possible; patches would be welcome if NMake is required for
some reason. Some conditional should probably guard this section and not
do it for NMake:


https://gitlab.kitware.com/paraview/common-superbuild/blob/master/cmake/SuperbuildExternalProject.cmake#L94

but that may not be sufficient either.

--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


Re: [Paraview] Problem compiling ParaView with NMake

2017-10-20 Thread Cory Quammen
Hi Thomas,

I strongly recommend using the Ninja generator for building ParaView with
Superbuild on Windows. It will build much faster than if you use other
build generators, and will take care of the particular problem you are
seeing as -j is a Ninja option that controls the level of build parallelism.

Cheers,
Cory

On Fri, Oct 20, 2017 at 8:28 AM, Thomas Krug  wrote:

> Hallo everyone,
>
>
> I tried to compile ParaView for Windows 10, using the superbuild of
> version 5.4.1 and NMake Makefiles as generator.
>
>
> After the execution of nmake, I get the following error:
>
>
> --
>
> NMAKE : fatal error U1065: invalid option 'j'
>
> Stop.
>
> CMake Error at D:/Dokumente/…/ParaView/build_
> nmake/superbuild/sb-paraview-build.cmake:43 (message): Failed with exit
> code 2
>
> --
>
>
> Is this somehow related to a wrong setting of
> the SUPERBUILD_PROJECT_PARALLELISM build variable or might there be
> another cause for the error?
>
>
> My configuration:
>
> Windows 10 64bit
>
> cmake version 3.8.0
>
> VisualStudio 2015 Community
>
>
> Can anybody recommend how to proceed?
>
>
> Thanks in advance
>
> Thomas
>
> ___
> 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
>
>


-- 
Cory Quammen
Staff R&D Engineer
Kitware, Inc.
___
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


[Paraview] Problem compiling ParaView with NMake

2017-10-20 Thread Thomas Krug
Hallo everyone,


I tried to compile ParaView for Windows 10, using the superbuild of version
5.4.1 and NMake Makefiles as generator.


After the execution of nmake, I get the following error:


--

NMAKE : fatal error U1065: invalid option 'j'

Stop.

CMake Error at 
D:/Dokumente/…/ParaView/build_nmake/superbuild/sb-paraview-build.cmake:43
(message): Failed with exit code 2

--


Is this somehow related to a wrong setting of the
SUPERBUILD_PROJECT_PARALLELISM
build variable or might there be another cause for the error?


My configuration:

Windows 10 64bit

cmake version 3.8.0

VisualStudio 2015 Community


Can anybody recommend how to proceed?


Thanks in advance

Thomas
___
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