Skip to content

I have trouble with getting cmake-unit and dependencies. #109

Open

Description

@Knitschi

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.

Activity

  1. smspillaz commented on May 30, 2017

    @smspillaz
    Member

    Hmm, you shouldn't be having that problem. I haven't worked on this for some time, but I'll try it out tonight and see if I can get it to work.

  2. smspillaz commented on May 31, 2017

    @smspillaz
    Member

    @Knitschi I just rebuilt the branch on CI and it looks like everything downloaded fine, so I'm not sure what was causing your problem.

    Nonetheless, it looks like conan.io is shutting down their hosting and I'll need to migrate to bintray: http://docs.conan.io/en/latest/move_to_bintray.html

  3. Knitschi commented on May 31, 2017

    @Knitschi
    Author

    Thank you for your response. I think I will give this more time in a couple of weeks. For now I do without unit tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions