# Crash when using TApplication on new macOS ROOT build

**URL:** <https://root-forum.cern.ch/t/crash-when-using-tapplication-on-new-macos-root-build/35271>\
**Category:** ROOT\
**Created:** [July 19, 2019, 2:37pm UTC](https://root-forum.cern.ch/t/crash-when-using-tapplication-on-new-macos-root-build/35271 "2019-07-19T14:37:59Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![jemarq04](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/j/cc9497/32.png) [@jemarq04](https://root-forum.cern.ch/u/jemarq04)\
**Post date:** [July 22, 2019, 2:56pm UTC](https://root-forum.cern.ch/t/crash-when-using-tapplication-on-new-macos-root-build/35271/6 "2019-07-22T14:56:44Z")

</div>

Same linker error as before:

```auto
[90%] Linking C shared library ../../lib/libGLEW.so
Undefined symbols for architecture x86_64:
  "_glXGetClientString", referenced from:
      _glxewGetExtension in glew.c.o
  "_glXQueryVersion", referenced from:
      _glxewContextInit in glew.c.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libGLEW.so] Error 1
make[1]: *** [graf3d/glew/CMakeFiles/GLEW.dir/all] Error 2
make: *** [all] Error 2

```

Compiled with `cmake ../root-6.18.00/ -Dx11=ON -Dcocoa=OFF -DCMAKE_C_FLAGS="-I/opt/X11/include" -DCMAKE_CXX_FLAGS="-I/opt/X11/include" -DCMAKE-CXX_COMPILER="clang++" -DCMAKE_C_COMPILER="clang" -Dmacos_native=OFF`

---

_[View the full topic](https://root-forum.cern.ch/t/crash-when-using-tapplication-on-new-macos-root-build/35271)._
