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 / C++ no compiler :O

Author
Message
Tona
14
Years of Service
User Offline
Joined: 9th Feb 2010
Location:
Posted: 10th Feb 2010 07:28
Hello, i just got microsoft visual studio c++ but when i open one of the GDK tutorials i cant compile it?
here is a picture of the error it says

Attachments

Login to view attachments
JTK
14
Years of Service
User Offline
Joined: 10th Feb 2010
Location:
Posted: 10th Feb 2010 15:51
I may be wrong here, but from what I can see, you need to add DarkGDK (and quite possibly DirectX SDK) to the compiler's search paths...

In VS, select Tools then Options...

Select "Projects and Solutions" (left pane). Pay attention to the "Show Directories for" combo-box...

Add the following lines (change directories as needed) to the "Include Files" option of the combo-box:

C:\Program Files\Microsoft DirectX SDK (August 2007)\Include
C:\Program Files\The Game Creators\Dark GDK\Include


Next, Add the following lines to the "Library Files" option:

C:\Program Files\Microsoft DirectX SDK (August 2007)\Lib\x86
C:\Program Files\The Game Creators\Dark GDK\Lib\vs9

And that should do it for you...

Happy Coding!
Tona
14
Years of Service
User Offline
Joined: 9th Feb 2010
Location:
Posted: 10th Feb 2010 21:04
Hey thanks for the reply, but it dind't work
Do you know any other solutions?
Serial Velocity
16
Years of Service
User Offline
Joined: 24th Aug 2008
Location:
Posted: 16th Feb 2010 17:43
One thing, can you post images and screenshots in jpg format as they are much smaller and are more convenient

After trying JTK's solution, what error comes up?

Cetobasilius
14
Years of Service
User Offline
Joined: 29th Dec 2009
Location: Mexico
Posted: 16th Feb 2010 23:53 Edited at: 16th Feb 2010 23:58
try... hmmm modifying the code, like add a space or a comment, or press enter in some line until there is an asterisk in the "main.cpp" tab and then try to compile it. if this does not work change from debug to release. if you get a compiler error, not a "cant find exe" error, then go to Project/config/properties/input/linker/ignore specific libraries/ and add LIBCMT.lib and atls.lib

hi

Login to post a reply

Server time is: 2024-10-02 01:34:28
Your offset time is: 2024-10-02 01:34:28