# Compilation fails with intel compiler on MacOS 10.15.4

**URL:** https://discourse.paraview.org/t/compilation-fails-with-intel-compiler-on-macos-10-15-4/4193
**Category:** ParaView Support
**Created:** [April 27, 2020, 6:07pm UTC](https://discourse.paraview.org/t/compilation-fails-with-intel-compiler-on-macos-10-15-4/4193 "2020-04-27T18:07:18Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![bknaepen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/bknaepen/32/1636_2.png) [@bknaepen](https://discourse.paraview.org/u/bknaepen)
#### Post date: [April 27, 2020, 6:07pm UTC](https://discourse.paraview.org/t/compilation-fails-with-intel-compiler-on-macos-10-15-4/4193/1 "2020-04-27T18:07:18Z")

</div>

Hello,

I am trying to compile the CATALYST\_RENDERING edition of paraview on my Mac but it fails with the following error:

```auto
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/atomic(970): error: no suitable constructor exists to convert from "void" to "std:: __1::__ thread_id"
      return __c11_atomic_load(const_cast<__ptr_type>(& __a->__ a_value), static_cast<__memory_order_underlying_t>(__order));
             ^
          detected during:
            instantiation of "_Tp std:: __1::__ cxx_atomic_load(const std:: __1::__ cxx_atomic_base_impl<_Tp> *, std:: __1::memory_order={std::__ 1::memory_order}) [with _Tp=std::__1::thread::id]" at line 1487
            instantiation of "_Tp std:: __1::__ atomic_base<_Tp, <unnamed>>::load(std:: __1::memory_order={std::__ 1::memory_order}) const [with _Tp=std::__1::thread::id, <unnamed>=false]" at line 808 of "/Users/bknaepen/Sources/paraview_intel/ThirdParty/protobuf/vtkprotobuf/src/google/protobuf/generated_message_util.cc"

compilation aborted for /Users/bknaepen/Sources/paraview_intel/ThirdParty/protobuf/vtkprotobuf/src/google/protobuf/generated_message_util.cc (code 2)
make[2]: *** [ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protobuf.dir/google/protobuf/generated_message_util.cc.o] Error 2
make[1]: *** [ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protobuf.dir/all] Error 2
make: *** [all] Error 2

```

I am not familiar with where cmake stores all the log files to provide extra information. The compiler is intel 19.1.1.216 (so the current latest version) and MacOS is Catalina 10.15.4

Compiling with brew installed gcc suite works fine…

Thanks for any help,

Regards,  
Bernard.

---

<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 28, 2020, 3:01am UTC](https://discourse.paraview.org/t/compilation-fails-with-intel-compiler-on-macos-10-15-4/4193/2 "2020-04-28T03:01:01Z")

</div>

@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 28, 2020, 12:48pm UTC](https://discourse.paraview.org/t/compilation-fails-with-intel-compiler-on-macos-10-15-4/4193/3 "2020-04-28T12:48:07Z")

</div>

It appears as though the Intel compiler doesn’t like the Xcode you’re using. @chuckatkins?
