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.<div>
<br></div><div>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.</div><div><br>Cheers</div><div>Andy<br><br><div class="gmail_quote">On 9 November 2012 14:08, Kyle Lutz <span dir="ltr"><<a href="mailto:kyle.lutz@kitware.com" target="_blank">kyle.lutz@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Fri, Nov 9, 2012 at 6:01 AM, Andrew Parker<br>
<<a href="mailto:andy.john.parker@googlemail.com">andy.john.parker@googlemail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I get this error building a fresh clone of 3.14.1 using gcc 4.7.2, vtk build<br>
> and works perfectly fine with this compiler so I presume it's a slight<br>
> change in ordering that has caused the problem.:<br>
><br>
> [ 30%] Building CXX object<br>
> VTK/Rendering/CMakeFiles/vtkRendering.dir/vtkFreeTypeUtilities.cxx.o<br>
> ParaView/VTK/Rendering/vtkFreeTypeUtilities.cxx: In function ‘FT_Error<br>
> vtkFreeTypeUtilitiesFaceRequester(FTC_FaceID, FT_Library, FT_Pointer,<br>
> FT_FaceRec_**)’:<br>
> ParaView/VTK/Rendering/vtkFreeTypeUtilities.cxx:343:46: error: expected<br>
> type-specifier before ‘intptr_t’<br>
> ParaView/VTK/Rendering/vtkFreeTypeUtilities.cxx:343:46: error: expected ‘>’<br>
> before ‘intptr_t’<br>
> ParaView/VTK/Rendering/vtkFreeTypeUtilities.cxx:343:46: error: expected ‘(’<br>
> before ‘intptr_t’<br>
> ParaView/VTK/Rendering/vtkFreeTypeUtilities.cxx:343:46: error: ‘intptr_t’<br>
> was not declared in this scope<br>
><br>
> Seems very simple, just seems to me to be a missing #include <stdint.h>,<br>
> fixing it by including said header in the cxx file above, then gives this:<br>
><br>
> ParaView/VTK/Rendering/vtkFreeTypeTools.cxx: In function ‘FT_Error<br>
> vtkFreeTypeToolsFaceRequester(FTC_FaceID, FT_Library, FT_Pointer,<br>
> FT_FaceRec_**)’:<br>
> ParaView/VTK/Rendering/vtkFreeTypeTools.cxx:229:46: error: expected<br>
> type-specifier before ‘intptr_t’<br>
> ParaView/VTK/Rendering/vtkFreeTypeTools.cxx:229:46: error: expected ‘>’<br>
> before ‘intptr_t’<br>
> ParaView/VTK/Rendering/vtkFreeTypeTools.cxx:229:46: error: expected ‘(’<br>
> before ‘intptr_t’<br>
> ParaView/VTK/Rendering/vtkFreeTypeTools.cxx:229:46: error: ‘intptr_t’ was<br>
> not declared in this scope<br>
><br>
> including this again inside the cxx fixes this too and it seems to go<br>
> through fine. Probably too late for 3.14.1 but might be of use for<br>
> 3.98....?<br>
><br>
> Let me know if this was the wrong thing to use?? As I've change my local<br>
> copy to reflect the above.<br>
<br>
</div></div>Hi Andrew,<br>
<br>
Can you let us know what compiler and operating system you are using?<br>
<br>
Also, have you tried with the new ParaView-3.98-RC1 release?<br>
<br>
Thanks,<br>
Kyle<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><p>__________________________________</p><p> Dr Andrew Parker</p><p> <a href="mailto:Em@il" target="_blank">Em@il</a>: <a href="mailto:andrew.parker@cantab.net" target="_blank">andrew.parker@cantab.net</a></p>
<br>
</div>