MyGUI 3.1.0 won't compile

cass

20-03-2010 06:44:46

In CMake 2.8.0 I get the following errors:


Configuring MYGUI 3.1.0
DLL's was copied from bin
Looking for FREETYPE...
Found FREETYPE: optimized;C:/Projects/Baruti/dep/my-gui/Dependencies/lib/release/freetype2311.lib;debug;C:/Projects/Baruti/dep/my-gui/Dependencies/lib/debug/freetype2311_D.lib
Original FingOGRE.cmake found, trying to use it
Looking for OGRE...
Found Ogre Cthugha (1.7.0)
Found OGRE: optimized;C:/Projects/Baruti/dep/ogre/lib/release/OgreMain.lib;debug;C:/Projects/Baruti/dep/ogre/lib/debug/OgreMain_d.lib
Looking for OGRE_Paging...
Found OGRE_Paging: optimized;C:/Projects/Baruti/dep/ogre/lib/Release/OgrePaging.lib;debug;C:/Projects/Baruti/dep/ogre/lib/Debug/OgrePaging_d.lib
Looking for OGRE_Terrain...
Found OGRE_Terrain: optimized;C:/Projects/Baruti/dep/ogre/lib/Release/OgreTerrain.lib;debug;C:/Projects/Baruti/dep/ogre/lib/Debug/OgreTerrain_d.lib
Looking for OGRE_Property...
Could not locate OGRE_Property
Looking for OGRE_RTShaderSystem...
Found OGRE_RTShaderSystem: optimized;C:/Projects/Baruti/dep/ogre/lib/Release/OgreRTShaderSystem.lib;debug;C:/Projects/Baruti/dep/ogre/lib/Debug/OgreRTShaderSystem_d.lib
Ogre was found with it's own CMake script
Could NOT find Boost
Looking for OIS...
Found OIS: optimized;C:/Projects/Baruti/dep/my-gui/Dependencies/lib/release/OIS.lib;debug;C:/Projects/Baruti/dep/my-gui/Dependencies/lib/debug/OIS_d.lib

-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
+ freetype
+ ogre
+ OIS
+ Doxygen
Congratulations! All external packages have been found.
-----------------------------------------------------------------------------

Found Berkelium: headers at C:/Projects/Baruti/dep/berkelium/include, libraries at debug;C:/Projects/Baruti/dep/berkelium/lib/berkelium.lib;optimized;C:/Projects/Baruti/dep/berkelium/lib/berkelium.lib
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Boost_INCLUDE_DIR (ADVANCED)
used as include directory in directory C:/Projects/Baruti/dep/my-gui/Platforms/Ogre/OgrePlatform
used as include directory in directory C:/Projects/Baruti/dep/my-gui/Common
used as include directory in directory C:/Projects/Baruti/dep/my-gui/Demos/Demo_Colour
used as include directory in directory C:/Projects/Baruti/dep/my-gui/Demos/Demo_Console
used as include directory in directory C:/Projects/Baruti/dep/my-gui/Demos/Demo_Controllers
used as include directory in directory C:/Projects/Baruti/dep/my-gui/Demos/Demo_Gui
used as include directory in directory C:/Projects/Baruti/dep/my-gui/Demos/Demo_ItemBox
used as include directory in directory C:/Projects/Baruti/dep/my-gui/Demos/Demo_PanelView
used as include directory in directory C:/Projects/Baruti/dep/my-gui/Demos/Demo_Picking
used as include directory in directory C:/Projects/Baruti/dep/my-gui/Demos/Demo_PluginStrangeButton
used as include directory in directory C:/Projects/Baruti/dep/my-gui/Demos/Demo_RenderBox
used as include directory in directory C:/Projects/Baruti/dep/my-gui/Demos/Demo_ScrollView
used as include directory in directory C:/Projects/Baruti/dep/my-gui/Demos/Demo_Themes
used as include directory in directory C:/Projects/Baruti/dep/my-gui/Demos/Demo_Pointers
used as include directory in directory C:/Projects/Baruti/dep/my-gui/Tools/FontViewer
used as include directory in directory C:/Projects/Baruti/dep/my-gui/Tools/ImageSetViewer
used as include directory in directory C:/Projects/Baruti/dep/my-gui/Tools/LayoutEditor

Configuring incomplete, errors occurred!


I have specified:
Boost_ROOT
Boost_INCLUDE_DIR
Boost_LIBRARY_DIR

I have tried Boost 1.42, 1.40... no joy.

cass

28-03-2010 12:34:05

How can one specify the location of Boost manually? CMake does not detect Boost's location correctly.

cass

28-03-2010 12:41:31

Nevermind, I just figured it out myself. In case someone else is also stuck with the same problem. I had to specify Boost_ROOT in CMake manually.