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.
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.
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.
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.
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.