Demo fails to build with VS2010


#1

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.


#2

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.


#3

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.