pcl-for-android icon indicating copy to clipboard operation
pcl-for-android copied to clipboard

compile error at beginning

Open 44825762 opened this issue 2 years ago • 2 comments

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

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

44825762 avatar May 06 '23 07:05 44825762

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 avatar May 11 '23 13:05 troeggla

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.

troeggla avatar May 11 '23 16:05 troeggla