http://www.itk.org/pipermail/insight-us ... 43177.htmlIt seems like this header file checks for redefinition of reserved words; maybe Microsoft added more words to that list?
Here's a paste of the relevant part:
http://pastebin.com/xrZSrpESEdit:Found the culprit in juce_PlatformDefs.h:
- Code: Select all
#if ! (DOXYGEN || JUCE_COMPILER_SUPPORTS_NOEXCEPT)
#define noexcept throw()
#endif
Also in stream_decoder.cpp:
- Code: Select all
#if _MSC_VER <= 1600 || defined __BORLANDC__ /* @@@ [2G limit] */
#define fseeko fseek
#define ftello ftell
#endif
_MSC_VER is now 1700...
Also, before you can even try to build, this is what happens:
- Code: Select all
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets(34,5): error MSB8020: The builds tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To build using the v100 build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects...". Install Visual Studio 2010 to build using the Visual Studio 2010 build tools.
To resolve this issue you can either 'Update VC++ Projects' or just install Visual Studio 2010.
If you choose the option of installing Visual Studio 2010, it will compile, but when trying to start the compiled product, I get this messagebox:
- Code: Select all
---------------------------
Microsoft Visual Studio
---------------------------
Unable to cast object of type 'Microsoft.VisualStudio.Project.ConfiguredProjectCache`1[Microsoft.VisualStudio.Project.Immutables.ImmutableHashMap`2[System.String,System.Threading.Tasks.Task`1[Microsoft.VisualStudio.Project.PropertyPages.PropertyPagesCatalog]]]' to type 'Microsoft.VisualStudio.Project.ConfiguredProjectCache`1[Microsoft.VisualStudio.Project.Immutables.ImmutableHashMap`2[System.String,Microsoft.VisualStudio.Project.PropertyPages.PropertyPagesCatalog]]'.
---------------------------
OK
---------------------------
Probably some incompatibility between VS11 debugger and VS10 build tools.
I upgraded the projects and now I have JuceDemo running under Visual Studio 11 and Windows 8 Consumer Preview
