cginternals / cginternals/openll-cpp

CMake configuration error: "if given arguments: "VERSION_LESS" "0.9.9" Unknown arguments specified

未关闭
#5 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C++
星标
2
派生
2
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

调研方向

从 cmake/glm/glmConfig-version.cmake 开始,沿着 CMakeFindDependencyMacro.cmake、globjects-config.cmake 和 source/openll/CMakeLists.txt 的调用链进行跟踪。使用 Visual Studio 2019 在 CMake GUI 中重现该配置,并检查报告的 VERSION_LESS 调用。当 openll-cpp 能够在没有此错误的情况下完成配置时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
cmake, cpp
领域
build-system
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。