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

cmake error in clion #467

Open
majiaoliya opened this issue Aug 28, 2021 · 1 comment
Open

cmake error in clion #467

majiaoliya opened this issue Aug 28, 2021 · 1 comment

Comments

@majiaoliya
Copy link

i download zip and unzip, use clion open dir and project, the clion cmake auto run, and back a error
my os is windows10.

"H:\mysoft\clion\clionInstall\CLion 2021.1.3\bin\cmake\win\bin\cmake.exe" -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - MinGW Makefiles" G:\Xubuntu_Work_Space\From_Xubuntu\codeTest_2019_2_21\git\gitclone\nanogui-master
CMake Error at CMakeLists.txt:15 (message):
  The NanoGUI dependency repositories (GLFW, etc.) are missing! You probably
  did not clone the project with --recursive.  It is possible to recover by
  calling "git submodule update --init --recursive"


-- Configuring incomplete, errors occurred!
See also "G:/Xubuntu_Work_Space/From_Xubuntu/codeTest_2019_2_21/git/gitclone/nanogui-master/cmake-build-debug/CMakeFiles/CMakeOutput.log".

[Finished]

what should i do now ?
thanks !!!

@ihiiro
Copy link

ihiiro commented Jan 9, 2023

You mentioned that you downloaded the zip, and since the error mentions that you probably forgot to clone with --recursive, I think you should probably "git clone" instead of downloading the zip itself.

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