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

Discussion area about developing with Ogre-Next (2.1, 2.2 and beyond)


rujialiu
Goblin
Posts: 296
Joined: Mon May 09, 2016 8:21 am
x 35

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

Post 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.
User avatar
TaaTT4
OGRE Contributor
OGRE Contributor
Posts: 267
Joined: Wed Apr 23, 2014 3:49 pm
Location: Bologna, Italy
x 75

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

Post by TaaTT4 »

You're right. I believe it should be:

Code: Select all

OGRE_PLATFORM == OGRE_PLATFORM_FREEBSD

Senior programmer at 505 Games; former senior engine programmer at Sandbox Games
Worked on: Racecraft EsportRacecraft Coin-Op, Victory: The Age of Racing