Visual Studio is complaining about the imapi.h file (“Cannot open include file”) with the latest SVN of Juce. I noticed that -trunk/build/win32/platform_specific_code/juce_win32_AudioCDReader.cpp
has been updated to include this file. Also my old Windows dev machine is complaining about it too now.
Is that located in “c:\Program Files\Microsoft SDKs\Windows\v6.0\Include”
When I explicitly include the file I get about 30 Errors in “c:\program files\microsoft sdks\windows\v6.0\include\ocidl.h”.
I was having the same issue, and after installing the latest SDK (version 6.1, for Windows Server 2008), I have multiple compiler issues with the intrin.h. I’m now downloading SP1 for Visual Studio (professional edition), but I don’t know if that will fix it. Is there anything else that could be wrong?
With 1.45, I didn’t have to do anything with my VS configuration to do a build.
That is not a problem with JUCE; that’s a conflict between Visual Studio header files and the SDK header files.
It is easy to fix; you just need to edit the header file so that the declarations are the same as in the other header file with the conflicting declarations. If I remember right, you just need to add the volatile keyword in a few places.
Yes with the older SDK VS2005 works fine. Platform SDK 6.0 and above breaks 2005 for some reason, on all my machines. VC++ 2008 Express also works. When time comes Ill get the new Visual Studio…