d3dx9.h not found also issue for msvc2010/msvc2012
Posted: Tue Mar 04, 2014 5:00 pm
Compiling with OGRE_Static using msvc2012 I get a fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory for the samplebrowser. It is also mentioned in the bug Sample browser fails to compile in MSVC 2010 when OGRE_STATIC=true in january, but it still exists.
I think it is fixed by removing the MingW-only check (or adding MSVC as extra option) in the SampleBrowsers CmakeList.txt (see patch)
I think it is fixed by removing the MingW-only check (or adding MSVC as extra option) in the SampleBrowsers CmakeList.txt (see patch)