Ogre Quick Start

Source: Internet
Author: User

Download and install ogre SDK, set the environment variable ogre_home = x: \ ogre \ OgreSDK_vc11_v1-9-0 and ogre_runtime = % ogre_home % \ bin \ debug; % ogre_home % \ bin \ release, and add ogre_runtime to the path.

Download the mygui-related files. The directory structure is






Compile dependencies, use cmake to specify the source directory as mygui_3.2.0, build directory as build, manually set FreeType-related lib and generate a project to generate mygui. ogreplatform, and copy the lib directory to ogre_home, And the DLL in BIN to the corresponding directory under ogre_home \ bin.

Create a project and set the working directory

$ (Ogre_home) \ bin \ $ (configuration)

Add a directory

$ (Ogre_home) \ include \ ogre; $ (mygui_home) \ platforms \ ogre \ ogreplatform \ include; $ (mygui_home) \ myguiengine \ include; $ (ogre_home) \ include \ ogre \ overlay; $ (ogre_home) \ boost; $ (ogre_home) \ include; % (additionalincludedirectories)

Additional library directory
$ (Mygui_home) \ Lib \ $ (configuration); $ (ogre_home) \ boost \ Lib; $ (ogre_home) \ Lib \ $ (configuration); % (additionallibrarydirectories)

Additional Dependencies

Ogremain_d.lib; ois_d.lib; ogreoverlay_d.lib; myguiengine_d.lib; mygui. ogreplatform_d.lib; % (additionaldependencies)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.