VSC Requirements
Installation Guide | |
---|---|
<< Start: Installation Guide | Step 2: VSC Core Installation >> |
Boost ≥ 1.70 - 1.74 | |
MySQL ≥ 5.7.0 | |
OpenSLL ≥ 1.0.x | |
CMake ≥ 3.16 | |
MS Visual Studio Build Tools |
- Git Extensions
- You will need Git installed. You can get the latest version here https://git-scm.com/download/win
- Install Visual Studio 2019 Build Tools
You will need to install the C++ compiler.
To do this, select **Desktop development for C++** under **Workloads -> Desktop & Mobile**. <a href="../images/visualstudio_tools.png" target="_blank"> <img src="../images/visualstudio_tools.png" height="50%" width="50%"> </a> - [[https://code.visualstudio.com/|Visual Studio Code]] - Download and install the **Latest Version** - Install extensions - Click **View**->**Extensions** <a href="../images/vsc_extensions.png.png" target="_blank"><img src="../images/vsc_extensions.png"></a> - In Search bar type **C/C++ Extension Pack** - Click on green install button <a href="../images/visualstudio_tools.png" target="_blank"><img src="../images/vcs_extension_pack_install.png" height="50%" width="50%"></a> - [[https://cmake.org/|CMake]] - Download and install the **Latest Release** win32-x86.exe file, **NEVER the RC (Release Candidate) versions.** - We recommend to compile in 64 bits mode. - MySQL development files - These files are shipped with MySQL Server, search for them at program files directory, MySQL\MySQL Server 8.0\lib / MySQL\MySQL Server 5.7\lib. - [[http://www.slproweb.com/products/Win32OpenSSL.html|OpenSSL]] Download the 64bit version. Or you can get both if you plan to compile both 32 and 64bit, they can coexist side by side. - Find the 64bit version by finding the latest 1.0.x or 1.1.x Win64 OpenSSL that is NOT the "light" version. (Example: Win64 OpenSSL v1.1.1g) - Find the 32bit version by finding the latest 1.0.x or 1.1.x Win32 OpenSSL that is NOT the "light" version. (Example: Win32 OpenSSL v1.1.1g) - //Note #1: If you get a "Missing Microsoft Visual C++ 2008 Redistributable" error message while installing OpenSSL,// //download the [[http://www.microsoft.com/en-us/download/details.aspx?id=29|Microsoft Visual C++ 2008 Redistributable Package (x64)]] (1.7MB Installer) and install it.// //If you need 32bit support, download and install the [[http://www.microsoft.com/en-us/download/details.aspx?id=15336|Microsoft Visual C++ 2008 Redistributable Package (x86)]].// - //Note #2: While installing OpenSSL, choose The OpenSSL binaries (/bin) directory (NOT "The Windows system directory")// //when given the choice on where to copy the OpenSSL DLLs. These DLLs will need to be located easily for [[windows-core-installation|Core Installation]].// - [[https://www.boost.org/|Boost]]. - Download the prebuilt Windows Binary for Visual Studio Tools - ''%%1.70.0%%'' is the minimum version required for Visual Studio Tool, but Version ''%%1.74.0%%''is recommended - 64bit: https://sourceforge.net/projects/boost/files/boost-binaries/1.74.0/boost_1_74_0-msvc-14.2-64.exe/download - 32bit: https://sourceforge.net/projects/boost/files/boost-binaries/1.74.0/boost_1_74_0-msvc-14.2-32.exe/download - Add an environment variable to "System" variable named "BOOST_ROOT" and as value your Boost installation directory, e.g ''%%E:/Programs/boost_1_74_0%%''. Important is to use '**/**', not '**\**' when pointing to directory. (Make sure that it does not have a trailing slash (end of path). If you still get problems, add the same variable in the ''%%USER%%'' variables section too, like shown in the image below.) <a href="../images/boost.jpg" target="_blank"> <img src="../images/boost.jpg" height="50%" width="50%"> </a> - Notice that this image shows the version number ''%%1.72.0%%'' - use your actual version number in your settings.