[solved][2.1] Where is OGRE_BUILD_SAMPLES2 (cmake)?

Problems building or running the engine, queries about how to use features etc.
Post Reply
hyyou
Gremlin
Posts: 173
Joined: Wed Feb 03, 2016 2:24 am
x 17
Contact:

[solved][2.1] Where is OGRE_BUILD_SAMPLES2 (cmake)?

Post by hyyou »

I downloaded Ogre 2.1 from https://bitbucket.org/sinbad/ogre/downloads,

but in cmake, there isn't any option OGRE_BUILD_SAMPLES2.

I only found OGRE_BUILD_SAMPLES as in the image.
cmakee.jpg
I successfully complied Ogre 2.1 without OGRE_BUILD_SAMPLES2 flag,
but can't find any good examples for HLMS except the very basic Sample_HLMS.

Where is the popular OGRE_BUILD_SAMPLES2?
Everyone seems find it, while I do not find.

Solution
Don't download from the page https://bitbucket.org/sinbad/ogre/downloads at first sight,
(It leads to Ogre 1.10)
click "Branches" tab, and then choose .zip from 2.1 version.
Last edited by hyyou on Thu Apr 07, 2016 3:43 am, edited 2 times in total.
User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 5299
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 1280
Contact:

Re: [2.1] Where is OGRE_BUILD_SAMPLES2 ?

Post by dark_sylinc »

Are you sure you downloaded the v2.1 branch? By default the link you provided will download the 'default' branch, which is not 2.1.
There is also no "Sample_HLMS" in 2.1 branch, but there is one in default.

I strongly suggest you download the source using these steps. The download feature from bitbucket can be very misleading (particularly with the Dependencies, the SDL2 subrepo won't be followed; which is used by the samples2). Also check this post.
Post Reply