[vtkusers] Can VTK be used with Codegear XE4 compilers???

Bo Berglund bo.berglund at gmail.com
Mon Aug 5 05:21:31 EDT 2013


On Fri, 2 Aug 2013 14:26:57 -0600, David Gobbi <david.gobbi at gmail.com>
wrote:

>If that allows you to build VTK, then you can share the fix with the
>CMake developers.
>

I have struggled alone in the absence of any advice from the VTK
community and the finding so far is this:
In order to get CMAke to run without generating errors on the test
phase I had to modify the two cfg files in the RAD Studio XE4 bin
directory:

bcc32.cfg and ilink32.cfg

I cleared the files from thedfaults by Embaradero and added commands
to point to the actual include dirs for compile and link after
searching for the files reported as missing.

Then I got through to the CMake generate step but when I then tried
make in the VTKBIN dir errors started popping up again, complaining
aaaaaaout missing files. I searched for them and added the respective
directories to the two files above.

The current situation is that my cfg files now look as follows
(beware of newsreader line wrapping, there are two lines in bcc32.cfg)

bcc32.cfg:
-I"C:\Programs\Embarcadero\RAD
Studio\11.0\include\windows\sdk";"C:\Programs\Embarcadero\RAD
Studio\11.0\include\windows\crtl";"C:\Programs\Embarcadero\RAD
Studio\11.0\include\dinkumware"
-L"C:\Programs\Embarcadero\RAD Studio\11.0\lib\win32\release"

ilink32.cfg:
-L"C:\Programs\Embarcadero\RAD Studio\11.0\lib\win32\release"

With this in place make proceeds through a small number of files
before throwing the following error:

[  0%] Building CXX object
Utilities/kwsys/CMakeFiles/vtksys.dir/Directory.obj
	cd C:\Engineering\VTKBIN5.0.2\Utilities\kwsys
	C:\Programs\EMBARC~1\RADSTU~1\11.0\bin\bcc32.exe -tR
-DKWSYS_NAMESPACE=vtksys -DVTK_IN_VTK -DWIN32
-oCMakeFiles\vtksys.dir\Directory.obj -tM -O2 -DNDEBUG
-IC:\Engineering\VTKBIN5.0.2 -IC:\Engineering\VTKBIN5.0.2\Utilities
-IC:\Engineering\VTKBIN5.0.2\VolumeRendering
-IC:\Engineering\VTKBIN5.0.2\Rendering
-IC:\Engineering\VTK5.0.2\VolumeRendering
-IC:\Engineering\VTK5.0.2\Hybrid -IC:\Engineering\VTK5.0.2\Widgets
-IC:\Engineering\VTK5.0.2\Rendering
-IC:\Engineering\VTK5.0.2\Rendering\Testing\Cxx
-IC:\Engineering\VTK5.0.2\IO -IC:\Engineering\VTK5.0.2\Imaging
-IC:\Engineering\VTK5.0.2\Graphics
-IC:\Engineering\VTK5.0.2\GenericFiltering
-IC:\Engineering\VTK5.0.2\Filtering -IC:\Engineering\VTK5.0.2\Common
-IC:\Engineering\VTK5.0.2\Utilities
-IC:\Engineering\VTK5.0.2\Common\Testing\Cxx
-IC:\Engineering\VTKBIN5.0.2\Utilities\DICOMParser
-IC:\Engineering\VTK5.0.2\Utilities\DICOMParser
-IC:\Engineering\VTKBIN5.0.2\Utilities\vtkfreetype\include
-IC:\Engineering\VTK5.0.2\Utilities\vtkfreetype\include
-IC:\Engineering\VTKBIN5.0.2\Utilities\vtknetcdf
-IC:\Engineering\VTK5.0.2\Utilities\vtknetcdf
-IC:\Engineering\VTKBIN5.0.2\Utilities\vtkexodus2\include
-IC:\Engineering\VTK5.0.2\Utilities\vtkexodus2\include
-IC:\Engineering\VTKBIN5.0.2\Utilities\vtkfreetype
-IC:\Engineering\VTK5.0.2\Utilities\ftgl\src
-IC:\Engineering\VTKBIN5.0.2\Utilities\ftgl -P -c
C:\Engineering\VTK5.0.2\Utilities\kwsys\Directory.cxx
Embarcadero C++ 6.60 for Win32 Copyright (c) 1993-2013 Embarcadero
Technologies, Inc.
C:\Engineering\VTK5.0.2\Utilities\kwsys\Directory.cxx:
Error E2316 C:\Engineering\VTKBIN5.0.2\Utilities\vtksys/stl/string.hxx
46: 'eatwhite' is not a member of 'istream' in function >>(istream
&,string &)
*** 1 errors in Compile ***

Now I seem to be out of the compiler realm and back in the VTK sources
complaining about "eatwhite", whatever that may be.....

Any ideas now that I am down into VTK files (release 5.0.2)???


-- 
Bo Berglund
Developer in Sweden




More information about the vtkusers mailing list