简体   繁体   中英

Effects11d.lib file, DirectX11 on visual studio 2017/2015

Nowdays my team study DirectX11 with book which name is introduction to 3D game programming with DirectX11.

we are trying to set up our visual studio(ver 2017, 2015) as the book says. But we failed because Effects11d.lib file is missing.

Where can we download or find that file?(the file isn't on C drive where windows installed)

If there is any other solution, please give me an advice

The DirectX 11 book you are using most likely expects you to be using the legacy DirectX SDK. The issue is that the Windows SDK that comes with VS 2015 and VS 2017 contains newer headers than those that shipped in the now 8 years old legacy DirectX SDK where they overlap, and some portion of the legacy DirectX SDK is deprecated so is not present on your system already.

You can still use the legacy DirectX SDK with VS 2015 / VS 2017, but you need to take some extra steps. Most of those steps are detailed at the bottom of this MSDN page.

There are also known issues trying to install the legacy DirectX SDK. See this post .

You should also review the post: Where's DXERR.LIB?

Specifically using the Effects 11 library, you should use the latest from from GitHub which you can also find on NuGet . The latest version works both with and without using the legacy DirectX SDK.

Ideally you should avoid using the legacy DirectX SDK all together. See Living without D3DX and The Zombie DirectX SDK for details.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM