[vtkusers] Installing Vtk in Borland

Luca Picello luca.picello at libero.it
Thu Dec 15 18:59:26 EST 2005


sorry I forgot you should have in the system's path the 
"c:\renatovtk\bin" or "c:\bin\bin" folder to get a successful installation.
luca

Luca Picello wrote:

> follow this on a clean pc with cbuilder:
> - compile vtk as dynamic lib (generate dlls) to c:\renatovtk
> - open cbuilder. go to menu Component->Install packages.. and remove 
> all vtkBorlandRenderWindow you may have.
> - close cbuilder
> - goto C:\Program Files\Borland\CBuilder6\Projects and delete all 
> vtkBorlandRenderWindow* files you may have
> - now you should have a clean cbuilder. start it again and open the 
> project 
> vtk\examples\gui\win32\vtkborland\package\vtkBorlandRenderWindowPkg.bpk
> - change include and library paths in 
> Project->Options->Directory/Conditionals (STRICT is already defined here)
> - remove all .lib you have in the View->Project Manager and add them 
> again from the right folder (c:\renatovtk\bin)
> - compile and install the package
>
> if at the beginning you compile vtk to c:\bin there is nothing to 
> modify in the package project.
>
> this procedure is garanteed for vtk4.2/4.4 with cbuilder6 and bds2006
> have fun
>
> Luca
>
>
> Renato Cesar Pompeu wrote:
>
>> Hello Luca!
>>
>> thanks for answer!
>>
>> Well, I'm sure I'doing everything just like vtk's guide. I've 
>> reinstalled windows nt also, to start from the beginning. The latest 
>> thing I did was only install the latest versions (cmake, 
>> vtk,Cbuilder6, tcl8.4 etc.) I've tried in another computer also. I 
>> can't make it run! It always stops in the same error message, as I 
>> showed above. Is there anything different to do?
>>
>> Thanks again,
>>
>> Renato.
>>
>>
>>> From: Luca Picello <luca.picello at libero.it>
>>> To: Renato Cesar Pompeu <rcpompeu at hotmail.com>
>>> CC: vtkusers at vtk.org
>>> Subject: Re: [vtkusers] Installing Vtk in Borland
>>> Date: Tue, 13 Dec 2005 21:21:54 +0100
>>>
>>> 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
>>>> .
>>>>
>>>
>>
>> _________________________________________________________________
>> Ganhe tempo encontrando o arquivo ou e-mail que você precisa com 
>> Windows Desktop Search. Instale agora em http://desktop.msn.com.br
>>
>> .
>>
>
>




More information about the vtkusers mailing list