Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update wxwidgets package for Conan 2.0 #1452

Open
madpipeline opened this issue Aug 10, 2023 · 0 comments
Open

Update wxwidgets package for Conan 2.0 #1452

madpipeline opened this issue Aug 10, 2023 · 0 comments
Labels

Comments

@madpipeline
Copy link

The package seems to still be only usable from Conan 2.0. I haven't used Conan in a while so I'm kind of out of the look with the recent changes, but here are my logs:

-> % conan install . --output-folder=build --build=missing

======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=13
os=Linux

Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=13
os=Linux


======== Computing dependency graph ========
wxwidgets/3.1.5@bincrafters/stable: Not found in local cache, looking in remotes...
wxwidgets/3.1.5@bincrafters/stable: Checking remote: conancenter
wxwidgets/3.1.5@bincrafters/stable: Checking remote: bincrafters
wxwidgets/3.1.5@bincrafters/stable: Downloaded recipe revision 2bd101187013cefd2fec50de62392b12
Graph root
    conanfile.txt: /home/ovidiu/WORK/Personal/wxwidgets_test/conanfile.txt
*********************************************************
Recipe 'wxwidgets/3.1.5@bincrafters/stable' seems broken.
It is possible that this recipe is not Conan 2.0 ready
If the recipe comes from ConanCenter check: https://conan.io/cci-v2.html
If it is your recipe, check if it is updated to 2.0
*********************************************************

ERROR: Package 'wxwidgets/3.1.5@bincrafters/stable' not resolved: wxwidgets/3.1.5@bincrafters/stable: Cannot load recipe.
Error loading conanfile at '/home/ovidiu/.conan2/p/wxwidc94803fbaca1c/e/conanfile.py': Unable to load conanfile in /home/ovidiu/.conan2/p/wxwidc94803fbaca1c/e/conanfile.py
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/home/ovidiu/.conan2/p/wxwidc94803fbaca1c/e/conanfile.py", line 1, in <module>
    from conans import ConanFile, CMake, tools
ImportError: cannot import name 'ConanFile' from 'conans' (/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.11/site-packages/conans/__init__.py)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant