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 / DarkGDK and Visual studio 10

Author
Message
Blue Steel AU
AGK Developer
17
Years of Service
User Offline
Joined: 22nd Aug 2007
Location: Bundaberg, Qld, Australia
Posted: 18th Jan 2010 14:27
Hi,
I have just installed the VS10 beta and wondering if DarkGDK will work with it if i follow the same install instructions as i did for VS9

http://www.codingmonkeys.com
Blue Steel AU
AGK Developer
17
Years of Service
User Offline
Joined: 22nd Aug 2007
Location: Bundaberg, Qld, Australia
Posted: 19th Jan 2010 00:50
i'm asking because i tried and couldn't get it to work. (PS: I have had it working before on vs9

http://www.codingmonkeys.com
Marsh0
15
Years of Service
User Offline
Joined: 18th Mar 2009
Location:
Posted: 19th Jan 2010 03:08
What exactly isnt working? not sure what you already did but this thread may help you.

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

www.touchofdeathproductions.com
Blue Steel AU
AGK Developer
17
Years of Service
User Offline
Joined: 22nd Aug 2007
Location: Bundaberg, Qld, Australia
Posted: 19th Jan 2010 06:56
as i've stated....

I do have it working on VC++ express 2008

what i'm trying to do is to get it to work on vc++ express 2010

on looking into things further i've found that VC++ 2010 express beta2 doesn't have a global (default) VC++ Directories settings like VC++ 2008 express does. It seems to be on a per project setting

Yes iu've read the link you posted (and many others) none are helping because my problem isn't with VC++ 2008 express ..

and yes i've tried what they stated to do in them.. but I believe its not working because there is no Default settings for VC++ directory setting on VC++ 2010 express

(and before anyone states the obvious .. yes I know it says it'll run on VC++ 2008 exoress .. and doesn't mention VC++ 2010 express.. thats why i'm asking in here to see if anyone has been able to get it to work yet)

http://www.codingmonkeys.com
Niels Henriksen
20
Years of Service
User Offline
Joined: 27th Sep 2004
Location: Behind you breathing heavely
Posted: 19th Jan 2010 08:04
I tried to make it work in VS2010 but went back to VC++2008 when I couldn't make it work.

But if it can work it would be nice

Niels Henriksen
www.tales-of-the-realms.com
if Microsoft can sell software with bugs, so can I.
Blue Steel AU
AGK Developer
17
Years of Service
User Offline
Joined: 22nd Aug 2007
Location: Bundaberg, Qld, Australia
Posted: 19th Jan 2010 13:29 Edited at: 19th Jan 2010 13:31
nope .. i can't get it to work.. after searching and reading heaps and heaps on the net and in here.. this is as close as i can get it

1>------ Build started: Project: DarkGDK 2D Game, Configuration: Debug Win32 ------
1> main.cpp
1>system.lib(dxdiaginfo.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" (?_Xran@_String_base@std@@SAXXZ)
1>convx.lib(ConvX.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" (?_Xran@_String_base@std@@SAXXZ)
1>convmd3.lib(ConvMD3.obj) : error LNK2019: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" (?_Xran@_String_base@std@@SAXXZ) referenced in function "public: __thiscall std::logic_error::logic_error(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0logic_error@std@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@1@@Z)
1>convmdl.lib(ConvMDL.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" (?_Xran@_String_base@std@@SAXXZ)
1>basic3D.lib(CCompiler.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" (?_Xran@_String_base@std@@SAXXZ)
1>basic3D.lib(ProcessHSR.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" (?_Xran@_String_base@std@@SAXXZ)
1>world.lib(Patch.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" (?_Xran@_String_base@std@@SAXXZ)
1>multiplayer.lib(CNetwork.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" (?_Xran@_String_base@std@@SAXXZ)
1>basic3D.lib(CSG.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" (?_Xran@_String_base@std@@SAXXZ)
1>basic3D.lib(cLightMaps.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" (?_Xran@_String_base@std@@SAXXZ)
1>basic3D.lib(NVMeshMenderD3DX.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" (?_Xran@_String_base@std@@SAXXZ)
1>basic3D.lib(CBSPTree.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" (?_Xran@_String_base@std@@SAXXZ)
1>basic3D.lib(CommonC.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" (?_Xran@_String_base@std@@SAXXZ)
1>basic3D.lib(DBOFormat.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" (?_Xran@_String_base@std@@SAXXZ)
1>basic3D.lib(CObjectManagerC.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" (?_Xran@_String_base@std@@SAXXZ)
1>basic3D.lib(Universe.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" (?_Xran@_String_base@std@@SAXXZ)
1>core.lib(RenderList.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" (?_Xran@_String_base@std@@SAXXZ)
1>display.lib(CGfxC.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" (?_Xran@_String_base@std@@SAXXZ)
1>sprites.lib(CSpriteManagerC.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" (?_Xran@_String_base@std@@SAXXZ)
1>image.lib(CImageC.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" (?_Xran@_String_base@std@@SAXXZ)
1>system.lib(dxdiaginfo.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" (?_Xlen@_String_base@std@@SAXXZ)
1>convx.lib(ConvX.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" (?_Xlen@_String_base@std@@SAXXZ)
1>convmd3.lib(ConvMD3.obj) : error LNK2019: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" (?_Xlen@_String_base@std@@SAXXZ) referenced in function __ehhandler$??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ABV01@@Z
1>convmdl.lib(ConvMDL.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" (?_Xlen@_String_base@std@@SAXXZ)
1>basic3D.lib(CCompiler.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" (?_Xlen@_String_base@std@@SAXXZ)
1>basic3D.lib(ProcessHSR.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" (?_Xlen@_String_base@std@@SAXXZ)
1>world.lib(Patch.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" (?_Xlen@_String_base@std@@SAXXZ)
1>multiplayer.lib(CNetwork.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" (?_Xlen@_String_base@std@@SAXXZ)
1>basic3D.lib(CSG.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" (?_Xlen@_String_base@std@@SAXXZ)
1>basic3D.lib(cLightMaps.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" (?_Xlen@_String_base@std@@SAXXZ)
1>basic3D.lib(NVMeshMenderD3DX.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" (?_Xlen@_String_base@std@@SAXXZ)
1>basic3D.lib(CBSPTree.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" (?_Xlen@_String_base@std@@SAXXZ)
1>basic3D.lib(CommonC.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" (?_Xlen@_String_base@std@@SAXXZ)
1>basic3D.lib(DBOFormat.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" (?_Xlen@_String_base@std@@SAXXZ)
1>basic3D.lib(CObjectManagerC.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" (?_Xlen@_String_base@std@@SAXXZ)
1>basic3D.lib(Universe.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" (?_Xlen@_String_base@std@@SAXXZ)
1>core.lib(RenderList.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" (?_Xlen@_String_base@std@@SAXXZ)
1>display.lib(CGfxC.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" (?_Xlen@_String_base@std@@SAXXZ)
1>sprites.lib(CSpriteManagerC.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" (?_Xlen@_String_base@std@@SAXXZ)
1>image.lib(CImageC.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" (?_Xlen@_String_base@std@@SAXXZ)
1>C:\Users\Cameron\documents\visual studio 2010\Projects\DarkGDK 2D Game\Debug\DarkGDK 2D Game.exe : fatal error LNK1120: 2 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


and YES i know i've read this exact error messages everywhere.. but none of the sollutions posted gets me anywhere IE: NO CHANGE
(Believe me i've tried for over 16 hours now and no go...)

but at least its still working on VC++ 2008 express

What i eventually did (and as stated avove this is as far as i was able to get it)

I created an empty Project .. added the .txt and .cpp and image files from the gdk2d templates .. then had to go into the projects properties .. and with another window open on VC++ 2008 express .. I copued the VC++ directopries accross into the projects settings..
I then went through ALL the other settings in the project on VC++ 2010 and made them the same (or as close as i could) to those set in VC++ 2008 express .. and tested it.. and I got the above.. and no matter what I tried from on here or other places on the net nothing changed the outcome

(yes i remembered to clean solution after every change)

http://www.codingmonkeys.com
Blue Steel AU
AGK Developer
17
Years of Service
User Offline
Joined: 22nd Aug 2007
Location: Bundaberg, Qld, Australia
Posted: 8th Feb 2010 07:34
Has anyone been able to get darkgdk to work with VC2010 beta2 yet ???

Amnzero
15
Years of Service
User Offline
Joined: 1st Aug 2009
Location:
Posted: 9th Feb 2010 05:14
Have not tried, but I did have to figure out how to get it to work with full versions of visual studio instead of express versions. I think the process should be similar so I am gonna look into it, and I will post instructions when I figure it out.

if(enemy == Amnzero) runAway();
Amnzero->WebSite = L"http://neovance.com/";
Vesper
14
Years of Service
User Offline
Joined: 22nd Nov 2009
Location:
Posted: 9th Feb 2010 06:44
Having the same issues, wouldn't it just be as simple as setting the includes and libs in the complier settings and creating the wizards? or is there more than meets the eye. Another question, will this work with direct august-2009 or does it have to be the exact SDK listed?

Show me your combat algorithms(programmers read this NOT in a programming state of mind)
Amnzero
15
Years of Service
User Offline
Joined: 1st Aug 2009
Location:
Posted: 9th Feb 2010 07:38
So far I figured out that it has something to do with the requirement for older files which are not compatable with the newer versions. The VS 2010 by default uses the latest windows/directX libraries.

So I have been trying to find a way to get around it. So far I have eliminated a lot of errors, and I think I am pretty close to getting it working. I am gonna keep working on it.

1>Main.obj : error LNK2019: unresolved external symbol "void __cdecl dbSync(void)" (?dbSync@@YAXXZ) referenced in function "void __cdecl DarkGDK(void)" (?DarkGDK@@YAXXZ)
1>Main.obj : error LNK2019: unresolved external symbol "bool __cdecl LoopGDK(void)" (?LoopGDK@@YA_NXZ) referenced in function "void __cdecl DarkGDK(void)" (?DarkGDK@@YAXXZ)
1>Main.obj : error LNK2019: unresolved external symbol "void __cdecl dbSyncRate(int)" (?dbSyncRate@@YAXH@Z) referenced in function "void __cdecl DarkGDK(void)" (?DarkGDK@@YAXXZ)
1>Main.obj : error LNK2019: unresolved external symbol "void __cdecl dbSyncOn(void)" (?dbSyncOn@@YAXXZ) referenced in function "void __cdecl DarkGDK(void)" (?DarkGDK@@YAXXZ)
1>Main.obj : error LNK2019: unresolved external symbol __RTC_CheckEsp referenced in function "void __cdecl DarkGDK(void)" (?DarkGDK@@YAXXZ)
1>Main.obj : error LNK2001: unresolved external symbol __RTC_Shutdown
1>Main.obj : error LNK2001: unresolved external symbol __RTC_InitBase
1>LINK : error LNK2001: unresolved external symbol _WinMainCRTStartup

if(enemy == Amnzero) runAway();
Amnzero->WebSite = L"http://neovance.com/";
Blue Steel AU
AGK Developer
17
Years of Service
User Offline
Joined: 22nd Aug 2007
Location: Bundaberg, Qld, Australia
Posted: 9th Feb 2010 10:13
it has to be the Aug 2007 (not 2009) dx7 as stated in the docs or they wouldn't have stated it

Aldur
17
Years of Service
User Offline
Joined: 8th Oct 2007
Location: Melbourne, Australia
Posted: 9th Feb 2010 10:29
DirectX9, Not 7.
But yes, you must use that SDK. There is a workaround somewhere on the forums to use later SDKs as well, but I am pretty sure you must have August 2007, as stated by Blue Steel AU.

Amnzero
15
Years of Service
User Offline
Joined: 1st Aug 2009
Location:
Posted: 10th Feb 2010 00:36 Edited at: 10th Feb 2010 00:39
Yes problem is getting the old 2007 directX to work with the new windows libraries, and VS libraries. They arent compatable, so states Microsoft, and so I am trying to get VS 10 to use VS 9 libraries...

if(enemy == Amnzero) runAway();
Amnzero->WebSite = L"http://neovance.com/";
Amnzero
15
Years of Service
User Offline
Joined: 1st Aug 2009
Location:
Posted: 11th Feb 2010 14:39
Awesome. I broke my instalation of DirectX Aug2007 I think.. But I can't be positive. I broke something for sure though. Haha.

I would not suggest trying to get this combo to work out. VS10 is just not made to work with this kind of software. It was meant more for newer managed libraries, and the .NET framework. You could try GDK.NET .. it 'might' work.

if(enemy == Amnzero) runAway();
Amnzero->WebSite = L"http://neovance.com/";
Blue Steel AU
AGK Developer
17
Years of Service
User Offline
Joined: 22nd Aug 2007
Location: Bundaberg, Qld, Australia
Posted: 11th Feb 2010 22:33
ok.. then.. umm.. now i'm asking WILL The Game Creators be updating DarkGDK torun on VS10. or is it going to become a relic tied to an old C++ which like some other languages i know from the passed are still tied to VC5++ and were never updated. I'm concerned as i can xee darkgdk will become unusable

Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: &lt;script&gt; alert(1); &lt;/script&gt;
Posted: 11th Feb 2010 23:06
dgdk support sucks, i doubt they will update it to MSVC++ 2010

Amnzero
15
Years of Service
User Offline
Joined: 1st Aug 2009
Location:
Posted: 12th Feb 2010 00:12
Well if they update the DX version they use for the GDK, and the Windows Libs they use.. could be a possibility. But VS 10 is really geared toward developing for windows 7, and next gen windows. I hope TGC gets with the times.

[url="http://neovance.com/"][/url]

Login to post a reply

Server time is: 2024-11-20 05:30:38
Your offset time is: 2024-11-20 05:30:38