Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / problems compiling: main.cpp(8): fatal error C1083: Cannot open include file: 'D3DFunc.h': No such file or directory - Please Help

Author
Message
gr2
11
Years of Service
User Offline
Joined: 13th Jan 2013
Location:
Posted: 13th Jan 2013 23:38
Hi folks,

I'm a newbie to GDK. I came across a program that requires "D3DFunc.h". I'm using MS Visual Studio 12 Pro C++ and the latest DirectX. I tried locating the file in the GDK install directory and I couldn't find it. When I go to compile the program, I get this error message:

main.cpp(8): fatal error C1083: Cannot open include file: 'D3DFunc.h': No such file or directory".

I've looked all over the internet and I couldn't find a solution to this problem. Can someone please help?

Thanks,

gr2
Mr Bigglesworth
16
Years of Service
User Offline
Joined: 4th Mar 2008
Location:
Posted: 14th Jan 2013 15:31
D3DFunc is an external libary for DarkGDK, download it from this link: http://www.dbdepot.co.uk/downloads/D3DFuncGDK%20v3.7.1.zip
gr2
11
Years of Service
User Offline
Joined: 13th Jan 2013
Location:
Posted: 14th Jan 2013 18:11
Thanks for the quick response. I've added the file to my include directory and referenced it via the Property Pages. The compiler now gets past this hurdle. Now, I'm getting another error:

LINK : fatal error LNK1104: cannot open file 'dxerr9.lib'

I did some research and found out that this library has been deprecated, but I haven't found a solution yet.

Any suggestions?
Mr Bigglesworth
16
Years of Service
User Offline
Joined: 4th Mar 2008
Location:
Posted: 15th Jan 2013 15:14 Edited at: 15th Jan 2013 15:14
Try installing the 2007 DXSDK from here: http://download.microsoft.com/download/3/3/f/33f1af6e-c61b-4f14-a0de-3e9096ed4b3a/dxsdk_aug2007.exe

It seems to work for other people. Good luck

Login to post a reply

Server time is: 2024-11-18 21:26:28
Your offset time is: 2024-11-18 21:26:28