[1.11.2] I do not see Samples in VS2017 solution.

Problems building or running the engine, queries about how to use features etc.
Post Reply
User avatar
nuke
Halfling
Posts: 72
Joined: Wed Oct 01, 2014 1:16 am
Location: Crimea
x 5

[1.11.2] I do not see Samples in VS2017 solution.

Post by nuke »

Ogre Version: : 1.11.2
Operating System: : Windows 10
Render System: : D3D11, OpenGL

I decided to build latest release (v1.11.2) for Windows 10.
My steps:
1. Downloaded the latest release (https://github.com/OGRECave/ogre/releases)
2. Started CMake
3. Configured/generated solution for Visual Studio 2017 with no changes in CMake (default)
4. Opened generated solution in VS2017
5. Builded with success.

But I wanted to launch a SampleBrowser (as it was before, in earlier releases)
but there are no Samples or SampleBrowser :(
They are not in the Solution.

(See VS2017 screenshot)


Image
paroj
OGRE Team Member
OGRE Team Member
Posts: 1995
Joined: Sun Mar 30, 2014 2:51 pm
x 1075
Contact:

Re: [1.11.2] I do not see Samples in VS2017 solution.

Post by paroj »

verify that freetype and SDL2 are correctly build/ detected by CMake. You are also missing the Overlay component which is required by the Samples.
User avatar
nuke
Halfling
Posts: 72
Joined: Wed Oct 01, 2014 1:16 am
Location: Crimea
x 5

Re: [1.11.2] I do not see Samples in VS2017 solution.

Post by nuke »

Thank you for the answer!
verify that freetype and SDL2 are correctly build/ detected by CMake.
The SD2 was built perfectly.
You are also missing the Overlay component which is required by the Samples.
Yes, Overlay was missed!
FreeType and FreeImage were not defined.
I forgot define DIRs and LIBs.
I thought that the CMake will download and build them automatically as it did with SDL2, zlib, and zziblib

Before, when I builded previous versions, releases, I defined manually all DIRs and LIBs of dependencies, that I builded before building Ogre.

P.S.
btw, I see this first time: CMake downloaded and builded some libraries automatically. :D

Thanx again!
Post Reply