Add the DirectX SDK include and lib folders to your project directories settings in Visual Studio (Tools/Options Projects & Solutions under VC++ Directories. It is generally best to include "D3DX10.H" rather than any of the 'internal' headers like "D3DX10MATH.H", and you will need to link with D3DX10.LIB.--- SoupGate-Win32 v1.05
Furthermore, this means your application makes use of some version of D3DX10_*.DLL which is NOT included as part of the OS. It is installed by the DirectX SDK Setup for development. Users of your application will need to
use the REDIST. See the DirectX Installation for Game Developers article: <http://msdn.microsoft.com/en-us/library/bb219742(VS.85).aspx>
--
-Chuck Walbourn
SDE, XNA Developer Connection
This posting is provided "AS IS" with no warrenties, and confers no rights. "huh?" <h...@discussions.microsoft.com> wrote in message news:1C1425F0-5801-46FA...@microsoft.com...
I have just started using 2008 c++ express and want to know the best way to
pull in an include file provided by MS.
I want to use functions in the d3dx10math.h file. So I need to include it into my project. How should I add this file to my project.
Should I copy it from its source into my project dir?
Or should I leave it where it is? If I do, how do I add it to my project
so
its pulled in when compiling.?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 248 |
Nodes: | 16 (2 / 14) |
Uptime: | 58:43:13 |
Calls: | 5,499 |
Calls today: | 1 |
Files: | 11,665 |
Messages: | 5,056,397 |