Closed NoError404 closed 8 months ago
@NoError404 hello, I met the same issue, how did you solve it? Thanks.
@ymclsh First,u may download the source code of glfw, and put those code into the directory 'deps'. Then to compile them. U may google the way to compile the glfw.
@NoError404 Thank you so much.
FYI, this problem probably stems from failing to clone submodules.
GLFW (and other dependencies) are managed as git submodules. Submodules allow a git repository to have subdirectories which are themselves references to other separate git repositories. However, it take extra commands to ensure that these subdirectories are populated.
If you clone the project like git clone --recursive ...
it should automatically download all of the submodules, but if you forget the --recursive
flag you will be left with empty subdirectories. If you forgot the flag initially, you can later run git submodule update --init --recursive
to download them.
If you are using a GUI or IDE for git, look around for a button or option that says something about submodules.
The directory "glfw" in the subdirectory"deps" is empty. Every time, I run cmake ../ in build directory. The WLS terminal shows
I'm new in sourecode project.