# Atomic not found in 5.1.2

**URL:** <https://forum.juce.com/t/atomic-not-found-in-5-1-2/24661>\
**Category:** Audio Plugins\
**Created:** [October 14, 2017, 3:02pm UTC](https://forum.juce.com/t/atomic-not-found-in-5-1-2/24661 "2017-10-14T15:02:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![lcapozzi](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/lcapozzi/32/10960_2.png) [@lcapozzi](https://forum.juce.com/u/lcapozzi)\
**Post date:** [October 14, 2017, 3:02pm UTC](https://forum.juce.com/t/atomic-not-found-in-5-1-2/24661/1 "2017-10-14T15:02:56Z")

</div>

Hi,  
I’m trying to set up a new project using 5.1.2 and dsp module. when I try to build I get an error on line 104 of juce\_dsp.h… atomic include cannot be found. Anybody?

---

<div class="post-metadata">

**Author:** ![jonathonracz](https://avatars.discourse-cdn.com/v4/letter/j/da6949/32.png) [@jonathonracz](https://forum.juce.com/u/jonathonracz)\
**Post date:** [October 15, 2017, 3:25am UTC](https://forum.juce.com/t/atomic-not-found-in-5-1-2/24661/2 "2017-10-15T03:25:57Z")

</div>

`<atomic>` is part of the C++11 standard, and `juce_dsp` requires at least C++14 to function. What’s your compiler?

---

<div class="post-metadata">

**Author:** ![lcapozzi](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/lcapozzi/32/10960_2.png) [@lcapozzi](https://forum.juce.com/u/lcapozzi)\
**Post date:** [October 15, 2017, 7:52am UTC](https://forum.juce.com/t/atomic-not-found-in-5-1-2/24661/3 "2017-10-15T07:52:31Z")

</div>

Thanks. Yesterday I figured that out and got it to compile. Do you know what are the minimum OSX/Windows versions that can support C++14? Thanks again.

---

<div class="post-metadata">

**Author:** ![jonathonracz](https://avatars.discourse-cdn.com/v4/letter/j/da6949/32.png) [@jonathonracz](https://forum.juce.com/u/jonathonracz)\
**Post date:** [October 15, 2017, 5:47pm UTC](https://forum.juce.com/t/atomic-not-found-in-5-1-2/24661/4 "2017-10-15T17:47:56Z")

</div>

Well, it’s not about the OS, but having a C++14 compatible compiler which is able to target earlier OSes. I would recommend using the latest if you can of course, being VS2017/Xcode 8, but at the very least later versions of VS2015/Xcode 7 _should_ have C++14 support (if my memory serves correctly).

---

<div class="post-metadata">

**Author:** ![lcapozzi](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/lcapozzi/32/10960_2.png) [@lcapozzi](https://forum.juce.com/u/lcapozzi)\
**Post date:** [October 15, 2017, 7:23pm UTC](https://forum.juce.com/t/atomic-not-found-in-5-1-2/24661/5 "2017-10-15T19:23:43Z")

</div>

I have Xcode 8 and VS2015. xcode targets c++14. not sure about VS2015 yet.

---

<div class="post-metadata">

**Author:** ![lcapozzi](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/lcapozzi/32/10960_2.png) [@lcapozzi](https://forum.juce.com/u/lcapozzi)\
**Post date:** [October 16, 2017, 4:57pm UTC](https://forum.juce.com/t/atomic-not-found-in-5-1-2/24661/6 "2017-10-16T16:57:10Z")

</div>

So far I’ve been able to successfully build on XCode 8 using C++14, the latest SDK version and 10.9 as deployment target. It doesn’t seems to work if I set 10.7 as target and, unfortunately, that’s the bare minimum required for my customers. Should I be forced to “discontinue” support for OSX versions below 10.9?
