Compiling Ogre 1.9 D3D9 plugin with VS 2015

Discussion area about developing or extending OGRE, adding plugins for it or building applications on it. No newbie questions please, use the Help forum for that.
Post Reply
Pellaeon
Goblin
Posts: 230
Joined: Thu Apr 28, 2011 12:23 pm
x 28

Compiling Ogre 1.9 D3D9 plugin with VS 2015

Post by Pellaeon »

Hi,

as stated out in another post, the D3D9 plugin doesn't compile with the new VS2015 because of the deprecated DxErr.lib and a change in the new C runtime.
To use the new VS 2015 anyway I did some minor changes in the plugin based on this post: http://blogs.msdn.com/b/chuckw/archive/ ... r-lib.aspx.

So for whom it may concern: see attachments. I added the files in the src/RenderSystems/Direct3D9/include and src directory and added the file to the VS solution in the ide. Worked fine for me. At last I added the new OgreDxErr.h to my SDK folder. I compiled ogre with multibyte character. So for those needing unicode (OgreString as std:.wstring) they must adapt the files!


Best regards

Pellaeon
Attachments
Direct3D9.7z
all together
(73.96 KiB) Downloaded 91 times
Post Reply