[vtkusers] OpenSolaris build

Denis Barbier bouzim at gmail.com
Tue Jul 21 15:00:54 EDT 2009


Le 21 juillet 2009 19:30, Gaëtan Lehmann a écrit :
[...]
> If I comment the calls to alloca(), everything builds. Of course some tests
> are failing - I'd be happy to get some help on that point.
[...]

Have a look at the beginning of Hybrid/vtkVRMLImporter.cxx, it seems that
in your case, alloca declaration is
  char *alloca ();
and further calls fail when compiling with a C++ compiler.
This function is redeclared lines 828 and below in a slightly different way,
you may try to delete lines 7--28.

Denis



More information about the vtkusers mailing list