d3dx9.lib help

Posts 113 of 13 · Page 1 of 1
d3dx9.lib help
Code:
LINK : fatal error LNK1104: cannot open file 'd3dx9.lib'
This happens when I try to build.

The code where the error is:
Code:
#pragma comment(lib, "d3dx9.lib")
I don't know why this is happening. I included d3dx9.lib in the external dependencies and it still won't build.
Install the DirectX SDK
Then Include it in Your projects properties
/yea
__________

Perhaps I will post something more then just a smiling monkey next time.
Did all of that. Still not working.
lol@HD Nice edit to my post.

on-topic:
Quote Originally Posted by xsezzus
1. Download and Install the SDK
2. Download Visual C++2008

3. Open Visual C++ and then go to Tools/Options
4. In the new window look for ../Project and Solutions/VC++ Directories
5.In the right look for the combo box of "Show Directories for:"
6. In the combo box click on Include
7. In the box that's under the combo box, double click in the last spot (which is blank).
8. After click on it a "Examine" option will appear.. You have to search for the Instalation folder and double click..
9. after you have done the process with the Include. Repeat it but with the library I mean ook for Libraries instead of include in the combo box.

if you want to test that the linker is working just create a new Win32 app

after the headers add..

#include <d3d9.h> // if you are using DX9
#include <d3dx9.h>

DIRECT3D9 D3D = NULL;
DIRECT3DDEVICE9 D3Dd = NULL;

should work..
credits go to xsezzus of social.msdn.microsoft
Quote Originally Posted by serpentine View Post
lol@HD Nice edit to my post.

on-topic:


credits go to xsezzus of social.msdn.microsoft
Probably too advanced for him.
Quote Originally Posted by Hell_Demon View Post
Probably too advanced for him.
True, I think he needs a image/video tutorial.
If I figured it out, anyone can.
What is the point of Including D3D Libraries if you don't know how to code ?

I Say so because if you don't know how to set up Cpp Projects, This probably just means you are a pasta.

Start by the beginning, And Don't steal code, Period.
Figured it out. Had to change it to multibyte and then yes I had to download the DirectX SDK June 2010. Thanks for all the help.
All you had to do is put d3dx9.lib into your header files
Posts 113 of 13 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?