Jump to content
  • Advertisement
Sign in to follow this  

Failed linker to d3dx9

This topic is 3853 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

I got a failed linker weird tho the directory is linked to Dxsdk/lib where d3dx9 is, I'm linked through DXSDK in visual studio and the project file itselfmaybe I did something wrong? PlatformSDK was not needed Im using the DirectX 9 SDK, with Visual Studio Express Edition 2008: this is my problem Linking... LINK : fatal error LNK1104: cannot open file 'd3dx9.lib' Build log was saved at "file://c:\Documents and Settings\Main\My Documents\Visual Studio 2008\Projects\FUCK\DX\Debug\BuildLog.htm" DX - 1 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== --------------------------------------------------------------------- Here is how I linked to visual studio 2008 tools->options->VC++ Directories->added: dxsdk\include added: dxsdk\lib heres how I linked to my project file DX Project->DXProperties->ConfigurationProperties->C\C++->general->additional include directories->added: dxsdk\include added: dxsdk\lib -------------------------------------------------------------------- this are the include packages #include <windows.h> //#include <windowsx.h> #include <d3d9.h> #include <d3dx9.h> ------------------------------ Heres the lib includes #pragma comment (lib, "d3d9.lib") #pragma comment (lib, "d3dx9.lib") -------------------------------------- I looked through every possible way, maybe im using the wrong studio with dx 9 or something, please help me

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!