[vtkusers] Problem with VTK4 and Builder6

dean.inglis at on.aibn.com dean.inglis at on.aibn.com
Mon Feb 17 17:35:25 EST 2003


Hi Radim,

you may have to also add the path to where 
vtk is built.  For example, if you build
vtk out of source then under 
Project->Options->Include Directories
you have to add the path to where the binaries
are built e.g.,
 I keep my vtk source code in 
c:/Builder/Sources/VTK
and build it in
c:/Builder/Releases/vtkRelease
so the paths to all of vtk sources, e.g., VTK/Common,VTK/IO
etc. and then vtkRelease as well because there will 
be a header generated called vtkConfigure.h
You may also have to add the path to the lib's and dll's
(in my case it is c:/Builder/Releases/vtkRelease/bin)
in your OS enviroment path variable. (in windows it 
is in Start->Settings/Control Panel->System->Advanced->
Environment Variables).

So you have configured cmake to build vtk as shared libs
then there should be libs and dlls in, for example,
c:/Builder/Releases/vtkRelease/bin.  You only really
need to add vtkCommon.lib, vtkFiltering.lib and
vtkRendering.lib to the package project so make sure
those libs and dlls are there.

Now, part h) may be a problem that would involve you
reading the BCB help documentation and perhaps trying
to build a sample package project that probably comes
with the BCB distribution.

When you follow the instructions step by step in
VTK/Examples/GUI/Win32/vtkBorland/Readme.txt, where
do things go wrong?  What errors does the BCB IDE 
report?

Have you tested any of the simple vtk examples to
make sure vtk works?

Dean

This is a multi-part message in MIME format.

------=_NextPart_000_00D8_01C2D5D0.F47027E0
Content-Type: text/plain;
	charset="windows-1250"
Content-Transfer-Encoding: quoted-printable

OK, thanks...
The problem with installing RenderWindow component still remain. Here =
are the detail information

a) which version of VTK?
I'm using version VTK4.

b) installed binaries or built VTK?
VTK was build from the source files (lib and dll files)

c) which version of CMake did you use to build it?
Version 1.4

e) nightly cvs or stable release branch of VTK?
Stable

d) static or shared libs?
I'm using LIB library in the project, but the resulting EXE file needs =
the DLL

f) paths set in BCB to both VTK includes and libs
YES

g) added VTK libs to the project?
YES

h) do you know how to build/install your own BCB
components/packages from scratch?
Not exactly

Thanks.
Radim





More information about the vtkusers mailing list