Jump to content

  • Log In with Google      Sign In   
  • Create Account



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
4 replies to this topic

#1 NitroNbg   Members   -  Reputation: 104

Like
0Likes
Like

Posted 29 July 2012 - 12:41 PM

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, 29 July 2012 - 12:42 PM.


Sponsor:

#2 Ripiz   Members   -  Reputation: 529

Like
0Likes
Like

Posted 29 July 2012 - 11:27 PM

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.

#3 NitroNbg   Members   -  Reputation: 104

Like
0Likes
Like

Posted 30 July 2012 - 03:54 AM

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.

#4 DerekEhrman   Members   -  Reputation: 127

Like
0Likes
Like

Posted 30 July 2012 - 09:22 AM

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

#5 MahanGM   Members   -  Reputation: 119

Like
0Likes
Like

Posted 31 July 2012 - 11:03 AM

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.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS