[vtkusers] Please help me by answering the simple question
Anka Kochanowska
anka at bic.mni.mcgill.ca
Tue Jan 9 11:17:24 EST 2007
Have you installed VtkData?
Message: Can't find file: /usr/local/share/VtkData/Data/headsq/quarter.1,
suggests you do not have it.
BUILD_SHARED_LIBS should be ON.
You may need to set evironmental variables in your .cshrc or .bashrc
VTK_DATA_ROOT - path to your VtkData directory
VTK_DIR - path to your vtk directory
Anka
Sawsan Ahmed wrote:
> Hello friends,
> Again coming back with my questions about
> installing VTK in linux.Frustrated by installing VTK in linux I
> installed in windows and started working in windows.But I again tried
> to install in linux and again the same problem.This time i used
> ccmake.I can compile without error.But when I run built examples,such
> as Cone,Cone2 etc ,only colored background is seen,I don't see the
> cone.For Cone2,the printing comes out in shell,but no cone in the
> window.Also I tried with the Medical1,but the error shows:
> ---------------------------------------------------------------------------------------------------------
> [root at localhost bin]# ./Medical1
> /usr/local/share/VtkData/Data/headsq/quarter
> ERROR: In /usr/local/src/VTK/VTK/IO/vtkVolume16Reader.cxx, line 343
> vtkVolume16Reader (0x8b77a58): Can't find file:
> /usr/local/share/VtkData/Data/headsq/quarter.1
>
> ERROR: In /usr/local/src/VTK/VTK/Graphics/vtkPolyDataNormals.cxx, line 94
> vtkPolyDataNormals (0x8b7b670): No data to generate normals for!
> ---------------------------------------------------------------------------------------------------------------
>
> I am using latest version of VTK source i,e, VTK-5.0 and
> cmake2.4.4.And my options in ccmake windows are as follows (I have not
> used any advanced options):
> ----------------------------------------------------------------------------------------------------------
> BUILD_EXAMPLES ON
> BUILD_SHARED_LIBS OFF
> CMAKE_BACKWARDS_COMPATIBILITY 2.4
> CMAKE_BUILD_TYPE
> CMAKE_INSTALL_PREFIX /usr/local
> VTK_DATA_ROOT /usr/local/share/VTKData
> VTK_USE_PARALLEL OFF
> VTK_USE_RENDERING ON
> VTK_WRAP_JAVA OFF
> VTK_WRAP_PYTHON OFF
> VTK_WRAP_TCL OFF
> ----------------------------------------------------------------------------------------------------------------
> ----------------------------------------------------------------------------------------------------------------
> Any help will be greatly appreciated.
>
> Thanks in advance.
>
> Sincerely Yours,
> Sawsan.
>
>
>
> */Anka Kochanowska <anka at bic.mni.mcgill.ca>/* wrote:
>
> Hi!
> I think, it is better to use ccmake, it gives you a better interface,
> you can view all the options.
> Then, please explain more about your problem. What do you expect
> to see?
> Is it one of vtk examples?
> Maybe attach your code?
> Anka
>
> Sawsan Ahmed wrote:
>
> > Hello friends,
> > I don't know why any body did not answer my question.Though my
> > question is simple,please help me by answering it as I am quite
> new in
> > VTK.
> > I am a newbie in VTK,using vtk5.0.2 in my fedora 5.I am not
> using any
> > warpper language.I don't know which flags to set on in cmake
> -i.After
> > using make,only see the back ground,no object in it.Please help me
> > ,tell me which options do I need to turn on.Thanks in advance.
> >
> > Sawsan.
> >
> >
> ------------------------------------------------------------------------
> > Everyone is raving about the all-new Yahoo! Mail beta.
> >
> >
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >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
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
More information about the vtkusers
mailing list