   Can't compile DX samples in VS C++
  I am trying to compile the DX samples in VS .Net 2005 C++ and I am getting an error everytime. As far as I know I have setup the references and everything fine but this is the error I am getting.fatal error LNK1104: cannot open file 'd3dxof.lib'It says it compiles fine but when I click build it does that. What is the difference between build and and compile?? Im not sure why it cannot open this file because my addition dependencies set are...d3dxof.lib dxguid.lib d3dx9d.lib d3d9.lib winmm.lib   
  Hey, have you also set your paths? this needs to be done aswell as setting the additional dependancies.goto Tools > Options > Projects & Solutions > VC++ Directories > Goto the 'Include Files' combo item and addC:\Program Files\DirectX SDK (version)\Includeand select the 'Library Files' combo item and includeC:\Program Files\DirectX SDK (version)\Lib\x86  (assuming your WinXP)d3dxof.lib is in the library path, so hopefully VC++ will find it now.   ;  Yeah I already did that =/ thats why I can't figure out why it cannot find it.   ;  Oh you were right, for some reason I didn't have the /x86 on the end and that was the problem. I appreciate the help :)   