- Download and open dark gdk resources.zip (you will need to use your SNC Google account to access the file)
- Run vs_community_2017.exe to install Visual Studio Community 2017.
- Choose Desktop Development w/ C++ and press Install
- Create and Run a C++ sample application in VS 2017
- File>New>Project
- Empty Project
- Name: Hello
- OK
- Right-click Source Files
- Add>New Item>C++ File(.cpp)
- Name: Hello.cpp
- Add
- Type in or copy/paste the sample code:
-
#include <iostream>
using namespace std;
void main () {
char ch;
cout << "Hello" << endl;
cout << "enter character and then press enter to leave" << endl;
cin >> ch;
return;
} - Debug>Start Without Debugging
- Close Visual Studio
- Run vs_community_2017.exe again and click Modify
- With Desktop Development w C++ checked as before, in the panel on the right, click:
• Visual C++ MFC for x86 and x64
• Windows 10 SDK 10.0.14393.0
• Windows 10 SDK 10.0.15063.0 - Click Modify
- With Desktop Development w C++ checked as before, in the panel on the right, click:
- Run dxsdk_aug2007.exe
- Unzip the contents when prompted
- Go through install prompts
- (May bring up dialog windows regarding XAudio. Just click OK or the X in the corner.)
- Copying library and include files for DarkGDK:
- Navigate to C:\ProgramFiles(x86)
- New -> Folder
- Name it: The Game Creators (spaces required)
- Go to that folder.
- New -> Folder
- Name it: Dark GDK (space required)
- Copy Include_VS2017 and Lib_VS2017 into the Dark GDK folder.
- Copy sncDarkGDK2017 folder to either Desktop or Documents, somewhere where the student will know where to find it, they will be using this folder throughout the semester
- Test installation:
- Open sncDarkGDK2017 folder
- Double-click on sncDarkGDK2017.sln
- a. Debug -> Start Without Debugging
Comments
0 comments
Article is closed for comments.