[vtkusers] [ParaViewWeb] compile problem with class vtkJPEGWriter and function SetInput

Tuan Ha Tran tuan-ha.tran at insa-lyon.fr
Fri Apr 6 05:12:48 EDT 2012


Hi everybody,
   I have a problem when trying to compile ParaViewWeb
   This is the detail of my problem

***********************************************************************
%] Built target ParaWebPlugin
Scanning dependencies of target PWServer
[ 30%] Building CXX object ParaViewAdapter/CMakeFiles/PWServer.dir/vtkPWProcessingEngine.cxx.o
/home/thtran/projects/ParaViewWeb/ParaViewAdapter/vtkPWProcessingEngine.cxx: In member function ‘double vtkPWProcessingEngine::ProcessAndSendImage(const char*, vtkImageData*)’:
/home/thtran/projects/ParaViewWeb/ParaViewAdapter/vtkPWProcessingEngine.cxx:439:19: error: ‘class vtkJPEGWriter’ has no member named ‘SetInput’
/home/thtran/projects/ParaViewWeb/ParaViewAdapter/vtkPWProcessingEngine.cxx:448:18: error: ‘class vtkPNGWriter’ has no member named ‘SetInput’
make[2]: *** [ParaViewAdapter/CMakeFiles/PWServer.dir/vtkPWProcessingEngine.cxx.o] Error 1
make[1]: *** [ParaViewAdapter/CMakeFiles/PWServer.dir/all] Error 2
make: *** [all] Error 2
*************************************************************************

When I went to the "wtkPWProcesingEngine.cxx", I found out that wtkJPEGWriter is included by #include vtkJPEGWriter.h". But I couldn't find wtkJPEGWriter.h neither vtkJPEGWriter.cxx.

When I tried to look for vtkJPEGWriter.cxx by Google, I found this file but I couldn't find any function "SetInput".

When I tried to deactivate the line where SetInput is located, ParaViewWeb compile, but I think there are some problems with it. 

I want to know if someone has the same problem? How to fix that?
Thank you all.

Ha 






More information about the vtkusers mailing list