cginternals / cginternals/openll-cpp
CMake configuration error: "if given arguments: "VERSION_LESS" "0.9.9" Unknown arguments specified
- Ngôn ngữ chính
- C++
- Star
- 2
- Fork
- 2
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Trying to set up this project with CMake I get the following error ouput:
```
Could NOT find cppcheck (missing: cppcheck_EXECUTABLE)
Check cppcheck skipped: cppcheck not found
Could NOT find clang_tidy (missing: clang_tidy_EXECUTABLE)
Check clang-tidy skipped: clang-tidy not found
CMake Error at C:/GLM/cmake/glm/glmConfig-version.cmake:2 (if):
if given arguments:
"VERSION_LESS" "0.9.9"
Unknown arguments specified
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.18/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
C:/Users/username/source/repos/CGInternals/globjects/globjects-config.cmake:13 (find_dependency)
source/openll/CMakeLists.txt:10 (find_package)
Configuring incomplete, errors occurred!
```
GLM version is the latest available. Anyway, I'm not sure how to resolve this issue.
What I have done:
- Within C:/Users/username/source/repos/CGInternals I have downloaded and copied the repos of all the internal dependencies listed in the Wiki of this project as well as the openll-cpp project itself.
- GLM and GLFW are stored directly in C:/
- Configured, Generated and Build all the dependencies using CMake GUI and Visual Studio 2019
- Tried to configure openll-cpp using CMake GUI, which leads to the error above.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Start with cmake/glm/glmConfig-version.cmake and follow the call chain through CMakeFindDependencyMacro.cmake, globjects-config.cmake, and source/openll/CMakeLists.txt. Reproduce the configuration in CMake GUI with Visual Studio 2019 and inspect the reported VERSION_LESS invocation. Done means openll-cpp configures without this error.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- cmake, cpp
- Lĩnh vực
- build-system
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 25/100