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 / visual studio express 2010?

Author
Message
Benjames8
14
Years of Service
User Offline
Joined: 6th Jan 2010
Location: Your Nightmares
Posted: 28th Sep 2010 06:56 Edited at: 30th Sep 2010 08:18
`Can visual studio express 2010 run gdk

Instructions for installing gdk correctly?

[edit] Fixd
Benjames8
14
Years of Service
User Offline
Joined: 6th Jan 2010
Location: Your Nightmares
Posted: 28th Sep 2010 07:15
Im have serious problems
Dodga
14
Years of Service
User Offline
Joined: 12th Dec 2009
Location:
Posted: 28th Sep 2010 08:21
Yes it can, what is the problem.
Benjames8
14
Years of Service
User Offline
Joined: 6th Jan 2010
Location: Your Nightmares
Posted: 28th Sep 2010 08:32 Edited at: 29th Sep 2010 04:58
[edit] Thanks for that...

Im having trouble installing it or something.
I tryed moving the .h include file and the libs from the gdk and the directx sdk but it was in vaine.
I have aug 2007 directx sdk , dark gdk , and 2010 express...I'm not sure what to do at this point.
Benjames8
14
Years of Service
User Offline
Joined: 6th Jan 2010
Location: Your Nightmares
Posted: 29th Sep 2010 04:44 Edited at: 29th Sep 2010 04:58
What to do?
[edit]
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\objidl.h(11280): error C2061: syntax error : identifier '__RPC__out_xcount_part'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\objidl.h(11281): error C2059: syntax error : ')'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\objidl.h(11281): fatal error C1903: unable to recover from previous error(s); stopping compilation
Abraxas77
14
Years of Service
User Offline
Joined: 26th Aug 2010
Location:
Posted: 29th Sep 2010 07:51
I'm not 100% sure if this work for vs2010 but this how I manually installed DarkGDK for vs2008 pro (... which similarly was not supported by the DarkGDK install program). The menu item names may have been changed so you have to hunt them down if the following do match (I don't have vs2010 so I can't be certain).

1) Tools->Options->Projects & Solutions->VC++ Directories->Include Files
* add a new path and point it to the "include" folder in the DarkGDK install path.

2) Tools->Options->Projects & Solutions->VC++ Directories->Library Files
* add a new path and point it to the "lib\vs9" folder in the DarkGDK install path.

That should be enough to compile your programs.
If you want the project templates as well you will have to do the following (and again, this may not work as the template detection system has changed in the past, it may be different for vs2010).

1) In windows explorer (make sure vs is not running), browse to the DarkGDK install path.
* Copy the contents of the Wizards folder to: (My Documents->Visual Studio 2010->Wizards)

That is all I had to do. You may need to check the MSDN website or vs2010 help files to locate the menu items I mentioned above (or their 2010 equivalences) or for instructs on how to install new projects templates).


Hope that helps,
~Andrew~
Michael P
18
Years of Service
User Offline
Joined: 6th Mar 2006
Location: London (UK)
Posted: 30th Sep 2010 02:53
There is an incompatibility issue here. The version of the DX SDK that DGDK relies on is redundant and unsupported. TGC can't make DGDK work with later versions because the DX multiplayer commands were completely removed, so all DGDK multiplayer commands will also have to be removed, and they don't seem keen on doing this.

To fix this problem, install the latest Direct X 9.0c SDK. After that, you need to modify DGDK so that it will work with this SDK. There is a thread somewhere detailing how this is done; I think its quite straightforward.

Benjames8
14
Years of Service
User Offline
Joined: 6th Jan 2010
Location: Your Nightmares
Posted: 30th Sep 2010 03:39 Edited at: 30th Sep 2010 03:42
There is something you must do in a directory folder for 2010, and it is beyond me. I've copied all the library and include contents from bolth GDK and the latest SDK strait into 2010's folders.

Quote: "There is a thread somewhere detailing how this is done; I think its quite straightforward."

Where can I find this thread?

[edit] Is there a simpler way of doing this, like just installing 2008? This is too time consuming, being without direct help.
dark coder
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 30th Sep 2010 05:17 Edited at: 30th Sep 2010 05:17
Just open a VS2008 project in VS2010 and it'll convert it, then make sure the platform toolset is set to v90, because you won't be able to compile using the latest compiler with GDK without a lot of modifications. Then you'll have to add GDK's lib/include dir(and DX SDK) to your project's additional dirs and it should then compile with 2 warnings about the target paths which you can fix with some googling.

Benjames8
14
Years of Service
User Offline
Joined: 6th Jan 2010
Location: Your Nightmares
Posted: 30th Sep 2010 05:33 Edited at: 30th Sep 2010 08:18
F my life 2008 sucks.. Im so lost with all this $h!t

[edit] i just got VB not VB c++ express im gonna try that ...
[edit] Yep it works, what a headache that was, hopefully my instructor lets me use 2008 c++ express for class lol. now to get Sparky's collision GDK onward!
[EDIT] NOTHING IS DISPLAYING!!!! AHHHHHH!!!

[edit]
Noting 3d is diplaying anyways

FIXED

Have Fun!
13
Years of Service
User Offline
Joined: 16th Dec 2010
Location:
Posted: 16th Dec 2010 19:19
Quote: "Just open a VS2008 project in VS2010 and it'll convert it, then make sure the platform toolset is set to v90"


This works! My project runs in VS2008. I opened the project in VS2010 and let it convert it. Then I changed the Platform Toolset to v90. I did NOTHING else and the project ran! I edited the code to be sure it would compile and, YES, the project compiled and ran!

Thank you dark coder for the solution!

Live your dreams.
Have Fun!
13
Years of Service
User Offline
Joined: 16th Dec 2010
Location:
Posted: 3rd Mar 2011 18:14
There is a HUGE problem here. Dark GDK does NOT work with Visual Studio 2010. When you switch the platform toolset to v90, you are simply telling Visual Studio 2010 to use the Visual Studio 2008 platform!

Try this: convert your project to Visual Studio 2010 and switch the platform toolset to v90. The project will run. Now, uninstall Visual Studio 2008 like I did. The project that used to run in Visual Studio 2010 will now CRASH!!!

We want to move over to Visual Studio 2010 and continue to use Dark GDK. We do NOT want to tell everyone to install BOTH Visual Studio 2008 AND Visual Studio 2010. We want them to ONLY install Visual Studio 2010. How can we do this? Will the Dark GDK libraries be updated to work with Visual Studio 2010?

Live your dreams.
Mireben
16
Years of Service
User Offline
Joined: 5th Aug 2008
Location:
Posted: 7th Mar 2011 22:13 Edited at: 7th Mar 2011 22:14
You can try two things:

1. In the October 2010 update, released by TGC, there are Dark GDK libraries for Visual Studio 2010.

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

2. N3wton's libraries.

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

I haven't tested either, so I don't know how they work. Also, any plugins probably won't be compatible.

Login to post a reply

Server time is: 2024-11-19 12:27:46
Your offset time is: 2024-11-19 12:27:46