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 / Problems with SDK 1.1 and samples getting errors.

Author
Message
enablerbr
20
Years of Service
User Offline
Joined: 22nd Jun 2003
Location: United Kingdom
Posted: 28th Oct 2005 00:40 Edited at: 28th Oct 2005 01:09
i'm currently using visual c++ .net 2003 with directx sdk october 2005 and dark game sdk 1.0 upgraded to 1.1. on a windows xp pro sp2 computer setup. i've tried to build the examples from the sln file. yet i get this list of errors.



i'm new to c++ coding so not sure about what all these errors mean.
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 28th Oct 2005 10:26
dbRGB was changed to dbRgb, for a start (demos weren't updated).

Come to the third DarkBasic Pro Sci Fi Con - Be there and be square
Blog:http://spaces.msn.com/members/BouncyBrick/
Web Site:http://www.nicholaskingsley.co.uk
enablerbr
20
Years of Service
User Offline
Joined: 22nd Jun 2003
Location: United Kingdom
Posted: 28th Oct 2005 10:42
ahh. well thats good news for me. so i have setup the libs and inlcudes correctly.
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 28th Oct 2005 10:57 Edited at: 28th Oct 2005 11:09
It does appear that your library paths are somewhat incorrect as the world demo does compile correctly.

I get :



Its easy enough to get around the incorrectly named commands - for example with dbRGB, you could setup a #define to do it :

#define dbRGB(x,y,z) dbRgb((x),(y),(z))

Come to the third DarkBasic Pro Sci Fi Con - Be there and be square
Blog:http://spaces.msn.com/members/BouncyBrick/
Web Site:http://www.nicholaskingsley.co.uk
enablerbr
20
Years of Service
User Offline
Joined: 22nd Jun 2003
Location: United Kingdom
Posted: 28th Oct 2005 11:34
i have directx sdk coming before dark game sdk. in my directory paths. only platfrom sdk before the directx sdk. isn't that the correct way to set it up?
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 28th Oct 2005 12:06
I have mine like thus :

Headers :

DirectX 9.0 SDK (June 2005)
DarkSDK

Library files :

Directx 9.0 SDK (June 2005)\Lib\x86
DarkSDK\Lib\VS7

Come to the third DarkBasic Pro Sci Fi Con - Be there and be square
Blog:http://spaces.msn.com/members/BouncyBrick/
Web Site:http://www.nicholaskingsley.co.uk
enablerbr
20
Years of Service
User Offline
Joined: 22nd Jun 2003
Location: United Kingdom
Posted: 28th Oct 2005 12:27 Edited at: 28th Oct 2005 12:29
me is like this.

include

darksdk
directx oct 2005
VCInstallDir
frameworksdk

lib's

darksdk/vs7
directx oct 2005/x86
VCInstallDir
frameworksdk

the order is how it looks in visual c++ 2003 .net.
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 28th Oct 2005 12:32
Swap DX9 and DarkSDK around

Come to the third DarkBasic Pro Sci Fi Con - Be there and be square
Blog:http://spaces.msn.com/members/BouncyBrick/
Web Site:http://www.nicholaskingsley.co.uk
enablerbr
20
Years of Service
User Offline
Joined: 22nd Jun 2003
Location: United Kingdom
Posted: 28th Oct 2005 12:40
swaped them around but still the same link errors.
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 28th Oct 2005 12:48
This is where remote access comes in handy - might be worth looking at : http://www.nichkk.plus.com/html/i_need_help.html

Send me an e-mail if your interested.

Come to the third DarkBasic Pro Sci Fi Con - Be there and be square
Blog:http://spaces.msn.com/members/BouncyBrick/
Web Site:http://www.nicholaskingsley.co.uk
enablerbr
20
Years of Service
User Offline
Joined: 22nd Jun 2003
Location: United Kingdom
Posted: 28th Oct 2005 12:56
i just uninstalled dark game sdk. made sure the install folder was clear. then did a fresh install of the 1st darksdk v1.0.



no link errors. so maybe i did something wrong with installing v1.1 upgrade.
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 28th Oct 2005 13:05
Its possible

At least its sorted now

Come to the third DarkBasic Pro Sci Fi Con - Be there and be square
Blog:http://spaces.msn.com/members/BouncyBrick/
Web Site:http://www.nicholaskingsley.co.uk
enablerbr
20
Years of Service
User Offline
Joined: 22nd Jun 2003
Location: United Kingdom
Posted: 28th Oct 2005 13:08
thanks for your help. if this was BBC basic on the old model B. i'd be fine but for learning a new language it's hard.
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 28th Oct 2005 13:09
It can be tricky to start with.

Come to the third DarkBasic Pro Sci Fi Con - Be there and be square
Blog:http://spaces.msn.com/members/BouncyBrick/
Web Site:http://www.nicholaskingsley.co.uk
enablerbr
20
Years of Service
User Offline
Joined: 22nd Jun 2003
Location: United Kingdom
Posted: 28th Oct 2005 13:13
just did the upgrade to v1.1 and all was fine no link errors. so i must have done something wrong the 1st time i installed and upgraded.

out of curiosity should i stay clear of the v1.1.1 beta for now?
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 28th Oct 2005 13:16
No - its pretty good, and should be kept.

Come to the third DarkBasic Pro Sci Fi Con - Be there and be square
Blog:http://spaces.msn.com/members/BouncyBrick/
Web Site:http://www.nicholaskingsley.co.uk
enablerbr
20
Years of Service
User Offline
Joined: 22nd Jun 2003
Location: United Kingdom
Posted: 28th Oct 2005 13:24
ok thanks again.

Login to post a reply

Server time is: 2024-04-27 02:53:59
Your offset time is: 2024-04-27 02:53:59