[vtkusers] New: Recipe for building VTK-5.8.0 with C++ Builder XE (bcc32 6.31)

gregory.baert at inserm.fr gregory.baert at inserm.fr
Thu Jan 21 02:58:17 EST 2016


Hi,

I modified "vtkAtomicInt.h" and now I have other errors (Cf. attached file); both compile with C++ Builder XE (32 bits) and C++ Builder XE8 (32 bits) with the same error ...



-----Message d'origine-----
De : Ben Boeckel [mailto:ben.boeckel at kitware.com] 
Envoyé : mercredi 20 janvier 2016 17:45
À : gregory.baert at inserm.fr
Cc : vtkusers at vtk.org; 'Mathieu Westphal' <mathieu.westphal at kitware.com>
Objet : Re: [vtkusers] New: Recipe for building VTK-5.8.0 with C++ Builder XE (bcc32 6.31)

On Wed, Jan 20, 2016 at 16:28:51 +0100, gregory.baert at inserm.fr wrote:
> Thanks for your help,
> I send you the error in the attached file,

It appears that VTK 6.1 doesn't consider Embarcadero which doesn't appear to support __declspec(align()). vtkAtomicInt needs to not define VTK_WINDOWS_ATOMIC on line 46 or guard the __declspec(align()) bits on lines 72 and 190 against Embarcadero.

--Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Capture.PNG
Type: image/png
Size: 69489 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160121/854bfa18/attachment.png>


More information about the vtkusers mailing list