You are not logged in.

#1 2017-12-29 20:03:28

JohnnyDoe
Member
Registered: 2017-10-24
Posts: 6

Can't cmake sample clean project of OGRE, can't find OIS

I was trying to cmake this https://github.com/ogre3d/clean-project and I can't get it to work.

-- The C compiler identification is GNU 7.2.1
-- The CXX compiler identification is GNU 7.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OGRE
--   static     : OFF
--   components : Bites;HLMS;MeshLodGenerator;Overlay;Paging;Property;RTShaderSystem;Terrain;Volume
--   plugins    : Plugin_BSPSceneManager;Plugin_CgProgramManager;Plugin_OctreeSceneManager;Plugin_PCZSceneManager;Plugin_ParticleFX;RenderSystem_GL;RenderSystem_GL3Plus
--   media      : /usr/share/OGRE/Media
CMake Error at tools/cmake/common.cmake:63 (find_package):
  By not providing "FindOIS.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "OIS", but
  CMake did not find one.

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

    OISConfig.cmake
    ois-config.cmake

  Add the installation prefix of "OIS" to CMAKE_PREFIX_PATH or set "OIS_DIR"
  to a directory containing one of the above files.  If "OIS" provides a
  separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:31 (include)


-- Configuring incomplete, errors occurred!
See also "/home/arch/prog/ogre/clean-project/CMakeFiles/CMakeOutput.log".

This also doesn't work with other OGRE CMakeLists for different versions.

What should I do? I'm trying full system upgrade, but I don't think that will help.

Offline

#2 2017-12-29 21:47:45

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Can't cmake sample clean project of OGRE, can't find OIS

Moving to AUR Issues...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-12-29 21:55:42

JohnnyDoe
Member
Registered: 2017-10-24
Posts: 6

Re: Can't cmake sample clean project of OGRE, can't find OIS

jasonwryan wrote:

Moving to AUR Issues...

I don't quite understand how this is an AUR issue - both ogre and OIS are in default repos

Offline

#4 2017-12-29 22:05:33

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Can't cmake sample clean project of OGRE, can't find OIS

Yeah, you aren't installing from the repos, though.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2017-12-29 22:12:53

JohnnyDoe
Member
Registered: 2017-10-24
Posts: 6

Re: Can't cmake sample clean project of OGRE, can't find OIS

jasonwryan wrote:

Yeah, you aren't installing from the repos, though.

I think you got me wrong.
I installed both ogre and OIS from repos.
The link in the first message is a clean project file, not a piece of software.
The problem is that CMake can't find a package called OIS, it's stated right there

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

    OISConfig.cmake
    ois-config.cmake

Offline

#6 2017-12-30 11:00:29

ayekat
Member
Registered: 2011-01-17
Posts: 1,589

Re: Can't cmake sample clean project of OGRE, can't find OIS

Not familiar with this topic, but have you checked https://bbs.archlinux.org/viewtopic.php?id=78465?


pkgshackscfgblag

Offline

Board footer

Powered by FluxBB