[vtkusers] Installing Vtk in Borland

Luca Picello luca.picello at libero.it
Tue Dec 13 15:21:54 EST 2005


Hello Renato,
using cbuilder 6 and latest cmake there are no problems on compiling 
latest official vtk (4.2 or 4.4 interism).
just compile vtk and finally load the vtk package 
(vtk\examples\gui\win32\vtkborland\package) with cbuilder.
you have to delete and add again the libraries (.lib) paths and setup 
the directory/conditions due of c:\bin previous path used by kitware.
(probably the libs are generated to something like 
c:\renato\vtkbin\bin\vtkcommon.lib ).
remember to override the cbuilder binaries path to be sure the compiler 
does not use wrong dlls or tools from other borland's environments you 
may have installed in your pc (like cbuilder5 or bds2006).
good luck

Luca



Renato Cesar Pompeu wrote:

> Hi!
>
> I’ve done several times, used various versions (Cbuilder4, Cbuilder5, 
> Cbuilder6, cmake-2.2.2-win32, cmake2.0, CMake1.2-src-windows, vtk4-2, 
> vtk4-4, ActiveTcl8.4.11.2.201775-win32-ix86-threaded, tcl832, 
> VTKData-4.2 etc) with all combinations. I’ve read more than 10 times 
> (as suggested) the VTK instructions. I’ve converted coff to omf 
> library files. I’ve put ‘STRICT’ and done everything. I can’t make the 
> Borland package. It always shows the same error:
>
> [C++ Error] vtkWin32OpenGLRenderWindow.h(120): E2238 Multiple 
> declaration for 'vtkWin32OpenGLRenderWindow::SetWindowId(void *)'
> [C++ Error] vtkWin32OpenGLRenderWindow.h(116): E2344 Earlier 
> declaration of 'vtkWin32OpenGLRenderWindow::SetWindowId(void *)'
> [C++ Error] vtkWin32OpenGLRenderWindow.h(125): E2238 Multiple 
> declaration for 'vtkWin32OpenGLRenderWindow::SetParentId(void *)'
> [C++ Error] vtkWin32OpenGLRenderWindow.h(124): E2344 Earlier 
> declaration of 'vtkWin32OpenGLRenderWindow::SetParentId(void *)'
>
>
> What should I do? Is anything to fix it? Please help me!!!!
>
> Thanks,
>
> Renato.
>
> _________________________________________________________________
> Chegou o que faltava: MSN Acesso Grátis. Instale Já! 
> http://www.msn.com.br/discador
>
> _______________________________________________
> This is the private VTK discussion list. Please keep messages 
> on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> .
>




More information about the vtkusers mailing list