Th3Ya0vi / vdrift-ogre

Automatically exported from code.google.com/p/vdrift-ogre
0 stars 0 forks source link

Compilation fails on Ubuntu Maverick #83

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Check out sources from git as instructed
2. Install required dependencies
3. cmake ..

What do you see instead?

~/src/stuntrally/build$ cmake ..
-- GCC detected, adding compile flags
CMake Error at cmake/FindOGRE.cmake:164 (file):
  file Internal CMake error when trying to open file:
  /usr/include/OGRE/OgrePrerequisites.h for reading.
Call Stack (most recent call first):
  CMakeLists.txt:45 (find_package)

CMake Error at cmake/PreprocessorUtils.cmake:11 (string):
  string sub-command REGEX, mode MATCH needs at least 5 arguments total to
  command.
Call Stack (most recent call first):
  cmake/FindOGRE.cmake:165 (get_preprocessor_entry)
  CMakeLists.txt:45 (find_package)
...

What version are you using? On what operating system?
git version, Ubuntu  Maverick

Please provide any additional information below.

OgrePrerequisities.h is located at:
/usr/include/OGRE1.7/OGRE/OgrePrerequisites.h

and is provided by libogre1.7-dev 1.7.3-1~getdeb1

Original issue reported on code.google.com by vrank...@gmail.com on 31 Aug 2011 at 3:56

GoogleCodeExporter commented 8 years ago
I'm thinking the Ogre finding script is unable to look into 
/usr/include/OGRE1.7 try temporarily renaming it to /usr/include/OGRE and see 
what happens.

Our "official" ogre dev packages come from 
https://launchpad.net/~andrewfenn/+archive/ogredev ppa, we cannot really cater 
every possible place of install some packages may decide to use, especially as 
the Ogre CMake scripts are not our creation. There might also be some switch or 
environment variable you can pass to cmake to hint the non-standard location of 
the headers.

Original comment by tapiovie...@gmail.com on 1 Sep 2011 at 9:14

GoogleCodeExporter commented 8 years ago

Original comment by tapiovie...@gmail.com on 12 Oct 2011 at 5:22