[Paraview] Installing ParaViewWeb problems

Arya Mazaheri aryanet at gmail.com
Wed Sep 12 11:08:58 EDT 2012


Hi there, 
I tried to install ParaViewWeb on my Macbook Pro. I have compiled and installed ParaView 3.14.1 from it's source. Also, other prerequisites packages. So I believe that using SuperBuild is not suitable for me. Then I decided to install it manually with the help of the following url:
http://www.paraview.org/Wiki/ParaViewWeb_Building 

But I faced with many problems.
First it gives me the following error when I run the 'make' command:

/Users/Projects/WebViz/ParaViewWeb/ParaViewAdapter/vtkPWProcessingEngine.cxx:439:19: error: no member named 'SetInputData' in 'vtkJPEGWriter'; did you mean 'SetInput'?
      jpegWriter->SetInputData(image);
                  ^~~~~~~~~~~~
                  SetInput
/CompiledSoftwares/ParaView-3.14.1-Source/VTK/Filtering/vtkImageAlgorithm.h:59:8: note: 'SetInput' declared here
  void SetInput(vtkDataObject *);
       ^
/Users/Projects/WebViz/ParaViewWeb/ParaViewAdapter/vtkPWProcessingEngine.cxx:448:18: error: no member named 'SetInputData' in 'vtkPNGWriter'; did you mean 'SetInput'?
      pngWriter->SetInputData(image);
                 ^~~~~~~~~~~~
                 SetInput
/CompiledSoftwares/ParaView-3.14.1-Source/VTK/Filtering/vtkImageAlgorithm.h:59:8: note: 'SetInput' declared here
  void SetInput(vtkDataObject *);
       ^
1 warning and 2 errors generated.
make[2]: *** [ParaViewAdapter/CMakeFiles/PWServer.dir/vtkPWProcessingEngine.cxx.o] Error 1
make[1]: *** [ParaViewAdapter/CMakeFiles/PWServer.dir/all] Error 2
make: *** [all] Error 2



I replaced all of SetInputData instances with SetInput. It fixed the problem but after that another problem came out:
Linking CXX executable PWServer
ld: library not found for -lvtkPVServerManagerApplication
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [ParaViewAdapter/PWServer] Error 1
make[1]: *** [ParaViewAdapter/CMakeFiles/PWServer.dir/all] Error 2
make: *** [all] Error 2


For temporarily fixing this problem I removed the vtkPVServerManagerApplication from CMakeLists.txt. Then It compiled without error. But I think it would be not working properly in the future.
Is there any clue?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120912/17c36dc4/attachment.htm>


More information about the ParaView mailing list