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

compile error at beginning #23

Open
44825762 opened this issue May 6, 2023 · 2 comments
Open

compile error at beginning #23

44825762 opened this issue May 6, 2023 · 2 comments

Comments

@44825762
Copy link

44825762 commented May 6, 2023

###########################################

ANDROID-TOOLCHAIN setup...

###########################################

usage: conan create [-h] [-f FORMAT] [-v [V]] [--name NAME]
[--version VERSION] [--user USER] [--channel CHANNEL]
[-l LOCKFILE] [--lockfile-partial]
[--lockfile-out LOCKFILE_OUT] [--lockfile-packages]
[--lockfile-clean] [-b BUILD] [-r REMOTE | -nr] [-u]
[-o OPTIONS_HOST] [-o:b OPTIONS_BUILD] [-o:h OPTIONS_HOST]
[-pr PROFILE_HOST] [-pr:b PROFILE_BUILD]
[-pr:h PROFILE_HOST] [-s SETTINGS_HOST]
[-s:b SETTINGS_BUILD] [-s:h SETTINGS_HOST] [-c CONF_HOST]
[-c:b CONF_BUILD] [-c:h CONF_HOST] [--build-require]
[-tf TEST_FOLDER]
path
conan create: error: unrecognized arguments: bashbug/stable
ERROR: Exiting with code: 2

@troeggla
Copy link

I ran into the same issue. This is related to the fact that you probably installed conan 2, whereas this project still uses conan version 1. I uninstalled conan 2 and installed conan 1.59.0 through pip install conan==1.59.0. It did download the Android NDK, but I ran into another issue during the compilation of FLANN (I think). I will keep investigating, but this is a good starting point.

@troeggla
Copy link

Actually the error was caused by an operating system mismatch. I tried compiling it again with conan 1.59.0 on Ubuntu 22.04 instead of macOS and it compiled just fine. So make sure to downgrade conan to version 1.

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

No branches or pull requests

2 participants