|
From: Matthew T. <mac...@ho...> - 2005-05-09 13:19:07
|
Matthew Thompson wrote:
I am having trouble getting Dev-C++ recognizing the d3dx header files
that come with the DirectX 9 SDK. There are several errors that occur in
these header files which is odd and is not in my control because I don't
want to have to edit these files. Is there a reason for this?
Paste these errors and tell us which wersion of DX9 do you use (and which
devpak - if any).
Regards
Marcin
Sorry, I forgot about those details. I'm using Dev-C++ 5, my computer is
running DirectX 9c and the header files (as I wrote above) came with the SDK
from the microsoft website. I'm using Window XP Home Edition and have
Service Pack 2.
Here is the Compiler Log as well, if it helps.
Compiler: Default compiler
Building Makefile: "E:\Dev-Cpp\My Projects\DirectX\Makefile.win"
Executing make...
make.exe -f "E:\Dev-Cpp\My Projects\DirectX\Makefile.win" all
g++.exe -c main.cpp -o main.o -I"E:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"
-I"E:/Dev-Cpp/include/c++/3.4.2/backward"
-I"E:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"E:/Dev-Cpp/include/c++/3.4.2"
-I"E:/Dev-Cpp/include"
g++.exe main.o -o "DirectX.exe" -L"E:/Dev-Cpp/lib" -mwindows
main.o(.text+0x127):main.cpp: undefined reference to `Direct3DCreate9@4'
collect2: ld returned 1 exit status
make.exe: *** [DirectX.exe] Error 1
Execution terminated
_________________________________________________________________
Sell your car for $9 on carpoint.com.au
http://www.carpoint.com.au/sellyourcar
|