cginternals / openll-cpp

MIT License
2 stars 2 forks source link

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

Open johanneszellinger opened 4 years ago

johanneszellinger commented 4 years ago

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:

scheibel commented 3 years ago

The error occurs in globjects where we try to find the glm dependency. The used file - glmConfig-version.cmake - however, should not be chosen. we expect the file glmConfig.cmake to get used. I'm still unsure if we use the find_dependency calls correctly.

But I want to rule out some general issues:

scheibel commented 2 years ago

I provided a workaround in globjects (master branch) and will evaluate if this can be considered a fix.

Jgoldfeder commented 2 years ago

I am getting this error as well. Any updates?

scheibel commented 1 year ago

@Jgoldfeder Can you confirm that you used the current master branch of globjects?

I set up OpenLL on a fresh Ubuntu 22.04 without this error. For reference, I recently set up a Dockerfile for a whole gloperate setup including OpenLL, maybe this helps:

xbz-24 commented 8 months ago

what is the fix for this, getting same bullshit, any fix?