Configuating Visual Stuido 2010 for Directx
This may not apply directly to Combat Arms coding, however it is a issue new players suffer from on a daily basis in this section. Hopefully this tutorial will lower help threads, and help alot of people
Introduction
I heard many times that for Visual Studio 10 it will not save additional directory or dependencies. So if you wish to stop inputting the directories every-time you start a directx project this tutorial should be for you. It worked for me, and as a proud use of Visual Studio 2010 I no longer need to input Directx SDK on every use.
What You Need
Visual Studio 2010
Dirextx SDK
1.] Download, and Installation
note: Download, and Installation is Very Straightforward.
1.) Click the above link "Directx SDK" to download the Directx SDK.
2.) After downloading, open/run as administrator.
3.) During this any UAC/Run as Administrator message that might sure, press yes.
4.) They ask you if you would like to participate in something, and then thats about it.
5.) Watch the loading bar insall the SDK.
2.] Setting up Visual Studio to Recognize Header Files
1.) Go to the Dirextx SDK Installation Directory which should be something like this [C:\Program Files\Microsoft DirectX SDK (June 2010)]
2.) From the directory click "Include" so now you should be here [C:\Program Files\Microsoft DirectX SDK (June 2010)\Include]
3.) Select all the files in that folder manually or use Control + A.
4.) With all the files selected right click one, and press copy. Alternatively you can use the shortcut, and use Control + C.
5.) Go to your visual studio program file directory which should be something like [C:\Program Files\Microsoft Visual Studio 10.0].
6.) Open the folder "VC" you should now be here [C:\Program Files\Microsoft Visual Studio 10.0\VC].
7.) Now Open the folder "Include" you should know be here [C:\Program Files\Microsoft Visual Studio 10.0\VC\include]
8.) Right click anywhere in the folder, and select Paste.
9.) All the files should of been copied from your Directx SDK folder to your Visual Studio Folder.
3.] Setting up Visual Studio to Recognize Lib Files
1.) Go to the Dirextx SDK Installation Directory which should be something like this [C:\Program Files\Microsoft DirectX SDK (June 2010)]
2.) From the directory click "Lib" so now you should be here [C:\Program Files\Microsoft DirectX SDK (June 2010)\Lib]
3.) Now click the folder "x86" you should now be here [C:\Program Files\Microsoft DirectX SDK (June 2010)\Lib\x86]
4.) Select all the files in that folder manually or use Control + A.
5.) With all the files selected right click one, and press copy. Alternatively you can use the shortcut, and use Control + C.
6.) Go to your visual studio program file directory which should be something like [C:\Program Files\Microsoft Visual Studio 10.0].
7.) Open the folder "VC" you should now be here [C:\Program Files\Microsoft Visual Studio 10.0\VC].
8.) Now Open the folder "lib" you should know be here [C:\Program Files\Microsoft Visual Studio 10.0\VC\lib]
8.) Right click anywhere in the folder, and select Paste.
9.) All the files should of been copied from your Directx SDK folder to your Visual Studio Folder.
Introduction
I heard many times that for Visual Studio 10 it will not save additional directory or dependencies. So if you wish to stop inputting the directories every-time you start a directx project this tutorial should be for you. It worked for me, and as a proud use of Visual Studio 2010 I no longer need to input Directx SDK on every use.
What You Need
Visual Studio 2010
Dirextx SDK
1.] Download, and Installation
note: Download, and Installation is Very Straightforward.
1.) Click the above link "Directx SDK" to download the Directx SDK.
2.) After downloading, open/run as administrator.
3.) During this any UAC/Run as Administrator message that might sure, press yes.
4.) They ask you if you would like to participate in something, and then thats about it.
5.) Watch the loading bar insall the SDK.
2.] Setting up Visual Studio to Recognize Header Files
1.) Go to the Dirextx SDK Installation Directory which should be something like this [C:\Program Files\Microsoft DirectX SDK (June 2010)]
2.) From the directory click "Include" so now you should be here [C:\Program Files\Microsoft DirectX SDK (June 2010)\Include]
3.) Select all the files in that folder manually or use Control + A.
4.) With all the files selected right click one, and press copy. Alternatively you can use the shortcut, and use Control + C.
5.) Go to your visual studio program file directory which should be something like [C:\Program Files\Microsoft Visual Studio 10.0].
6.) Open the folder "VC" you should now be here [C:\Program Files\Microsoft Visual Studio 10.0\VC].
7.) Now Open the folder "Include" you should know be here [C:\Program Files\Microsoft Visual Studio 10.0\VC\include]
8.) Right click anywhere in the folder, and select Paste.
9.) All the files should of been copied from your Directx SDK folder to your Visual Studio Folder.
3.] Setting up Visual Studio to Recognize Lib Files
1.) Go to the Dirextx SDK Installation Directory which should be something like this [C:\Program Files\Microsoft DirectX SDK (June 2010)]
2.) From the directory click "Lib" so now you should be here [C:\Program Files\Microsoft DirectX SDK (June 2010)\Lib]
3.) Now click the folder "x86" you should now be here [C:\Program Files\Microsoft DirectX SDK (June 2010)\Lib\x86]
4.) Select all the files in that folder manually or use Control + A.
5.) With all the files selected right click one, and press copy. Alternatively you can use the shortcut, and use Control + C.
6.) Go to your visual studio program file directory which should be something like [C:\Program Files\Microsoft Visual Studio 10.0].
7.) Open the folder "VC" you should now be here [C:\Program Files\Microsoft Visual Studio 10.0\VC].
8.) Now Open the folder "lib" you should know be here [C:\Program Files\Microsoft Visual Studio 10.0\VC\lib]
8.) Right click anywhere in the folder, and select Paste.
9.) All the files should of been copied from your Directx SDK folder to your Visual Studio Folder.

