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

submodule(s) are missing, please update your repository #1675

Open
pancrazioxiaohan opened this issue Mar 9, 2024 · 3 comments
Open

submodule(s) are missing, please update your repository #1675

pancrazioxiaohan opened this issue Mar 9, 2024 · 3 comments

Comments

@pancrazioxiaohan
Copy link

use cmd to build

cmake .. -DCMAKE_TOOLCHAIN_FILE=D:\vcpkg-master\scripts\buildsystems\vcpkg.cmake -S=D:\AliceVision-develop  -DVCPKG_TARGET_TRIPLET=x64-windows -G "Visual Studio 16 2019" -A x64 -T v142,host=x64

CMake Error at src/CMakeLists.txt:181 (message):
   submodule(s) are missing, please update your repository:
    > git submodule update -i
-- Configuring incomplete, errors occurred!

code in CMakeLists.txt

# ==============================================================================
# Check that submodule have been initialized and updated
# ==============================================================================
if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/dependencies/MeshSDFilter/external)
  message(FATAL_ERROR
    "\n submodule(s) are missing, please update your repository:\n"
    "  > git submodule update -i\n")
endif()

but in browser dependencies/MeshSDFilter/external not exist
i try git submodule update nothing change

@pancrazioxiaohan
Copy link
Author

i find in github explor MeshSDFilter is a project ,so i try to download and build again.

@cbentejac
Copy link
Contributor

Hi @pancrazioxiaohan,

Did you clone the projet with the --recursive option as indicated in https://github.com/alicevision/AliceVision/blob/develop/INSTALL.md#compile-the-project?

@OmieSawie
Copy link

All I did was
git submodule update --init

The issue was fixed

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

3 participants