The instructions are the same as in 1.x
The only addition is that if you want the samples (which you probably do) you need to turn on OGRE_BUILD_SAMPLES2 (the old OGRE_BUILD_SAMPLES contains the old samples which don't work)
If you're on windows you'll have to setup SDL2 paths manually on CMake so these samples can work.
Download and compile SDL2.
For example my setup is:
- Code: Select all
"G:\SDK\SDL2\" is where I unpacked the SDL2 source code and compiled it (solution files for compiling with Visual Studio are in G:\SDK\SDL2\VisualC).
Do not use Boost. It's pointless and may cause trouble. Ideally in the future the option to turn it on will be completely removed.
Also don't play with the CMake options too much. First get it running with the default settings. Once you got it, you can start tweaking it (just in case you bump into a broken one or an invalid combination, etc)