FREETYPE_FT2BUILD_INCLUDE_DIR?

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
Post Reply
Rhynedahll
Halfling
Posts: 77
Joined: Thu Jan 08, 2009 2:03 am
x 1

FREETYPE_FT2BUILD_INCLUDE_DIR?

Post by Rhynedahll »

I'm trying to build 1.9 with Express 2013.
I have downloaded Freetype 2.52 and set a Windows env variable to the include dir under it but CMake continues to spit out an error saying that FREETYPE_FT2BUILD_INCLUDE_DIR is not set.

Any suggestions as to what I am doing wrong?
The Key to Magic -- Book One: ORPHAN
An epic fantasy by H. Jonas Rhynedahll available on Kindle.
The Key to Magic
User avatar
Mind Calamity
Ogre Magi
Posts: 1255
Joined: Sat Dec 25, 2010 2:55 pm
Location: Macedonia
x 81

Re: FREETYPE_FT2BUILD_INCLUDE_DIR?

Post by Mind Calamity »

I suggest you use these dependencies: https://bitbucket.org/cabalistic/ogredeps/src

If you want to use your own version, an alternative would be to setup the dependencies in the directory structure produced by the projects I linked you to.
That would be this:

Code: Select all

D:\LIBRARIES\OGRE\SOURCE\DEPENDENCIES
├───bin
│   ├───Debug
│   └───Release
├───include
│   ├───Cg
│   ├───freetype
│   │   ├───config
│   │   └───internal
│   │       └───services
│   ├───OIS
│   │   └───win32
│   └───zzip
├───lib
│   ├───Debug
│   └───Release
And either point CMake to the dependencies directory manually, or put the dependencies directory in the OGRE source folder.
BitBucket username changed to iboshkov (from MindCalamity)
Do you need help? What have you tried?
- xavier
---------------------
HkOgre - a Havok Integration for OGRE | Simple SSAO | My Blog | My YouTube | My DeviantArt
Rhynedahll
Halfling
Posts: 77
Joined: Thu Jan 08, 2009 2:03 am
x 1

Re: FREETYPE_FT2BUILD_INCLUDE_DIR?

Post by Rhynedahll »

Mind Calamity wrote:I suggest you use these dependencies: https://bitbucket.org/cabalistic/ogredeps/src

If you want to use your own version, an alternative would be to setup the dependencies in the directory structure produced by the projects I linked you to.
That would be this:

Code: Select all

D:\LIBRARIES\OGRE\SOURCE\DEPENDENCIES
├───bin
│   ├───Debug
│   └───Release
├───include
│   ├───Cg
│   ├───freetype
│   │   ├───config
│   │   └───internal
│   │       └───services
│   ├───OIS
│   │   └───win32
│   └───zzip
├───lib
│   ├───Debug
│   └───Release
And either point CMake to the dependencies directory manually, or put the dependencies directory in the OGRE source folder.
Thanks! While I had already compiled the dependencies from source with 2013, your diagram pointed me to the fact that the ogredeps directory that I input to Cmake was off by one level and this correction solved my problem.
The Key to Magic -- Book One: ORPHAN
An epic fantasy by H. Jonas Rhynedahll available on Kindle.
The Key to Magic
Post Reply