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 / issue with dbSetDisplayModeVsync

Author
Message
KAnd
15
Years of Service
User Offline
Joined: 15th Nov 2009
Location:
Posted: 15th Nov 2009 21:39
Hi, I just installed Dark GDK for the first time, and I've been trying to compile a test project to ensure everything works.

I've updated the GDK files from http://files.thegamecreators.com/DarkGDK/, added all the necessary paths to both this project and to Visual Studio 2008, and now the only error that is left is this one:

main.cpp(20) : error C3861: 'dbSetDisplayModeVsync': identifier not found

I've searched through the forums + the supplied compiled html documentation (which does not support searching ?? and it's difficult to find things in general due to the lack of alphabetizing within each topic).

.. Basically, I'm using this forum post as a last resort.

Anyone have any ideas? Thanks.
american eagle
17
Years of Service
User Offline
Joined: 2nd Aug 2007
Location:
Posted: 16th Nov 2009 00:08
could you post the code?
from the error I see that u used a command dbSetDisplayModeVsync which doesn't exist in darkGDK
SunDawg
19
Years of Service
User Offline
Joined: 21st Dec 2004
Location: Massachusetts
Posted: 16th Nov 2009 00:14
Did you try a capital S for sync?

dbSetDisplayModeVSync


My site, for various stuff that I make.
luke810
18
Years of Service
User Offline
Joined: 4th Sep 2006
Location: United States
Posted: 16th Nov 2009 01:31 Edited at: 16th Nov 2009 01:32
Go to your include files and look through the headers, all the functions are listed in there. This is the directory on my computer:

C:\Program Files (x86)\The Game Creators\Dark GDK\Include

dbSetDisplayModeVSync in specific is in the display library, but I believe it is a command associated with the newest release of DarkGDK

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

KAnd
15
Years of Service
User Offline
Joined: 15th Nov 2009
Location:
Posted: 16th Nov 2009 01:31
Ah yes, that is it. Thank you SunDawg!
KAnd
15
Years of Service
User Offline
Joined: 15th Nov 2009
Location:
Posted: 16th Nov 2009 14:51
Yes, I think you're right, luke810. And I was getting errors for other functions as well until I installed every one of the updates from:

http://files.thegamecreators.com/DarkGDK/

in order from earliest to newest on my computer. Now I get no complaints about any functions.

Although I'm still battling it out with the Linker, which can't seem to open the 'DarkSDK.lib' file, even when I set the path in both the project and visual studio.

Login to post a reply

Server time is: 2024-11-20 09:22:09
Your offset time is: 2024-11-20 09:22:09