Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDL2 missing #1

Closed
samthesuperhero opened this issue Jan 19, 2021 · 1 comment
Closed

SDL2 missing #1

samthesuperhero opened this issue Jan 19, 2021 · 1 comment

Comments

@samthesuperhero
Copy link

Looks like SDL2 is absent in the repo,

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

   F:/DOWNLOADS/ogre-next-deps-master/src/SDL2

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

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


CMake Deprecation Warning at src/zlib/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


Configuring incomplete, errors occurred!
@darksylinc
Copy link
Member

Hi!

SDL2 is a subrepo, thus the repo needs to be cloned via:

git clone --recurse-submodules --shallow-submodules https://github.com/OGRECave/ogre-next-deps

Since you've already downloaded the git repo, I think the following should work:
git submodule update --init --recursive

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants