[Paraview] Compilation error

Nikhil Shetty nikhil.shetty at kitware.com
Tue Feb 19 13:34:22 EST 2013


Hi Orion,

Can you verify if following topic fixed your issue

http://review.source.kitware.com/#/t/2177/

-Nikhil


On Wed, Feb 13, 2013 at 6:07 PM, Orion Poplawski <orion at cora.nwra.com>wrote:

> Similar on Fedora Rawhide.  See  http://paraview.org/Bug/view.**
> php?id=13870 <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.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<http://www.kitware.com/opensource/opensource.html>
>>>
>>> Please keep messages on-topic and check the ParaView Wiki at:
>>> http://paraview.org/Wiki/**ParaView <http://paraview.org/Wiki/ParaView>
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.paraview.org/**mailman/listinfo/paraview<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<http://www.kitware.com/opensource/opensource.html>
>>
>> Please keep messages on-topic and check the ParaView Wiki at:
>> http://paraview.org/Wiki/**ParaView <http://paraview.org/Wiki/ParaView>
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/**mailman/listinfo/paraview<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                       orion at 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<http://www.kitware.com/opensource/opensource.html>
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/**ParaView <http://paraview.org/Wiki/ParaView>
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/**mailman/listinfo/paraview<http://www.paraview.org/mailman/listinfo/paraview>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20130219/739acb80/attachment.htm>


More information about the ParaView mailing list