Similar on Fedora Rawhide.  See  http://paraview.org/Bug/view.php?id=13870

On 02/13/2013 12:57 PM, Utkarsh Ayachit wrote:
What is the system version of jpeg?

On Wed, Feb 13, 2013 at 12:09 PM, Anton Gladky <gladky.an...@gmail.com> wrote:
Hi all,

the latest 3.98.1 version fails to build on Debian, when the option
VTK_USE_SYSTEM_JPEG is ON.

=======
/tmp/buildd/paraview-3.98.1/VTK/IO/Image/vtkJPEGReader.cxx: In
function 'void jpeg_mem_src(j_decompress_p
tr, void*, long int)':
/tmp/buildd/paraview-3.98.1/VTK/IO/Image/vtkJPEGReader.cxx:95:80:
error: declaration of C function 'void
jpeg_mem_src(j_decompress_ptr, void*, long int)' conflicts with
In file included from
/tmp/buildd/paraview-3.98.1/obj-x86_64-linux-gnu/VTK/ThirdParty/jpeg/vtk_jpeg.h:29:
0,
                  from
/tmp/buildd/paraview-3.98.1/VTK/IO/Image/vtkJPEGReader.cxx:24:
/usr/include/jpeglib.h:961:13: error: previous declaration 'void
jpeg_mem_src(j_decompress_ptr, unsigned
char*, long unsigned int)' here
=======

As I understand function jpeg_mem_src() is declared in
/usr/include/jpeglib.h differently as in vtkJPEGReader.cxx.
The previous 3.98.0 version did not have such problem. How can one fix that?

Thanks,

Anton
_______________________________________________
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 ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview
_______________________________________________
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 ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview



--
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder Office                  FAX: 303-415-9702
3380 Mitchell Lane                       or...@nwra.com
Boulder, CO 80301                   http://www.nwra.com
_______________________________________________
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 ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to