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 / Newby Help - Getting Started with vc++ 2003 7.1

Author
Message
Timidon
19
Years of Service
User Offline
Joined: 26th Jun 2005
Location: Bakersfield, Ca. USA.
Posted: 22nd Mar 2006 22:45
Alright I have just spent the last 2 hours trying to get this to work

I am fairly new at linking, installing libraries - one of the reasons I have avoided the SDK for a bit. I got a decent working compiler. Visual C++ .Net Edition 7.1 (standard)

Alright, using the instruction

Quote: "To add the library path to the Visual Studio .NET 2003 environment. Note that you must use the LIB files in the "VS7" folder -
go to "tools\options\projects" and select "vc++ directories"
add the Dark Game SDK library directory to the list of folders e.g. "c:\program files\the game creators\dark game sdk\lib\vs7"
"


I have done this step

Quote: "Creating A New Project - Microsoft Visual Studio .NET 2003
Create a new, blank Win32 Project. Add in the basic code required to start a Dark Game SDK project - see the program requirements section.
"


Quote: "Program Requirements
When using the SDK it's important to note the following -

you must include "DarkSDK.h" in your source
you must use the function "DarkSDK" as your application entry point
These requirements are demonstrated in this code example -

#include "DarkSDK.h"

void DarkSDK ( void )
{

}

"


Now looking at this I have 2 Options that look like what I need
1) Win32 Project & a 2) Win32 Console Project

I assume that it's #1

With that it comes up with 4 main options

1) Windows Application, 2) Console Appilcation 3)Dll, 4) Static

I don't think it's any 3,4.

There is another option below it makred as Empty Project. (this I assume will creat it blank?)

Extreamly confused and new to Vc++ Net 2003 IDE and compiler (the one thing I hate about useing thse programs - once I am over the hump it's all fine- untill that point I loose alot of hair).

I have tried to get things to compile even make a hellow world program using the DGSDK but I get errors. So I need soem more tutorials or some links!..

I have isntalled the directx SDK (2006 version)

Just being frustraited.

There are many answers but just one question" ~ Jerilith the Mad
Timidon
19
Years of Service
User Offline
Joined: 26th Jun 2005
Location: Bakersfield, Ca. USA.
Posted: 23rd Mar 2006 07:47
Well finaly got things in buisness

I ened up finding this little app created by a talented indivudule.

http://www.iainbyoung.co.uk/programming.htm

It creates a stripped down version of the recommened a recommended set up

So thank YOU!

There are many answers but just one question" ~ Jerilith the Mad
Barnski
18
Years of Service
User Offline
Joined: 26th Jan 2006
Location: Switzerland, Zurich
Posted: 23rd Mar 2006 12:36 Edited at: 23rd Mar 2006 12:37
you need to: create a win32 project, windows application, empty project. that's all, no other settings.

then you copy into a new main.cpp (that you added), the source code you posted for darkSDK... this function will be the entry point of your application (the library will call the function).

that's it.

Oh and, I am using directx sdk 2005 december. So I can't tell whether it works with the newest version.

Timidon
19
Years of Service
User Offline
Joined: 26th Jun 2005
Location: Bakersfield, Ca. USA.
Posted: 23rd Mar 2006 16:47
Thanks the help, most of my frustrations come from my in-expereince in the C++ IDE enviroment. Once I am past that stage, things go well. I can start hammering out code.

The only error I got after linking my code togehter was a Library conflic something called LIBC, the linker advised I "ignore" it (or not use it). Unless there is something evil about the LIBC. Using the Wizard App by Scooby Blook it works wonders for a newby such as myself.

There are many answers but just one question" ~ Jerilith the Mad
Barnski
18
Years of Service
User Offline
Joined: 26th Jan 2006
Location: Switzerland, Zurich
Posted: 23rd Mar 2006 16:58
I use this code at top of my main.cpp:



to prevent the warning message.

Timidon
19
Years of Service
User Offline
Joined: 26th Jun 2005
Location: Bakersfield, Ca. USA.
Posted: 24th Mar 2006 19:13
Hmm I can't even seem to find the "main.cpp" in the vc++.net 2003 project file... it's hidding.

Though I am up and running now. Thanks for all the help.

There are many answers but just one question" ~ Jerilith the Mad
Matinuker
20
Years of Service
User Offline
Joined: 25th Mar 2004
Location:
Posted: 24th Mar 2006 21:12 Edited at: 24th Mar 2006 21:12
You should use this.

Very usefull

scooby bloke
20
Years of Service
User Offline
Joined: 4th Nov 2004
Location:
Posted: 27th Mar 2006 14:28
Quote: "Using the Wizard App by Scooby Blook it works wonders for a newby such as myself. "


I'm glad it helps
Timidon
19
Years of Service
User Offline
Joined: 26th Jun 2005
Location: Bakersfield, Ca. USA.
Posted: 27th Mar 2006 21:23
Well as I said, I was going nutz trying to get a simple hello world program running with the SDK, things were not linking up, getting errors all over the place. The app did wonders of what I was making mistakes from. It's mostly my inexperince with the compiler/ide that was giving me the trouble. Thanks for the app, it's wonderful (praise be Scooby Bloke). I am sure it's one of the newby question that pop up alot, the classic - HELP I NEED TO GET THIS INSTALLED....

next part will be trying to put together a Multiplayer server, nobody is bitting on that one....

Later

There are many answers but just one question" ~ Jerilith the Mad

Login to post a reply

Server time is: 2024-11-19 05:33:38
Your offset time is: 2024-11-19 05:33:38