Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| outposthd:building_from_source [2019/11/18 04:31] – created leeor_net | outposthd:building_from_source [2021/02/19 04:25] (current) – leeor_net | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| First and foremost, OutpostHD is built mostly on Windows using [[https:// | First and foremost, OutpostHD is built mostly on Windows using [[https:// | ||
| - | During installation, | + | During installation, |
| {{ : | {{ : | ||
| Line 19: | Line 19: | ||
| ==== vcpkg ==== | ==== vcpkg ==== | ||
| - | In addition to NuGet, some of the dependencies for OutpostHD are only available via vcpkg, a very powerful command line package management system. It is not installed with Visual Studio so you'll need to get it set up manually. | + | See [[outposthd: |
| - | To begin, open a command | + | All of the dependencies for OutpostHD are available via vcpkg, a very powerful |
| - | {{ : | + | ===== Cloning the Repository ===== |
| + | After you have Visual Studio, Git and vcpkg installed, we're now ready to clone the OutpostHD repository and build. | ||
| - | When asked, click '' | + | To do this, click on the Clone Repository button. |
| - | {{ :outposthd:cmd_admin.png?nolink |}} | + | {{ :outposthd:vs2019_clone_repository.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' | + | Next, copy the GitHub URL for the OutpostHD repository, '' |
| - | Enter the following commands pressing '' | + | {{ :outposthd: |
| - | <code> | + | The Visual Studio solution file will be in the root directory and the source |
| - | 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 '' | + | {{ :outposthd:vs2019_clone_repository4.png? |
| - | {{ : | + | ===== Installing NAS2D ===== |
| - | Next you'll type '' | + | NAS2D now comes packaged with OutpostHD as a Git Submodule |
| - | {{ : | + | ===== Installing the Data Assets ===== |
| - | Next we need to integrate vcpkg with Visual Studio. To do this, type '' | + | The data assets are now set up as a submodule |
| - | + | ||
| - | We're almost done, we're in the home stretch! Type '' | + | |
| - | + | ||
| - | {{ : | + | |
| - | + | ||
| - | 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. | + | |