Can't build the game from source
Closed this issue · 1 comments
SpidFightFR commented
When i try to build the game (create a build folder then cmake ..
inside of it, i get this error:
Error
- The C compiler identification is GNU 12.1.1
-- The CXX compiler identification is GNU 12.1.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:18 (add_subdirectory):
The source directory
../ext/Stardust-Celeste
does not contain a CMakeLists.txt file.
CMake Error at CMakeLists.txt:21 (add_subdirectory):
The source directory
../ext/zlib
does not contain a CMakeLists.txt file.
-- Configuring incomplete, errors occurred!
How can i fix this, please?
SpidFightFR commented
Nevermind, when git cloning the repo, we must add the --recursive
argument.
Example:
git clone --recursive https://github.com/CrossCraft/CrossCraft-Classic.git