[Paraview-developers] compiling vtkOSPRayPass.cxx

David E DeMarle dave.demarle at kitware.com
Thu Jun 2 06:13:25 EDT 2016


One more thing, which compiler and cxx flags?

Adding the #include is surely fine, but I want to know why I haven't hit
this before first.

Thanks

On Thursday, June 2, 2016, Favre Jean <jfavre at cscs.ch> wrote:

> Dave
>
> that's the error:
>
> /local/apps/ParaView/ParaView/VTK/Rendering/OSPRay/vtkOSPRayPass.cxx: In
> constructor ‘vtkOSPRayPass::vtkOSPRayPass()’:
> /local/apps/ParaView/ParaView/VTK/Rendering/OSPRay/vtkOSPRayPass.cxx:74:10:
> error: expected type-specifier
>    catch (std::runtime_error &vtkNotUsed(e))
>           ^
> /local/apps/ParaView/ParaView/VTK/Rendering/OSPRay/vtkOSPRayPass.cxx:74:29:
> error: expected unqualified-id before ‘&’ token
>    catch (std::runtime_error &vtkNotUsed(e))
>                              ^
> /local/apps/ParaView/ParaView/VTK/Rendering/OSPRay/vtkOSPRayPass.cxx:74:29:
> error: expected ‘)’ before ‘&’ token
> /local/apps/ParaView/ParaView/VTK/Rendering/OSPRay/vtkOSPRayPass.cxx:74:29:
> error: expected ‘{’ before ‘&’ token
> /local/apps/ParaView/ParaView/VTK/Rendering/OSPRay/vtkOSPRayPass.cxx:74:43:
> error: expected primary-expression before ‘)’ token
>    catch (std::runtime_error &vtkNotUsed(e))
>                                            ^
> /local/apps/ParaView/ParaView/VTK/Rendering/OSPRay/vtkOSPRayPass.cxx:74:43:
> error: expected ‘;’ before ‘)’ token
> make[2]: ***
> [VTK/Rendering/OSPRay/CMakeFiles/vtkRenderingOSPRay.dir/vtkOSPRayPass.cxx.o]
> Error 1
> make[1]: *** [VTK/Rendering/OSPRay/CMakeFiles/vtkRenderingOSPRay.dir/all]
> Error 2
> make: *** [all] Error 2
>
>
> -----------------
> Jean
>


-- 
David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20160602/36ca3c69/attachment.html>


More information about the Paraview-developers mailing list