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 / Link error...

Author
Message
Curlystraw
15
Years of Service
User Offline
Joined: 2nd May 2009
Location:
Posted: 2nd May 2009 22:33
I am new to C++, so bear with me.
Whenever I use the Main.cpp code, or

it gives me this:
Quote: "1>LINK : fatal error LNK1561: entry point must be defined"

I have no idea what I'm doing wrong...
WH8
15
Years of Service
User Offline
Joined: 17th Mar 2009
Location:
Posted: 3rd May 2009 01:14 Edited at: 3rd May 2009 01:38
I know your problem.

Follow the following steps to fix your problem:

1.) Left-click File.

2.) Highlight New.

3.) Left-click Project....

4.) Left-click Wizards.

5.) Left-click DarkGDK - Game.

6.) Type in a name for your game beside the word Name:.

7.) Left-click Ok.

The above will create a DarkGDK Project and not an Empty Project. Your problem is caused by trying to use the DarkGDK function, void DarkGDK ( void ), in an Empty Project. You will not experience the link error if you use the DarkGDK function, void DarkGDK ( void ), in DarkGDK Projects.

If what I suggested doesn't work, please allow me to know by making a post.
Curlystraw
15
Years of Service
User Offline
Joined: 2nd May 2009
Location:
Posted: 3rd May 2009 03:11
worked! Thanks!
WH8
15
Years of Service
User Offline
Joined: 17th Mar 2009
Location:
Posted: 3rd May 2009 19:43
You're welcome!

Login to post a reply

Server time is: 2024-11-05 18:40:04
Your offset time is: 2024-11-05 18:40:04