Operating System: Windows 8.1
I've started the tutorial for 1.11.1. The tutorial says to get going all I have to do is add the following to my CMakeLists (which I've done):
Code: Select all
#...all you need is to add the following lines to your project
# specify which version and components you need
find_package(OGRE 1.11 REQUIRED COMPONENTS Bites RTShaderSystem)
# copy resource.cfg next to our binaries where OGRE looks for it
file(COPY ${OGRE_CONFIG_DIR}/resources.cfg DESTINATION ${CMAKE_BINARY_DIR})
Code: Select all
Starting to parse CMake project, using: "-DCMAKE_CXX_COMPILER:STRING=C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/HostX86/x64/cl.exe", "-DCMAKE_C_COMPILER:STRING=C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/HostX86/x64/cl.exe", "-DCMAKE_PREFIX_PATH:STRING=C:/Qt/5.8/msvc2015_64", "-DQT_QMAKE_EXECUTABLE:STRING=C:/Qt/5.8/msvc2015_64/bin/qmake.exe".
Ogre SDK is at = C:\Ogre3D\SDK\1_11_1\MSVC
Ogre CMakes at = C:\Ogre3D\SDK\1_11_1\MSVC\CMake
Found OGRE
static : OFF
components : Bites;HLMS;MeshLodGenerator;Overlay;Paging;Property;RTShaderSystem;Terrain;Volume
plugins : Plugin_BSPSceneManager;Plugin_OctreeSceneManager;Plugin_PCZSceneManager;Plugin_ParticleFX;RenderSystem_GL;RenderSystem_GL3Plus;RenderSystem_Direct3D9;RenderSystem_Direct3D11
media : C:/Ogre3D/SDK/1_11_1/MSVC/Media
Configuring done
Generating done
CMake Project was parsed successfully.
Code: Select all
#include <Ogre.h>
Code: Select all
OgreBites::ApplicationContext