cginternals / cginternals/openll-cpp

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

Open
#5 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2
Forks
2
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.