[vtkusers] [ParaViewWeb] compile problem with class vtkJPEGWriter and function SetInput
Sebastien Jourdain
sebastien.jourdain at kitware.com
Fri Apr 6 09:11:17 EDT 2012
Hi Tuan Ha Tran,
how did you build ParaViewWeb ? Did you do from the super build or
from the main repository ?
ParaViewWeb basically rely on ParaView that embed VTK which embed that
vtkJPEGWriter.cxx
Which version of ParaView did you used ? The latest release (3.14) is
known to work...
Seb
On Fri, Apr 6, 2012 at 5:12 AM, Tuan Ha Tran <tuan-ha.tran at insa-lyon.fr> wrote:
> 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
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list