yozefx / gamekit

Automatically exported from code.google.com/p/gamekit
0 stars 0 forks source link

build error for ios #334

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
-----------------------------------------------------------------------------
-- Graphic backend is Ogre-1.9a
-----------------------------------------------------------------------------
CMake Error at CMake/Packages/FindOpenGLES.cmake:39 (create_search_paths):
  Unknown CMake command "create_search_paths".
Call Stack (most recent call first):
  CMake/DependenciesOgreKit.cmake:30 (find_package)
  CMake/ConfigOgreKit.cmake:142 (include)
  CMakeLists.txt:76 (configure_ogrekit)

Original issue reported on code.google.com by hanee...@gmail.com on 7 Nov 2014 at 4:36

GoogleCodeExporter commented 8 years ago
There are actually a few problems with the GLES CMake files especially when 
building with the latest XCode (6.1). The solution for this particular problem 
is to add "include(FindPkgMacros)" to the top of the FindOpenGLES.cmake file 
(found in GameKit/CMake/Packages/).

Original comment by WDR.dber...@gmail.com on 15 Nov 2014 at 12:11

GoogleCodeExporter commented 8 years ago
Another issue you will have to fix to get the build to work for GLES is to 
revise line 43 (or about there) in Ogre-1.9a/RenderSystems/GLES/CMakeLists.txt 
to this:

file(GLOB PLATFORM_SOURCES "src/EAGL/*.mm")

The bug is that it is trying to GLOB the .mm files from the include directory 
instead of the src directory. This is actually a bug in Ogre and has been 
submitted there as well.

Original comment by WDR.dber...@gmail.com on 15 Nov 2014 at 12:22