====== Setting up vcpkg and dependencies ====== These instructions assume that you have git properly installed. To begin, open a command prompt with administrator privileges. Click on the start button and type in ''cmd''. Right click on ''Command Prompt'' and click ''Run as administrator''. {{ :outposthd:cmd_admin.png?nolink |}} When asked, click ''Yes'' and a command prompt will open up. {{ :outposthd:cmd_admin.png?nolink |}} You can install vcpkg anywhere you want. To make it easy, I'm going to install it in //C:\vcpkg//. To do that, you'll need to create the directory. Enter the following commands pressing ''enter'' after every line: cd.. cd.. cls You will now be at the root directory of the C:\ drive (or whatever is your primary disk, usually C:\ but sometimes other letters). Anyway, now we need clone the vcpkg git repository. Type ''git clone https://github.com/microsoft/vcpkg.git'' and press ''enter''. Assuming Git is installed properly, the vcpkg repository will be cloned into C:\vcpkg. Now type ''cd vcpkg'' and press ''enter'' to change to the vcpkg directory. {{ :outposthd:cmd_git_clone2.png?nolink |}} Next you'll type ''bootstrap-vcpkg'' and press ''enter''. It will take a few minutes for vcpkg to builds itself. After it finishes your prompt should look like this: {{ :outposthd:cmd_vcpkg_build.png?nolink |}} Next we need to integrate vcpkg with Visual Studio. To do this, type ''vcpkg integrate install'' and press ''enter''. ====== Optional Build Steps ====== NAS2D's (the middleware that OutpostHD is based on) build process includes a batch file that installs and integrates the necessary dependencies to build itself and OutpostHD. The following steps are optional but can save you a bit of time for the first time you build NAS2D. We're almost done, we're in the home stretch! Type ''vcpkg install glew:x86-windows glew:x64-windows physfs:x86-windows physfs:x64-windows sdl2:x64-windows sdl2:x86-windows sdl2-image:x64-windows sdl2-image:x86-windows sdl2-mixer:x64-windows sdl2-mixer:x86-windows sdl2-ttf:x64-windows sdl2-ttf:x86-windows'' and press ''enter''. This will proceed to download and install the 32-bit and 64-bit versions of all required dependencies. This process will take awhile, so just hang out and wait for the process to complete. {{ :outposthd:cmd_vcpkg_install_libs.png?nolink |}} And that's it! vcpkg and the dependencies that OutpostHD will require are installed! You can see on my machine it took about 5 minutes to build but on my laptop it took 20 minutes. You can just let the process work in the background and you're done.