# Demo fails to build with VS2010

**URL:** <https://forum.juce.com/t/demo-fails-to-build-with-vs2010/17505>\
**Category:** Windows\
**Created:** [April 26, 2016, 9:12pm UTC](https://forum.juce.com/t/demo-fails-to-build-with-vs2010/17505 "2016-04-26T21:12:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MiniJoe](https://avatars.discourse-cdn.com/v4/letter/m/35a633/32.png) [@MiniJoe](https://forum.juce.com/u/MiniJoe)\
**Post date:** [April 26, 2016, 9:12pm UTC](https://forum.juce.com/t/demo-fails-to-build-with-vs2010/17505/1 "2016-04-26T21:12:57Z")

</div>

The JuceDemo project fails to build with VS2010 since the addition of the runtime permissions. Error:

```
'juce::RuntimePermissions::request' : cannot convert parameter 2 from `anonymous-namespace'::<lambda0>' to 'juce::RuntimePermissions::Callback'
      No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called

```

I am using master branch. The Demo builds OK with VS2012.

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [April 27, 2016, 8:01am UTC](https://forum.juce.com/t/demo-fails-to-build-with-vs2010/17505/2 "2016-04-27T08:01:31Z")

</div>

Thanks. We _might_ fix that, but TBH VS2010 is very old now and although the juce library itself is still C++03 compatible so that people aren’t blocked from using it in their actual products, we’re being quite relaxed about a bit of C++11 in things like the demo app.

---

<div class="post-metadata">

**Author:** ![Melefono](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/melefono/32/1806_2.png) [@Melefono](https://forum.juce.com/u/Melefono)\
**Post date:** [April 27, 2016, 2:13pm UTC](https://forum.juce.com/t/demo-fails-to-build-with-vs2010/17505/3 "2016-04-27T14:13:52Z")

</div>

If I were you, I’d just switch to vs 2015 (or any newer than vs 2010). And then make a new exporter for your project in the projucer project config.
