[vtkusers] Building VTK 4.x CVS with BC++ builder 6.0

John Biddiscombe jbiddiscombe at skippingmouse.co.uk
Tue Jul 16 07:12:02 EDT 2002


Run CMake, in the CXX_COMPILER_FLAGS add
-w-

this is "turn off all warnings"

the problem will go away. You may want to do it to
C_COMPILER_FLAGS or whatever it is too, just in case any "c" files in the utilities directory cause trouble

JB

_
----- Original Message ----- 
From: "Charlie H. Chang" <charlie.chang at nchc.gov.tw>
To: "vtkusers" <vtkusers at public.kitware.com>
Sent: Tuesday, July 16, 2002 6:09 AM
Subject: [vtkusers] Building VTK 4.x CVS with BC++ builder 6.0


> 
> Hi all,
> I tried to use BC++ builder 6.0 to compile VTK (CVS tree),
> but got the following error messages:
> 
> Warning W8004 D:\opt\VTK\Utilities\expat\xmlrole.c 1300: 'enc' is
> assigned a val
> ue that is never used in function condSect2
> Warning W8004 D:\opt\VTK\Utilities\expat\xmlrole.c 1299: 'end' is
> assigned a val
> ue that is never used in function condSect2
> Warning W8004 D:\opt\VTK\Utilities\expat\xmlrole.c 1298: 'ptr' is
> assigned a val
> ue that is never used in function condSect2
> Warning W8004 D:\opt\VTK\Utilities\expat\xmlrole.c 1322: 'enc' is
> assigned a val
> ue that is never used in function declClose
> Error E2228 D:\opt\VTK\Utilities\expat\xmlrole.c 1322: Too many error or
> warning
> messages in function declClose
> *** 1 errors in Compile ***
> 
> ** error 1 ** deleting xmlrole.obj
> 
> ** error 1 ** deleting default_target
> 
> ** error 1 ** deleting default_target_expat
> 
> ** error 1 ** deleting default_target
> 
> ** error 1 ** deleting default_target_Utilities
> 
> ** error 1 ** deleting default_targett
> 
> Can anyone help me to build VTK with BCC?
> I have tried CMake 1.2 and 1.4 beta, both gave me the same results.
> Thank you in advance!
> 
> -- 
> Charlie H. Chang, Software Development Group
> National Center for High-performance Computing
> T: 1-886-3-5776085x362
> E: charlie.chang at nchc.gov.tw
> W: www.nchc.gov.tw
> 
> 
> _______________________________________________
> 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