This is a small check list of things you need to do before you're ready to build Ogre from source.
For this step, you need to have downloaded and installed CMake. If you need instructions on that, look here: Getting Started With CMake
Download CMake from https://cmake.org/ and install it on your system.
Download Download 'Visual Studio Community Free' or 'Professional' from https://www.visualstudio.com/downloads. In case of the 'free' version, run vs_community_ENU.exe (installation takes about half and hour)
here and install MinGW.
Make sure to include the C++ compiler (it is the only required compiler for Ogre, but installing all of them doesn't hurt).
You most likely do not want the full "MinGW Developer Toolkit", but you should check the "MSYS Basic System".
Install it to C:\mingw.
Also add C:\mingw\bin to your PATH. The installer might ask if it should do that for you, but if you did not install with admin rights, this likely did not work. In any case, you should check and make sure it is correctly added to your PATH.
Download it from https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk. Run sdksetup.exe and install the SDK (this will take some time).
In addition, mandatory for compiling SDL2 is the DirectX Software Development Kit 'DirectX 9 SDK (DX SDK June 2010)'; this version is not used by
Ogre3D V2+ (because it doesn't use DirectX 9 anymore), but it is only used for SDL2. SDL2 is used by the tutorials and samples, which are part of the Ogre source. Download DirectX 9 SDK from https://www.microsoft.com/en-us/download/confirmation.aspx?id=6812. Run the downloaded DXSDK_Jun10.exe.
here at Bitbucket. Make sure to read the instructions.
Also to read our CMake Guide if you haven't yet.