I am mostly working with ogs6 on windows. Recent I have encountered an error with cmake configuration. The error message read as follows
ERROR: Cannot migrate old registry: Requested 'Boost/1.64.0@conan/stable' but found case incompatible 'boost' Case insensitive filesystem can't manage this CMake Error at scripts/cmake/conan/conan.cmake:454 (if): if given arguments: "VERSION_LESS" "1.3.0" Unknown arguments specified Call Stack (most recent call first): scripts/cmake/ConanSetup.cmake:81 (conan_check) CMakeLists.txt:69 (include)
Lars has recently migrated all conan packages to lower cases. This will cause an issue on operation systems which is case insensitive. Please see Lars’ explanation here:
My treatment to fix this:
- uninstall the current conan program in “Add or Remove Program” page in windows
- complete remove the folder
- install conan using your current python. In my case, in the cmd window:
pip install conan
- clean the cache in cmake and re-run the cmake configuration.
That solves my problem. Hope this is useful to you.