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 / [RELEASE] DarkGDK Visual Studios 2010 Libs

Author
Message
Whistler
13
Years of Service
User Offline
Joined: 28th Jan 2011
Location:
Posted: 29th Jan 2011 05:09
@Dar13

Ty for the suggestion.

I've tried and ensured I had "Not Using ATL" set as well in the project defaults. I also found another thread in here that suggested the same and a couple other minor changes but did not help in my case.

I think my issue with the ATL lib is that I'm running the Express edition of VC++ 2010.

From what I've read, "To get ATL and MFC you need to get the paid versions of Visual Studio.".

Anyone else using DGDK successfully with the Express edition of VC++ 2010? Maybe I'll reconsider using VC++ 2008 Express as advertised.
Whistler
13
Years of Service
User Offline
Joined: 28th Jan 2011
Location:
Posted: 29th Jan 2011 05:14
@Dar13

My apologies, I spoke to soon... I do have it working now. I just reloaded VC++ and created a new project figuring I had dinked around with the project settings too much. Just added 'atlsd.lib' to 'Ignore Specific Default Libraries' and its running!

Again, thanks for the suggestion!
Dar13
15
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 29th Jan 2011 05:58
@Whistler
No problem, went through the same thing when I started using DarkGDK.


Acrethaen
13
Years of Service
User Offline
Joined: 7th Mar 2011
Location:
Posted: 7th Mar 2011 07:49
I still cannot use the wizards, it just keeps saying that it cannot find ddraw.lib

MINECRAFT 4EVA!!!!
Juxtupositious
C: del\ ENTER
TerryRussell
13
Years of Service
User Offline
Joined: 11th Dec 2010
Location: Chichester, UK
Posted: 8th Mar 2011 00:02 Edited at: 8th Mar 2011 00:07
Looking at the various posts in this thread, it seems that a recurring problem/question relates to using the version of DirectX that the Dark GDK requires (August 2007).

Later versions don't contain all of the libraries that Dark GDK requires, but they do have a range of improvements needed for some other things that people are using. Such as working with Visual Studio 2008!

Here is what I have done so that I can use the latest version of DirectX with the Dark GDK. Please note that you should only do this if you have a good knowledge of C++ and the various libraries used by Dark GDK. Make a good backup first!

Here we go...

The DirectX SDK from November 2007 is the first one which supports Microsoft® Visual Studio 2008. But it's also the first version which doesn't support DirectMusic and some other functions. But we can copy the missing files from an older version such as the final one that contained DirectMusic, etc: 'August 2007'.

Extract (do not install) dxsdk_aug2007.exe in a spare folder and you'll get another file called dxsdk_aug2007.exe (both files have the same name). Ain't Microsoft clever?

Extract the second dxsdk_aug2007.exe into a separate folder ("C:\DXD" or whatever suits you).

Now copy following files from \dxsdk_aug2007\dxsdk_aug2007\Include\ to <your folder>\shared\include (note: update the paths as relevant for your installation):
dls1.h
dmdls.h
dmerror.h
dmksctrl.h
dmplugin.h
dmusbuff.h
dmusicc.h
dmusicf.h
dmusici.h

Good luck!

Amazing Simulation
www.amazing-forum.com
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 11th Mar 2011 12:34
where are the include & lib dir paths in VS2010?

I only get a msg that they are depreciated from the main options
DeadTomGC
13
Years of Service
User Offline
Joined: 11th Aug 2010
Location: LU
Posted: 14th Mar 2011 05:25
What DX version can the gdk for VC++ 2008 use?

Rampage
16
Years of Service
User Offline
Joined: 4th Feb 2008
Location: New Zealand
Posted: 14th Mar 2011 06:21 Edited at: 14th Mar 2011 09:45
Thanks Newton, very appreciated.
EDIT: Followed all your tutorials. Used the June 2010 setup wizard, and included all the lib/include files. Bit of a pain to do that privately, they should definitely bring the global option back.

#include "DX2010/DarkGDK.h"

'Cannot open source file.'

I fail to see where there is a dx2010 folder.

EDIT: OOhhhhh there are separate files for this version. Linked down bottom of page. Duuurrr.

Wow. Ignore all this.

EDIT #2: Very annoying getting this to work
Now getting kernel 32 error. Which is silly. As I added all the windows sdk directories.

Regards,

Max
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 14th Mar 2011 16:46
I got it all working. Didn't have any big problems to convert old VS2008 projects to the new VS2010.

Thanks a lot!

I hope to see more frequent updates & fixes to this version of DGDK
Rampage
16
Years of Service
User Offline
Joined: 4th Feb 2008
Location: New Zealand
Posted: 15th Mar 2011 05:51
Hmm. After including the vcpp lib it has eliminated most of my problems. But now I am getting a cannot find ddraw.lib, which is obviously a directX sdk problem, but everything is pointing to it fine so I really cannot understand what is going on.

Regards,

Max
Dar13
15
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 16th Mar 2011 02:34
DirectDraw(ddraw.lib) was removed from the newest DirectX SDK(June 2010 and up I believe). DirectDraw is what powered the majority of the DarkGDK's 2D drawing ability.


bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 25th Mar 2011 13:59
so without the ddraw.lib, sprite commands won't work at all?
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 25th Mar 2011 14:08
sprite commands seems to work fine here.
most probably because the old ddraw.lib was already there from a previous installation.

however i am getting the following error:

"FBX format is still not usable"

what does this indicate exactly?
Red Eye
15
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 4th May 2011 21:59
I plan on installing this one, is it still supported?

Shrewd
14
Years of Service
User Offline
Joined: 15th Nov 2009
Location: Albacete, Spain
Posted: 29th Aug 2011 22:56
Hi, I know this is quite old... I've managed to get the 16/10/2010 version running, since I use original directx.

But I can't compile the example code due to this line :
dbMakeObjectBox( 1, 10.0f, 10.0f, 10.0f );

ID field (1) asked for a &

Changing into :

int sobj;
sobj = dbFindFreeObject();
dbMakeObjectBox( sobj, 10.0f, 10.0f, 10.0f );

and now works...

Seems you added dbFindFreeObject() function too, because I'm not findind it on darkgsd documentation...

You could make some helpfile with the new functions or new requeriments
Darkbluedeath
12
Years of Service
User Offline
Joined: 27th Aug 2011
Location:
Posted: 6th Sep 2011 22:46
Ok so have VS 2010 working for windows 7.. but the problem im getting into is.. do we constantly have to change the "all configurations & debug" every time we make a new project?

Darkbluedeath
Dodga
14
Years of Service
User Offline
Joined: 12th Dec 2009
Location:
Posted: 12th Sep 2011 02:04
It gives me fbx errors for every single one of my models, cannot even get into the game, any fix, this is frustrating.

Login to post a reply

Server time is: 2024-03-29 12:24:18
Your offset time is: 2024-03-29 12:24:18