Ogre Dependencies cmake error

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
Post Reply
Prosorinos
Gnoblar
Posts: 21
Joined: Thu Oct 09, 2014 5:48 am
Location: Patras, Greece

Ogre Dependencies cmake error

Post by Prosorinos »

windows 8.1 pro 64 bit operating system, x64 based processor

Greetings,

i am trying to build ogre 1.9 from the source. i am doing the prerequisites first from http://www.ogre3d.org/tikiwiki/tiki-ind ... requisites.
In the dependencies tab i click the bitbucket link https://bitbucket.org/cabalistic/ogredeps/downloads and i download the dependencies named: cabalistic-ogredeps-eb18d4651ec7.
i use cmake to build them and i get the following error:

Code: Select all

The C compiler identification is MSVC 16.0.30319.1
The CXX compiler identification is MSVC 16.0.30319.1
Check for working C compiler using: Visual Studio 10 2010
Check for working C compiler using: Visual Studio 10 2010 -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler using: Visual Studio 10 2010
Check for working CXX compiler using: Visual Studio 10 2010 -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Detecting CXX compile features
Detecting CXX compile features - done
Looking for DirectX...
DirectX_PREFIX_PATH changed.
Check size of void*
Check size of void* - done
Found DirectX: C:/Program Files (x86)/Windows Kits/8.0/Lib/win8/um/x86/d3d9.lib
DX lib dir: C:/Program Files (x86)/Windows Kits/8.0/Lib/win8/um/x86
DX lib dir: C:/Program Files (x86)/Windows Kits/8.0/Lib/win8/um/x86
Check size of void*
Check size of void* - done

CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.3/Modules/ExternalProject.cmake:1871 (message):
  No download info given for 'SDL2' and its source directory:

   C:/Users/chris/Desktop/OGRE/Dependencies/cabalistic-ogredeps-eb18d4651ec7/src/SDL2

  is not an existing non-empty directory.  Please specify one of:

   * SOURCE_DIR with an existing non-empty directory
   * URL
   * GIT_REPOSITORY
   * HG_REPOSITORY
   * CVS_REPOSITORY and CVS_MODULE
   * SVN_REVISION
   * DOWNLOAD_COMMAND
Call Stack (most recent call first):
  C:/Program Files (x86)/CMake/share/cmake-3.3/Modules/ExternalProject.cmake:2356 (_ep_add_download_command)
  src/CMakeLists.txt:162 (ExternalProject_Add)

Configuring incomplete, errors occurred!
See also "C:/Users/chris/Desktop/OGRE/Dependencies/cabalistic-ogredeps-eb18d4651ec7/build/CMakeFiles/CMakeOutput.log".
am i doing something wrong?
thank you for your time.
User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 5156
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 1219
Contact:

Re: Ogre Dependencies cmake error

Post by dark_sylinc »

I suggest cloning the repository instead of downloading the latest version.

If it still give you errors, try older commits such as 89cec87de0ff3d9c8ec083638df84f6cac1811a9 as the SDL2 project deps was added very recently (and not needed for Ogre 1.9). It's possible that this addition is breaking CMake for some people.
scrawl
OGRE Expert User
OGRE Expert User
Posts: 1119
Joined: Sat Jan 01, 2011 7:57 pm
x 216

Re: Ogre Dependencies cmake error

Post by scrawl »

Judging by commit 434b497e90c2113a67b87d6a2876f77d04cc006b, SDL2 is now a mercurial subrepository of the ogredeps repository. Using a zip download may not include subrepositories, so try using a hg clone instead.
User avatar
Kojack
OGRE Moderator
OGRE Moderator
Posts: 7156
Joined: Sun Jan 25, 2004 7:35 am
Location: Brisbane, Australia
x 532

Re: Ogre Dependencies cmake error

Post by Kojack »

scrawl wrote:Judging by commit 434b497e90c2113a67b87d6a2876f77d04cc006b, SDL2 is now a mercurial subrepository of the ogredeps repository. Using a zip download may not include subrepositories, so try using a hg clone instead.
I just tested, the zip download doesn't pick up sdl while a clone does.
Prosorinos
Gnoblar
Posts: 21
Joined: Thu Oct 09, 2014 5:48 am
Location: Patras, Greece

Re: Ogre Dependencies cmake error

Post by Prosorinos »

so i use the clone option and then clone in sourcetree. i get the following errors:

Code: Select all

hg clone -b default https://bitbucket.org/cabalistic/ogredeps C:\Users\chris\Documents\ogredeps
adding changesets
adding manifests
adding file changes
added 93 changesets with 3786 changes to 1474 files
updating to branch default
cloning subrepo src\SDL2 from http://hg.libsdl.org/SDL
requesting all changes
adding changesets
adding manifests
adding file changes










transaction abort!

rollback completed

abort: connection ended unexpectedly

Completed with errors, see above.

if i am doing something wrong with the sourcetree application, cause i dont have experience with it, please let me know.
Prosorinos
Gnoblar
Posts: 21
Joined: Thu Oct 09, 2014 5:48 am
Location: Patras, Greece

Re: Ogre Dependencies cmake error

Post by Prosorinos »

Ok i found out how the sourcetree works and updated to the commit that dark_sylinc mentioned 89cec87de0ff3d9c8ec083638df84f6cac1811a9. Cmake works fine.
thank you for your time.
Post Reply