This shows you the differences between two versions of the page.
Next revision | Previous revision |
outposthd:vcpkg [2019/11/18 04:33] – created leeor_net | outposthd:vcpkg [2020/05/16 17:01] (current) – leeor_net |
---|
{{ :outposthd:cmd_vcpkg_build.png?nolink |}} | {{ :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''. This will take a minute or two. When the process completes, we need to install the PhysFS and GLEW packages. | Next we need to integrate vcpkg with Visual Studio. To do this, type ''vcpkg integrate install'' and press ''enter''. |
| |
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'' and press ''enter''. This will proceed to download and install the 32-bit and 64-bit versions of the GLEW and PhysFS libraries. This process will take awhile, so just hang out and wait for the process to complete. | ====== 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 |}} | {{ :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. | 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. |