Hi smspillaz,
I would like to try out the cmake-unit project, but I have trouble "installing" it. When I download the project and simply add it to my project it misses the file conanbuildinfo.cmake. It would be very helpful if you had some instructions on how to correctly get your package and its dependencies at the top of the documentation.
From the conan.py file, I take that the missing files are retrieved using the conan package manager. I have only beginners knowledge of python and none of conan. I am working with python 3.4 on windows btw. So this is what I tried so far:
- install conan with python -m pip install conan
- add the conan directory to PYTHONPATH
- changed the current directory to the download directory of cmake-unit which I copied into my project.
- ran
python -m conan install
-> retrieved the following error output
Requirements
cmake-call-function/master@smspillaz/cmake-call-function from conan.io
cmake-forward-arguments/master@smspillaz/cmake-forward-arguments from conan.io
cmake-forward-cache/master@smspillaz/cmake-forward-cache from conan.io
cmake-include-guard/master@smspillaz/cmake-include-guard from conan.io
cmake-opt-arg-parsing/master@smspillaz/cmake-opt-arg-parsing from conan.io
cmake-spacify-list/master@smspillaz/cmake-spacify-list from conan.io
Packages
cmake-call-function/master@smspillaz/cmake-call-function:c6adec7915b5bae7abf89c59546b0a540bfb7601
cmake-forward-arguments/master@smspillaz/cmake-forward-arguments:c6adec7915b5bae7abf89c59546b0a540bfb7601
cmake-forward-cache/master@smspillaz/cmake-forward-cache:c6adec7915b5bae7abf89c59546b0a540bfb7601
cmake-include-guard/master@smspillaz/cmake-include-guard:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
cmake-opt-arg-parsing/master@smspillaz/cmake-opt-arg-parsing:c6adec7915b5bae7abf89c59546b0a540bfb7601
cmake-spacify-list/master@smspillaz/cmake-spacify-list:34a1ee842030afb1f43dc95a615b35ab928736f2
WARN: Can't find a 'cmake-include-guard/master@smspillaz/cmake-include-guard' package for the specified options and settings:
- Settings:
- Options: dev=False
ERROR: Missing prebuilt package for 'cmake-include-guard/master@smspillaz/cmake-include-guard'
Try to build it from sources with "--build cmake-include-guard"
Or read "http://docs.conan.io/en/latest/faq/troubleshooting.html#error-missing-prebuilt-package"
- threw my hands up in desperation, gave up and wrote this issue ;-)
Do you have any ideas what else do I need to do to make it work?
Thank you for your time.
Hi smspillaz,
I would like to try out the cmake-unit project, but I have trouble "installing" it. When I download the project and simply add it to my project it misses the file
conanbuildinfo.cmake. It would be very helpful if you had some instructions on how to correctly get your package and its dependencies at the top of the documentation.From the conan.py file, I take that the missing files are retrieved using the conan package manager. I have only beginners knowledge of python and none of conan. I am working with python 3.4 on windows btw. So this is what I tried so far:
python -m conan install-> retrieved the following error output
Do you have any ideas what else do I need to do to make it work?
Thank you for your time.