# Fail to build ParaView for ARM arch.

**URL:** https://discourse.paraview.org/t/fail-to-build-paraview-for-arm-arch/6928
**Category:** ParaView Support
**Tags:** vtk
**Created:** [April 11, 2021, 7:37pm UTC](https://discourse.paraview.org/t/fail-to-build-paraview-for-arm-arch/6928 "2021-04-11T19:37:35Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Andythe\_great](https://discourse.paraview.org/user_avatar/discourse.paraview.org/andythe_great/32/6126_2.png) [@Andythe\_great](https://discourse.paraview.org/u/Andythe_great)
#### Post date: [April 11, 2021, 7:37pm UTC](https://discourse.paraview.org/t/fail-to-build-paraview-for-arm-arch/6928/1 "2021-04-11T19:37:35Z")

</div>

Hello,

I just create Flatpak package for ParaView 5.9.0.

> **[ParaView | Flathub](https://flathub.org/apps/org.paraview.ParaView)**
>
> Data analysis and visualization

But it fail to build for ARM arch.

> <https://github.com/flathub/org.paraview.ParaView/pull/1>
>
> try enable build for arm

I don’t have ARM CPU myself, I can only use Github action to build it.

The full log can be download here: [Flathub builds](https://flathub.org/builds/#/builders/5/builds/3454)

I think the relevant error is this.  
It seems VTK have issue building on ARM arch?

Thanks.

> /run/build/Paraview/VTK/GUISupport/Qt/QVTKOpenGLWindow.cxx: In member function ‘virtual void QVTKOpenGLWindow::paintGL()’:  
> /run/build/Paraview/VTK/GUISupport/Qt/QVTKOpenGLWindow.cxx:260:43: error: ‘GL\_BACK\_LEFT’ was not declared in this scope  
> 260 | this-\>defaultFramebufferObject(), GL\_BACK\_LEFT, QRect(QPoint(0, 0), deviceSize));  
> | ^ ~~~~~~~~~~~  
> /run/build/Paraview/VTK/GUISupport/Qt/QVTKOpenGLWindow.cxx:262:43: error: ‘GL\_BACK\_RIGHT’ was not declared in this scope  
> 262 | this-\>defaultFramebufferObject(), GL\_BACK\_RIGHT, QRect(QPoint(0, 0), deviceSize));  
> | ^ ~~~~~~~~~~~~  
> /run/build/Paraview/VTK/GUISupport/Qt/QVTKOpenGLWindow.cxx:267:43: error: ‘GL\_BACK\_LEFT’ was not declared in this scope  
> 267 | this-\>defaultFramebufferObject(), GL\_BACK\_LEFT, QRect(QPoint(0, 0), deviceSize));  
> | ^ ~~~~~~~~~~~

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [April 19, 2021, 10:08am UTC](https://discourse.paraview.org/t/fail-to-build-paraview-for-arm-arch/6928/2 "2021-04-19T10:08:27Z")

</div>

ARM is not tested afaik.

In any case this code is for stereo rendering, which of course is not supported on any GPU on a ARM board I suppose.

FYI @ben.boeckel

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [April 19, 2021, 2:53pm UTC](https://discourse.paraview.org/t/fail-to-build-paraview-for-arm-arch/6928/3 "2021-04-19T14:53:31Z")

</div>

Seems like an OpenGL/EGL issue maybe? More of a @martink question I think.
