Closed guteksan closed 4 years ago
C:/Users/gutkowsp/.conan/data/restinio/0.6.2/stiffstream/stable/package/686677752cd2fed5e828f59997b7ea3a0eaa9126/lib/cmake/restinio/restinio-config.cmake, version: 0.6.2 (64bit)
I god a similar error in the past because my CMake was trying to use 32-bit version of VC++. So I had to run CMake that way:
cmake -G "Visual Studio 15 2017 Win64" ..
And CMake accepted 64-bit versions of RESTinio and its dependencies.
Hi eao197 Thank you, your idea solved this problem!
regards
I am trying to use restinio from Conan. I followed the example:
https://github.com/Stiffstream/restinio-conan-example
and conan downloaded restinio to my local cache, but when running cmake I get following error:
First of all, the version number specified in restinio-config-version.cmake in conan package (0.4.8) does not match the downloaded version (0.5.1). This seems to hold for other versions too: in version 0.6.3 restinio-config-version states: 0.6.2. Even if I request version for which matches the config-version entry match, like 0.6.2, the problem still holds:
Finally, I tried to specify the version in CMakeLists.txt:
find_package(restinio 0.6.2 CONFIG REQUIRED)
but the error is still present:
Edit: Added last logs from
cmake .. --trace
trace_log.txt
Could you check this, please?