[vtkusers] Problem with using CMake for VTK for Borland C++ Builder 5

Ricardo Czekster austrobaldo at bol.com.br
Tue Apr 9 15:11:01 EDT 2002


You must add to the project the .lib files (Add to Project),
And the dll's to the path


Hope this will help you,



RIcardo Czekster


----- Original Message -----
From: "Richard Dybowski" <rdybowski at btinternet.com>
To: <vtkusers at public.kitware.com>
Sent: Tuesday, April 09, 2002 9:59 AM
Subject: [vtkusers] Problem with using CMake for VTK for Borland C++ Builder
5


> Quer ter seu próprio endereço na Internet?
> Garanta já o seu e ainda ganhe cinco e-mails personalizados.
> DomíniosBOL - http://dominios.bol.com.br
>
>
>
>
>
>
> I am new to CMake (and to C++), and I am trying to use it to build VTK for
> use with Borland C++, but I have run into some problems. To test out VTK,
I
> am using the C++ example code for a sphere that is given in
> http://public.kitware.com/VTK/example-code.php , but when I try to link
the
> corresponding object file (with Borland C++ Builder 5), I get linker error
> messages such as
> "[Linker Error] Unresolved external 'vtkSphereSource::New()' referenced
> from ....."
> even though I have set the library path to point to both the subdirectory
> containing the VTK lib files and the subdirectory containing
> vtkSphereSource.obj
>
> I am not sure that VTK was built correctly. The reason for my suspicion is
> that, whilst the Borland make file was running on the Makefile produced by
> CMake, the error message "Bad command or file name" appeared many times
> during the attempted build. In the CMake GUI, I used the default values
> associated with "Build for: Borland Makefile". For "Where is the source
> code:" I used the subdirectory where the contents of vtk40Src.zip were
> unpacked. The Makefile produced by CMake is attached.
>
> I would be grateful for any help with these problems.
>
> Richard
>
> -------------------------------
> Richard Dybowski, 143 Village Way, Pinner, Middlesex  HA5 5AA, UK
> Tel (mobile): 079 76 25 00 92
>




More information about the vtkusers mailing list