Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.

Missing prebuilt package zlib/1.2.11@conan/stable #66

Open
jngd opened this issue May 12, 2020 · 0 comments
Open

Missing prebuilt package zlib/1.2.11@conan/stable #66

jngd opened this issue May 12, 2020 · 0 comments

Comments

@jngd
Copy link

jngd commented May 12, 2020

I'm trying to build an Android application using conan with the following conanfile.txt:

[requires]
Poco/1.10.1@pocoproject/stable

[options]
Poco:shared=True # False

[generators]
txt
cmake

In my build.gradle I have a task with conan install command:

def cmd = conan_path + "conan install ../conanfile.txt --profile android_21_arm_clang"

My android_21_arm_clang profile is:

target_host=arm-linux-androideabi
cc_compiler=clang
cxx_compiler=clang++

[settings]
compiler=clang
compiler.version=5.0
compiler.libcxx=libc++
os=Android
os.api_level=21
arch=armv7
build_type=Release

[env]
CONAN_CMAKE_FIND_ROOT_PATH=$standalone_toolchain/sysroot
PATH=[$standalone_toolchain/bin]
CHOST=$target_host
AR=$target_host-ar
AS=$target_host-as
RANLIB=$target_host-ranlib
CC=$target_host-$cc_compiler
CXX=$target_host-$cxx_compiler
LD=$target_host-ld
STRIP=$target_host-strip
CFLAGS= -fPIE -fPIC -I$standalone_toolchain/include/c++/4.9.x
CXXFLAGS= -fPIE -fPIC -I$standalone_toolchain/include/c++/4.9.x
LDFLAGS= -pie

I'm getting this error:

Missing prebuilt package for 'zlib/1.2.11@conan/stable'

Do I need to do something else to get this up and running?

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

No branches or pull requests

1 participant