Jump to content
  • Advertisement
Sign in to follow this  
NitroNbg

error lnk1104

This topic is 2175 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi everybody.
I've started learning game development from directxtutorial and I've ran into error lnk1104: cannot open file 'd3dx11.lib' error.
I'm using Visual Studio 11 Beta and Win7 x64. I've compared, and eventually copy/pasted the code from the website but the error doesn't change, let alone, solve itself.
P.S. I've added the SDK directories to the VC++ Directories as well as Additional Dependencies list, but nothing changes. Thanks in advance Edited by NitroNbg

Share this post


Link to post
Share on other sites
Advertisement
This might sound trivial/stupid/offensive but I still have to ask.
Have you downloaded and install DirectX SDK? Have you added DirectX SDK\lib\x86 to linker's Aditional Library Directories?

If you are using Visual Studio 11 Beta without DirectX SDK, then d3dx11 library doesn't exist, it was deprecated. You'll have to write texture loading yourself, compile shaders manually or through VS, and do yourself whatever other features d3dx11 provided.

P.S. It's called Visual Studio 2012 now, old version was 11, you might need to update.

Share this post


Link to post
Share on other sites
Yes I've added both x86 and x64 directories to the additional dependencies. And the SDK I downloaded is June 2010, but I don't recall there's any newer SDK published. Thanks about the info for the VS, I might upload it, though I don't want to.

Share this post


Link to post
Share on other sites
Just to be sure ... have you double-checked that you do indeed have the required lib on your machine in an appropriate location?

Share this post


Link to post
Share on other sites
I'm not sure but link the debug library to see if it works "d3dx9d.lib". And ensure that you include the Lib and Include path of DX SDK after all of the included libraries such as Windows SDK.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!