2012年2月3日 星期五

[WebKit] fatal error LNK1104: cannot open file 'd3dx9.lib'

Error Message:
fatal error LNK1104: cannot open file 'd3dx9.lib'

Solution:
Try to open Tools->Options->Projects and Solutions->VC++ Directories , 
and here choose :
Platform: Win32
and
Show directories for :Library files 
and add here path to folder where d3dx9.lib is situated 
For example D:\DirectX_SDK\Lib\x86
To use header-files in program ,for example such code like:
#include <d3dx9.h>
you need to choose:
Platform: Win32
and
Show directories for :Include files 
and add here path to folder where d3dx9.h is situated 
For example D:\DirectX_SDK\Include
And add in Project->Properties->Configuration Properties->Linker->Input & Additional Dependences :
d3d9.lib d3dx9.lib 

Reference:
http://www.dreamincode.net/forums/topic/61430-fatal-error-lnk1104-cannot-open-file-d3dx9lib/

沒有留言:

張貼留言