[Paraview] [Paraview Help] error in building

Karl König kkoenig11 at web.de
Wed Jun 15 03:51:09 EDT 2011


Hi,

In addition to VTK_OPENGL_HAS_OSMESA, VTK_USE_OFFSCREEN, and VTK_USE_X
what are the settings you used for

      OPENGL_INCLUDE_DIR
      OPENGL_gl_LIBRARY
      OPENGL_glu_LIBRARY
      OSMESA_INCLUDE_DIR
      OSMESA_LIBRARY

? You might want to attach your CMakeCache.txt, makes it easier in
general to track things like this down.

Karl


le Anh Dung wrote, On 15.06.2011 09:42:
> Hello everybody,
> I'm trying to compile paraview to a sever without an X server, so the
> configuration is VTK_OPENGL_HAS_OSMESA = ON, VTK_USE_OFFSCREEN=ON and
> VTK_USE_X=OFF then I get this error:
> [ 97%] Built target vtkPVServerManagerPython
> Linking CXX executable ../../bin/vtkSMExtractDocumentation
> ../../bin/libvtkXdmf.so: undefined reference to `typeinfo for
> vtkXRenderWindowInteractor'
> ../../bin/libvtkXdmf.so: undefined reference to
> `vtkXRenderWindowInteractor::~vtkXRenderWindowInteractor()'
> ../../bin/libvtkXdmf.so: undefined reference to
> `vtkXRenderWindowInteractor::PrintSelf(std::basic_ostream<char,
> std::char_traits<char> >&, vtkIndent)'
> ../../bin/libvtkXdmf.so: undefined reference to
> `vtkXRenderWindowInteractor::Initialize(_XtAppStruct*)'
> ../../bin/libvtkXdmf.so: undefined reference to
> `vtkXRenderWindowInteractor::SetTopLevelShell(_WidgetRec*)'
> ../../bin/libvtkXdmfCS.so: undefined reference to
> `vtkXRenderWindowInteractorCommand(vtkClientServerInterpreter*,
> vtkObjectBase*, char const*, vtkClientServerStream const&,
> vtkClientServerStream&)'
> ../../bin/libvtkXdmf.so: undefined reference to `XtAppPending'
> ../../bin/libvtkXdmf.so: undefined reference to
> `vtkXRenderWindowInteractor::Initialize()'
> ../../bin/libvtkXdmf.so: undefined reference to
> `vtkXRenderWindowInteractor::Disable()'
> ../../bin/libvtkXdmf.so: undefined reference to
> `vtkXRenderWindowInteractor::vtkXRenderWindowInteractor()'
> ../../bin/libvtkXdmf.so: undefined reference to `XtAppNextEvent'
> ../../bin/libvtkXdmfCS.so: undefined reference to
> `vtkXRenderWindowInteractor_Init(vtkClientServerInterpreter*)'
> ../../bin/libvtkXdmf.so: undefined reference to
> `vtkXRenderWindowInteractor::BreakLoopFlag'
> ../../bin/libvtkXdmf.so: undefined reference to
> `vtkXRenderWindowInteractor::TerminateApp()'
> ../../bin/libvtkXdmf.so: undefined reference to
> `vtkXRenderWindowInteractor::Start()'
> ../../bin/libvtkXdmf.so: undefined reference to
> `vtkXRenderWindowInteractor::GetMousePosition(int*, int*)'
> ../../bin/libvtkXdmf.so: undefined reference to
> `vtkXRenderWindowInteractor::SetWidget(_WidgetRec*)'
> ../../bin/libvtkXdmf.so: undefined reference to
> `vtkXRenderWindowInteractor::InternalDestroyTimer(int)'
> ../../bin/libvtkXdmf.so: undefined reference to
> `vtkXRenderWindowInteractor::App'
> ../../bin/libvtkXdmf.so: undefined reference to
> `vtkXRenderWindowInteractor::InternalCreateTimer(int, int, unsigned long)'
> ../../bin/libvtkXdmf.so: undefined reference to
> `vtkXRenderWindowInteractor::UpdateSize(int, int)'
> ../../bin/libvtkXdmf.so: undefined reference to `XtDispatchEvent'
> ../../bin/libvtkXdmf.so: undefined reference to
> `vtkXRenderWindowInteractor::Enable()'
> collect2: ld returned 1 exit status
> make[2]: *** [bin/vtkSMExtractDocumentation] Error 1
> make[1]: ***
> [ParaViewCore/ServerManager/CMakeFiles/vtkSMExtractDocumentation-real.dir/all]
> Error 2
> make: *** [all] Error 2
> 
> Could anybody help me out of this ?
> 
> 
> Thank you so much and have a nice day !
> 
> 
> ----------------------------------------------------
> Anh Dung LE.
> INSA de Lyon - Télécommunications, Services & Usages
> 



More information about the ParaView mailing list