[vtkusers] problem with vtkBorlandRenderWindowpkg creation st ep in BCB6

Johnson Abraham johnson.abraham at uwe.ac.uk
Wed Jun 25 13:16:23 EDT 2003


Hi,
Thank for ur help Yang.
I tried as you have instucted me.
During step4 when i add the *.lib files before compilation I get  a pop 
up error
"ONE OR MORE LINES WERE TOO LONG AND HAVE BEEN TRUNCATED"
I ignored the error and proceeded with the compilation.
I received five error and several warning I have listed to all the  
error and warning

Build
  [C++ Warning] vtkViewport.h(78): W8027 Functions containing for are 
not expanded inline
  [C++ Warning] vtkViewport.h(84): W8027 Functions containing for are 
not expanded inline
  [C++ Warning] vtkViewport.h(92): W8027 Functions containing for are 
not expanded inline
  [C++ Warning] vtkViewport.h(99): W8027 Functions containing for are 
not expanded inline
  [C++ Warning] vtkViewport.h(106): W8027 Functions containing for are 
not expanded inline
  [C++ Warning] vtkViewport.h(119): W8027 Functions containing for are 
not expanded inline
  [C++ Warning] vtkViewport.h(125): W8027 Functions containing for are 
not expanded inline
  [C++ Warning] vtkProp3D.h(74): W8027 Functions containing for are not 
expanded inline
  [C++ Warning] vtkProp3D.h(101): W8027 Functions containing for are not 
expanded inline
  [C++ Warning] vtkProp3D.h(126): W8027 Functions containing for are not 
expanded inline
  [C++ Warning] vtkRenderer.h(161): W8027 Functions containing for are 
not expanded inline
  [C++ Warning] vtkRenderWindow.h(353): W8008 Condition is always false
  [C++ Warning] vtkRenderWindow.h(353): W8008 Condition is always false
  [C++ Warning] vtkRenderWindow.h(455): W8027 Functions containing 
switch are not expanded inline
  [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 *)'
  [C++ Warning] vtkRenderWindowInteractor.h(203): W8008 Condition is 
always false
  [C++ Warning] vtkRenderWindowInteractor.h(203): W8008 Condition is 
always false
  [C++ Warning] vtkRenderWindowInteractor.h(253): W8027 Functions 
containing some if statements are not expanded inline
  [C++ Warning] vtkBorlandRenderWindow.h(65): W8027 Functions containing 
switch are not expanded inline
  [C++ Warning] vtkInteractorStyle.h(268): W8027 Functions containing 
for are not expanded inline
  [C++ Warning] vtkInteractorStyleFlight.h(95): W8027 Functions 
containing for are not expanded inline
  [C++ Warning] vtkInteractorStyleFlight.h(96): W8027 Functions 
containing for are not expanded inline
  [Linker Fatal Error] Fatal: Unable to open file 
'VTKBORLANDRENDERWINDOWPKG.OBJ'

Please help me with what went wrong and solutions to the problem

Thank you
Johnson Abraham

Xianjin Yang wrote:

>-----Original Message-----
>From: Johnson Abraham [mailto:johnson.abraham at uwe.ac.uk] 
>Sent: Wednesday, June 25, 2003 7:30 AM
>To: vtkusers at www.vtk.org
>Subject: [vtkusers] problem with vtkBorlandRenderWindowpkg creation step in BCB6
>
>Hi ,
>
>Please help me with the problem.
>Iam using the binary version of VTK for windows. I use BCB6 .
>I tried to run example int the folder vtkBorland. But before that i 
>tried to create the package
>
>I followed the instruction given by the readme.txt
>I was successfull till the step2 in step3 the following has to be done
>
>Options->Directories/Conditionals
>Include Path:
>/VTK/Common
>/VTK/Filtering
>/VTK/Rendering
>path to vtkConfigure.h
>(After installing binary version of there was no folder  as mentioned 
>above do i need to create them)
>
>-------------------------
>This is a very good question! These are source directories with *.h files. If
>you install VTK from binary version, I am afraid that you would not have these
>directories. You may download all header files if you do not have them and put
>them in a single directory and the add this directory to the "Include Path".
>
>Installation of VTK from binary may be a faster option because compilation of
>VTK with BCB6 takes over 2 hours on my 1GHz PC.
>
>Yang
>---------------------------
>
>I have problem with step4 as well it says
>
>Step4:
>Add->Add Unit->Browse
>Files of type:
>choose Library file (*.lib)
>vtkCommon.lib
>vtkFiltering.lib
>vtkRendering.lib
>I dont have the following tab to which i can add the library file mentioned
>
>-----------------
>Insead, you go to the menu Project | Add to Project, and choose Library file
>(*.lib) as Files of type.
>
>Yang
>-----------------
>_______________________________________________
>This is the private VTK discussion list. 
>Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers
>  
>





More information about the vtkusers mailing list