[Paraview] Bug with 4.7.2 build and 3.14.1

Andrew Parker andy.john.parker at googlemail.com
Fri Nov 9 09:12:06 EST 2012


As I said, I'm using gcc 4.7.2 built on opensuse 12.1.  Both CMake and VTK
5.10.1 are built with this compiler and are working perfectly properly.
 However, I was using an old build of paraview.  Updating this to reflect
the change in compiler gives the errors noted below.

I will try to kick of 3.98 over the weekend and feed back anything, but
these I would suggest will likely still be a problem.

Cheers
Andy

On 9 November 2012 14:08, Kyle Lutz <kyle.lutz at kitware.com> wrote:

> On Fri, Nov 9, 2012 at 6:01 AM, Andrew Parker
> <andy.john.parker at googlemail.com> wrote:
> > Hi,
> >
> > I get this error building a fresh clone of 3.14.1 using gcc 4.7.2, vtk
> build
> > and works perfectly fine with this compiler so I presume it's a slight
> > change in ordering that has caused the problem.:
> >
> > [ 30%] Building CXX object
> > VTK/Rendering/CMakeFiles/vtkRendering.dir/vtkFreeTypeUtilities.cxx.o
> > ParaView/VTK/Rendering/vtkFreeTypeUtilities.cxx: In function ‘FT_Error
> > vtkFreeTypeUtilitiesFaceRequester(FTC_FaceID, FT_Library, FT_Pointer,
> > FT_FaceRec_**)’:
> > ParaView/VTK/Rendering/vtkFreeTypeUtilities.cxx:343:46: error: expected
> > type-specifier before ‘intptr_t’
> > ParaView/VTK/Rendering/vtkFreeTypeUtilities.cxx:343:46: error: expected
> ‘>’
> > before ‘intptr_t’
> > ParaView/VTK/Rendering/vtkFreeTypeUtilities.cxx:343:46: error: expected
> ‘(’
> > before ‘intptr_t’
> > ParaView/VTK/Rendering/vtkFreeTypeUtilities.cxx:343:46: error: ‘intptr_t’
> > was not declared in this scope
> >
> > Seems very simple, just seems to me to be a missing #include <stdint.h>,
> > fixing it by including said header in the cxx file above, then gives
> this:
> >
> > ParaView/VTK/Rendering/vtkFreeTypeTools.cxx: In function ‘FT_Error
> > vtkFreeTypeToolsFaceRequester(FTC_FaceID, FT_Library, FT_Pointer,
> > FT_FaceRec_**)’:
> > ParaView/VTK/Rendering/vtkFreeTypeTools.cxx:229:46: error: expected
> > type-specifier before ‘intptr_t’
> > ParaView/VTK/Rendering/vtkFreeTypeTools.cxx:229:46: error: expected ‘>’
> > before ‘intptr_t’
> > ParaView/VTK/Rendering/vtkFreeTypeTools.cxx:229:46: error: expected ‘(’
> > before ‘intptr_t’
> > ParaView/VTK/Rendering/vtkFreeTypeTools.cxx:229:46: error: ‘intptr_t’ was
> > not declared in this scope
> >
> > including this again inside the cxx fixes this too and it seems to go
> > through fine.  Probably too late for 3.14.1 but might be of use for
> > 3.98....?
> >
> > Let me know if this was the wrong thing to use?? As I've change my local
> > copy to reflect the above.
>
> Hi Andrew,
>
> Can you let us know what compiler and operating system you are using?
>
> Also, have you tried with the new ParaView-3.98-RC1 release?
>
> Thanks,
> Kyle
>



-- 

__________________________________

   Dr Andrew Parker

   Em at il:  andrew.parker at cantab.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20121109/1caa1f12/attachment-0001.htm>


More information about the ParaView mailing list