User forums > Help
Getting DX 9 up and running
Nacho:
Hello there! This is my first post so let me introduce myself: my name is Ignacio and I´m a sw engineering student from Argentina.
Anyway, I´m having some trouble to get a DX 9 sample application -which makes use of the DirectX Sample Framework- running. So far so good I created a new Win32GUI project inside a blank workspace and included all the relevant files and paths. Nonetheless, the compiler refuses to compile saying there´s a problem in one of the files from the Sample Framework (DXUTmisc.h). More specifically, in the line 112:
struct DXUTCache_Font : public D3DXFONT_DESC
because it doesn´t know what D3DXFONT_DESC mean. D3DXFONT_DESC is defined in d3dx9core.h. I´ve traced the inclusion sequence and d3dx9core.h is included by d3dx9.h which is included before DXUTmisc.h. I´ve tried switching the compiler from GCC to the Visual C++ Toolkit 2003 and I get the exact same errors. Has anybody experienced a similar problem? If so, how did you solve them?
Thanks in advance!
--Nacho
sethjackson:
Not sure if this will help or not, but you might read it anyways.....
http://forums.codeblocks.org/index.php?topic=1373.0
Nacho:
--- Quote from: sethjackson on January 09, 2006, 03:05:23 am ---Not sure if this will help or not, but you might read it anyways.....
http://forums.codeblocks.org/index.php?topic=1373.0
--- End quote ---
Thanks for the link but, unfortunately, they´re not discussing the same problems I´m having (maybe I will after I solve the problems in the compilation phase and get to the linking process, I hope not! :P)
--Nacho
Vampyre_Dark:
http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/directx9_c_Summer_04/directx/graphics/reference/d3dx/structures/D3DXFONT_DESC.asp
Header d3dx9core.h
Minimum operating systems Windows 98
Did you define your Target OS? #define WINVER 0x4000 or whatever. It might only be defined if you have the right OS, I've seen this before.
Michael:
Hello,
In the forum there are 2-3 topics about DirectX (may be more). You can try an (advanced) search to get them. Probably, you will get an answer to your problem (or at least some helpful info :)).
Michael
Navigation
[0] Message Index
[#] Next page
Go to full version