[vtkusers] CMake generates too long commands for Win7X64 RAD Studio XE4

David Gobbi david.gobbi at gmail.com
Wed Aug 7 12:02:31 EDT 2013


On Wed, Aug 7, 2013 at 9:34 AM, Bo Berglund <bo.berglund at gmail.com> wrote:
>
> I also found a thread dealing with VTK on C++Builder named:
> "Recipe for building VTK-5.6.1 with C++ Builder XE (bcc32 6.31)"
> http://vtk.1045678.n5.nabble.com/Recipe-for-building-VTK-5-6-1-with-C-Builder-XE-bcc32-6-31-td3337807.html
> (See Oliver W's reply from Dec 07, 2011 14:48) where he outlines steps
> to take).
>
> So I tried to apply these changes to the VTK sources (ouch!!! I don't
> like modifying code I don't understand...) to get past some of the
> other errors that appear when building ver 5.10.1:
> I applied:
> a) change struct name from _stati64 to stati64
> b) comment out the timezone lines
> c) change stryct name from _stati64 to stati64
>
> These three solved the stops caused by some errors but when I got the
> next error (Command argumenst too long) using the next modification
> tip d) did not help...
>
> I still have the command argument too long error.
>
> Maybe this is not caused by CMake but is some VTK code failure????
> I am in a total loss here on what to do next.

I am surprised by the super-long command line, because CMake should be
generating response files instead of putting all of the options on the
command line.  But then again, as far as I remember, the command lines
for VTK 5.0.2 were always short enough for the compilers to handle,
even before CMake supported response files.  I have no experience at
all with bcc, however.

 David



More information about the vtkusers mailing list