CMake error when compiling ogitor...

The place for artists, modellers, level designers et al to discuss their approaches for creating content for OGRE.
lucky7426969
Gnoblar
Posts: 3
Joined: Thu Jul 23, 2015 1:58 pm

CMake error when compiling ogitor...

Post by lucky7426969 »

Following this link

http://www.ogre3d.org/forums/viewtopic.php?f=8&t=76758

But When I've got to the CMake step, BTW the Ogre build is little bit different than the one specified in that thread...

So the error is


The Ogre version is
OGRE-SDK-1.9.0-vc100-x86-28.03.2015

The rest are the same
QT 4.8.4 (built by myself, following the thread)
boost 1.54 (built by myself, because it is no longer found on the net)
Ogitor 0.54
Visual Studio 2010 Ultimate SP1

I am a bit confused by CMake because I was building my ogitor with QT 4.8
The CMakeList.txt seems to look for QT 5 which is not the right version for this version of ogitor.
Any ideas how?
Thanks
Jack

Code: Select all

CMake Error at Dependencies/ImageConverter/CMakeLists.txt:12 (find_package):
  By not providing "FindQt5Widgets.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "Qt5Widgets", but CMake did not find one.

  Could not find a package configuration file provided by "Qt5Widgets" with
  any of the following names:

    Qt5WidgetsConfig.cmake
    qt5widgets-config.cmake

  Add the installation prefix of "Qt5Widgets" to CMAKE_PREFIX_PATH or set
  "Qt5Widgets_DIR" to a directory containing one of the above files.  If
  "Qt5Widgets" provides a separate development package or SDK, be sure it has
  been installed.


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:/dev/Ogitor
   used as include directory in directory C:/dev/Ogitor
   used as include directory in directory C:/dev/Ogitor/Ogitor
   used as include directory in directory C:/dev/Ogitor/Dependencies
   used as include directory in directory C:/dev/Ogitor/Dependencies
   used as include directory in directory C:/dev/Ogitor/Dependencies
   used as include directory in directory C:/dev/Ogitor/Dependencies
   used as include directory in directory C:/dev/Ogitor/Dependencies/Angelscript
   used as include directory in directory C:/dev/Ogitor/Dependencies/OFS
   used as include directory in directory C:/dev/Ogitor/Dependencies/OFS
   used as include directory in directory C:/dev/Ogitor/Dependencies/OgreTerrainConverter
   used as include directory in directory C:/dev/Ogitor/Dependencies/OgreTerrainConverter
User avatar
spacegaier
OGRE Team Member
OGRE Team Member
Posts: 4304
Joined: Mon Feb 04, 2008 2:02 pm
Location: Germany
x 136

Re: CMake error when compiling ogitor...

Post by spacegaier »

The new default branch is based on Qt 5. There is however also an old legacy branch "qt4".
Ogre Admin [Admin, Dev, PR, Finance, Wiki, etc.] | BasicOgreFramework | AdvancedOgreFramework
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...
lucky7426969
Gnoblar
Posts: 3
Joined: Thu Jul 23, 2015 1:58 pm

Re: CMake error when compiling ogitor...

Post by lucky7426969 »

Dear spacegaier,
I've solved that. I've got another question about the static linker flag.
See my next question in another post.
Thanks
Jack
User avatar
MusDavid
Gnoblar
Posts: 1
Joined: Wed Feb 22, 2017 1:50 am

CMake error when compiling ogitor

Post by MusDavid »

Same issue for me as well.

9 Built target shared 19 Built target g3dlitemake2: No rule to make target logon/LogonStdAfx.h, needed by logon/LogonStdAfx.h.gch/logon.h. Stop.make1: logon/CMakeFiles/logon.dir/all Error 2make: all Error 2