Page 1 of 1

[2.2] Can't load D3D11 dll with latest freebsd PR merged

Posted: Wed Nov 13, 2019 6:46 am
by rujialiu
In OgreDynLib.cpp there are two such lines:

Code: Select all

#elif OGRE_PLATFORM == OGRE_PLATFORM_LINUX || OGRE_PLATFORM == OGRE_PLATFORM_NACL || OGRE_PLATFORM_FREEBSD
It's causing "can't load D3D11 dll" because the ".dll" suffix is not appended to the filename.

Re: [2.2] Can't load D3D11 dll with latest freebsd PR merged

Posted: Wed Nov 13, 2019 2:52 pm
by TaaTT4
You're right. I believe it should be:

Code: Select all

OGRE_PLATFORM == OGRE_PLATFORM_FREEBSD