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 / Windows 7

Author
Message
Third Dimension Artist
13
Years of Service
User Offline
Joined: 5th Dec 2010
Location:
Posted: 4th Apr 2011 14:37
Hello helpful forum,

I just have rebuilt my system, and can't get GDK working again. I know you get a lot of people coming with problems with Windows 7. I've looked through all of the threads before this, but I have found no one who had close to this error:



I'm not doing anything crazy in the project that gives me this, only drawing a model with the rainbow shader. I've installed DirectX, the wizards work fine, and it can find the DarkGDK.h header file. Any ideas?
Matty H
15
Years of Service
User Offline
Joined: 7th Oct 2008
Location: England
Posted: 4th Apr 2011 21:26
Looks like you are using 'windows\v6.0a\' SDK. I think this may be vista?

Here is the where that first error is:

Looks fine on my computer.

I would think you probably should have a 'windows\v7.0' folder which your compiler should be using.

This is just a guess, I have never seen this error before.

Mireben
15
Years of Service
User Offline
Joined: 5th Aug 2008
Location:
Posted: 5th Apr 2011 20:22
Quote: "Cannot open include file: 'd3dx9.h': No such file or directory "


Have you installed the DirectX SDK August 2007? Are the DirectX directories included in the Visual Studio paths?

The Windows SDK path V6.0a is OK. It's installed together with Visual Studio, that's the version I have too.
Third Dimension Artist
13
Years of Service
User Offline
Joined: 5th Dec 2010
Location:
Posted: 16th Apr 2011 20:28 Edited at: 16th Apr 2011 20:29
OK I think I'm getting closer to solving this.

I'm using VisualC++ 2010, and I've set up the directories right. It can now find the DarkGDK.h. It doesn't give me the error about not finding d3dx9.h anymore. I've also installed both updates.

But VC++ isn't giving me suggestions for DarkGDK commands. When I try to compile, the error count exceeds 100, so the compiler automatically stops.

The errors seem to all be coming from 3 files in the Microsoft Windows SDK. What is going on here?

Thanks for helping!

Edit: I forgot to mention that I have attached the error log as a txt.

Attachments

Login to view attachments
Mireben
15
Years of Service
User Offline
Joined: 5th Aug 2008
Location:
Posted: 17th Apr 2011 17:35 Edited at: 17th Apr 2011 17:38
Which version of Dark GDK are you trying to use?

Dark GDK does not work with Visual Studio 2010 by default. In the latest update (October 2010 update) there are libraries for VS 2010 but I don't know how well they work. Your best bet is to use Newton's libraries if you want to stick with VS 2010.

http://forum.thegamecreators.com/?m=forum_view&t=176637&b=22

By the way, VS 2008 works fine on Windows 7.
Third Dimension Artist
13
Years of Service
User Offline
Joined: 5th Dec 2010
Location:
Posted: 19th Apr 2011 05:40 Edited at: 19th Apr 2011 19:13
I'm using the latest version of DarkGDK: October 2010. Thanks I'll give this a try. Those tutorials also look helpful.

EDIT: Setting up DarkGDK with VS 2010 looks way too complicated. I'm trying now to set it up with 2008.

Login to post a reply

Server time is: 2024-06-16 00:53:06
Your offset time is: 2024-06-16 00:53:06