[Paraview] Compilation error

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Wed Feb 13 14:57:16 EST 2013


What is the system version of jpeg?

On Wed, Feb 13, 2013 at 12:09 PM, Anton Gladky <gladky.anton at 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


More information about the ParaView mailing list