[Paraview-developers] Troubles compiling Paraview on Windows
Ben Boeckel
ben.boeckel at kitware.com
Thu May 7 11:25:29 EDT 2015
On Thu, May 07, 2015 at 09:59:46 +0000, PULVERAIL, Sebastien wrote:
> Indeed, when I look to the command line, it is very very long: between 20000
> and 29000 characters depending on where I put the paraview build directory.
While we don't support MinGW, I have fixed this specific issue since
4.3.1. See the following ParaView commits:
commit ce04c1ff17c4327310e4cb3033529aa4cdc087e2
Author: Ben Boeckel <ben.boeckel at kitware.com>
Date: Tue Mar 10 17:47:45 2015 -0400
branding: only use the rc target hack for non-VS
Change-Id: I67aaad70fd8c61d4bad4538946c9ef19101e1ef6
commit b64ca409fbe616a3a83e1c02d3e84f8ded814771
Author: Ben Boeckel <ben.boeckel at kitware.com>
Date: Fri Mar 6 18:03:23 2015 -0500
windows: reduce the size of the command line for the RC compiler
Change-Id: Ic9d643bb63b02feb7ac5ef099f85ef78ebec7c96
and these from VTK:
commit b144b68838a0590c8ea7dbf773c89aa90df2ad30
Author: Ben Boeckel <ben.boeckel at kitware.com>
Date: Tue Mar 10 15:04:48 2015 -0400
vtkpython: avoid vtkpythonrc hack in Visual Studio
It handles response files itself.
Change-Id: Icf50178289028a0c56dcb89bbb0db7044b571d9a
commit a701e9c04282ca184ac7c7641f57751331ff5536
Author: Ben Boeckel <ben.boeckel at kitware.com>
Date: Thu Mar 5 15:37:25 2015 -0500
windows: compile the vtkpython.rc file separately
On Windows, if a build tree has a long path, the command line length
limit can be exceeded. This is normally handled by using response files
to store the command line arguments rather than passing them directly.
Unfortunately, CMake does not support this for RC files. To address
this, compile the rc file separately.
Change-Id: Ie91e9578c6cf41f7386b914e408c6369c733117f
I'm not sure if something else would be required for Eclipse or QtCreator, but
it works for Ninja at least.
--Ben
More information about the Paraview-developers
mailing list