I would like to start using Conan package manager and I have read the official doc http://ift.tt/2isKWvf . I have followed the example and I was able to use poco library as described in the doc.
Now I would like to use SDL library and I found some packages on http://ift.tt/2lWmq6o for example SDL2/2.0.5@dotfloat/stable.
I tried to install it in two ways: 1. By adding package info to conanfile.txt:
[requires] SDL2/2.0.5@dotfloat/stable [generators] cmake 2. With the command, which returns error:
ERROR: Unable to load conanfile in /root/.conan/data/SDL2/2.0.5/dotfloat/stable/export/conanfile.py File "/root/.conan/data/SDL2/2.0.5/dotfloat/stable/export/conanfile.py", line 5, in <module> from conans import CMake, ConfigureEnvironment ImportError: cannot import name ConfigureEnvironment
Could anyone maybe explain how should I find a package and install it if I'm doing it wrong? Or are the packages broken?
Aucun commentaire:
Enregistrer un commentaire