> Has anyone gotten Dev-C++ 4 to work with DirectX. I'm
> trying to compile a DirectX 8 program and I'm still
> getting the following error message
> c:\my documents\main.o(.text+0x1d0):main.cpp:
> undefined reference to `DirectDrawCreateEx@16'
>
> I have the following option "-fvtable-thunks" set, as
> well as linking to libraries ddraw & dxguid. Also the
> include files are set. I tried using the directx7
> package but I get the same error. I looked over the
> past postings and still haven't found a clear answer.
I'm using DirectX 7 in C and C++, and both works very well. I thought
the directx7 package works, but i got my version from this place, maybe
it's something different:
http://sites.netscape.net/ptrpck/directx.htm
(they also seem to have directx8 now)
hth,
Elias Pschernig
|