When compiling GitHub project, you may encounter the following errors:
CMake Error at CMakeLists.txt:92 (add_subdirectory):
The source directory
xxxxx
CMake Error at src/Runtime/CMakeLists.txt:56 (pybind11_add_module):
Unknown CMake command "pybind11_add_module".
This is generally a lack of third-party dependencies. You can try the following command:
git submodule init && git submodule update
Reference:
https://stackoverflow.com/questions/59291154/cmake-error-at-cmakelists-txt994-add-subdirectory
Read More:
- CMake Error: The source directory “opencv Install Catalog“ does not appear to contain CMakeLists.txt.
- [Solved] CMake Error: The current CMakeCache.txt directory is different than xxx
- [Solved] CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
- [Solved] cmake: symbol lookup error: cmake: undefined symbol: _ZN4Json5ValueC1ERKSs
- Cmake compile cocos2d-x error [How to Solve]
- [Solved] QT cmak Compile Error: CMake Error: The source.. does not match the soused
- [Solved] CMake Error: Could not create named generator Visual Studio 16 2019
- [Solved] Cmake compile opencv open-source project Error: but it set OpenCV_FOUND to FALSE so package “OpenCV” is considered to be…
- How to Solve Msys2/mingw64 Run cmake GUI Error
- NVM ERROR open \settings.txt: The system cannot find the file specified
- [Solved] Mac Cmake Complie openmp Error: fatal error: ‘omp.h‘ file not found
- [Solved] CMake Error: Could not create named generator Visual Studio 16 2019 -A Win64
- [Solved] The invalidation of windows.location.txt on Android mobile phone
- Cmake Error The C compiler identification is GNU 7.5.0 — The CXX compiler identification is unknown
- [Solved] CMake Error Cannot specify link libraries for target “variational“ which is not built by this projec
- [Solved] Adb Shell Monkey Warning: can‘t create log.txt, Read-only file system
- [Solved] error MSB3073: CMake that the project does not need compatibility with older versions.
- [PX4 Bug] make px4_sitl gazebo Error: CMake Error: The following variables are used in this project
- [Solved] CMake Error: Error: generator : Unix Makefiles
- git submodule add Error: SSL certificate problem unable to get local issuer certificate