[vtkusers] Compile errors with vtk40release with C++Builder6
John Biddiscombe
jbiddiscombe at skippingmouse.co.uk
Thu Jun 27 03:49:57 EDT 2002
This is fixed in the cvs copy of vtk. CBuilder 5 had a bug which I inserted
a
#ifdef __BORLANDC__
check to fix, but in CBUilder6 it isn't needed.
Look in vtkVrml.h near the start and remove the check. (or do a cvs update)
JB
----- Original Message -----
From: "forzakim" <forzakim at yahoo.co.jp>
To: "VTK Mailing list" <vtkusers at public.kitware.com>
Sent: Thursday, June 27, 2002 3:32 AM
Subject: [vtkusers] Compile errors with vtk40release with C++Builder6
> Hello,
>
> Compile errors are generated.
>
> "D:\Program
Files\Borland\CBuilder6\Bin\bcc32.exe" -P -w- -whid -waus -wpar
> -tWM -Od -v -DvtkHybrid_EXPORTS -tWR -ovtkVRMLImporter.obj -ID:/VTK/Hybrid
> -ID:/VTK/Rendering -ID:/VTK/Hybrid -ID:/VTK/Parallel -ID:/VTKBin
> -ID:/VTK/Common -ID:/VTK/Filtering -ID:/VTK/Imaging -ID:/VTK/Graphics
> -ID:/VTK/IO -ID:/VTK/Utilities/zlib -ID:/VTK/Utilities/png
> -ID:/VTK/Utilities/jpeg -ID:/VTK/Common/Testing/Cxx
> -ID:/PROGRA~1/Tcl/include -c D:/VTK/Hybrid/vtkVRMLImporter.cxx
> Borland C++ 5.6 for Win32 Copyright (c) 1993, 2002 Borland
> D:/VTK/Hybrid/vtkVRMLImporter.cxx:
> Error E2171 D:/VTK/Hybrid/vtkVRML.h 79: Function 'operator new[](unsigned
> int,void *)' body is defined already.
> Error E2451 D:/VTK/Hybrid/vtkVRML.h 80: Undefined symbol v(Function
> operator new[](unsigned int,void *) )
> *** 2 errors in Compile ***
>
> ** error 1 ** deleting vtkVRMLImporter.obj
>
> ** error 1 ** deleting default_target
>
> ** error 1 ** deleting default_target_Hybrid
>
> ** error 1 ** deleting default_target
>
>
> Any help would be appreciated.
>
> Regards.
> forzakim
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! BB is Broadband by Yahoo!
> http://bb.yahoo.co.jp/
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list