- 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
- 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.19041.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
- Click "Project" -> "Retarget solution"
-
Ensure "10.0.19041.0" is selected next to "Windows SDK Version
-
a. Debug -> Start Without Debugging
Note: If you receive an error that dxsdk.h is not found when running the test project, go ahead and install the directX runtime, here: https://www.microsoft.com/en-us/download/details.aspx?id=35
Comments
0 comments
Article is closed for comments.