nanogui icon indicating copy to clipboard operation
nanogui copied to clipboard

cmake error in clion

Open majiaoliya opened this issue 3 years ago • 1 comments

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

majiaoliya avatar Aug 28 '21 14:08 majiaoliya

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.

ihiiro avatar Jan 09 '23 14:01 ihiiro