{"action":"created","comment":{"url":"https://api.github.com/repos/codelv/conda-mobile/pulls/comments/235980002","pull_request_review_id":177975831,"id":235980002,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNTk4MDAwMg==","diff_hunk":"@@ -0,0 +1,86 @@\n+#!/usr/bin/env bash\n+# ==================================================================================================\n+# Copyright (c) 2018, Jairus Martin.\n+# Copyright 2018 by Rodrigo Gomes <rodgomesc@gmail.com>\n+# Distributed under the terms of the GPL v3 License.\n+# The full license is in the file LICENSE, distributed with this software.\n+# Created on Nov 22, 2018\n+# ==================================================================================================\n+\n+# need Android SDK Tools to version 25.2.5\n+# Details: https://github.com/opencv/opencv/issues/8460\n+\n+export ARCHS=(\"x86_64 x86 arm arm64\")\n+export NDK=\"$HOME/Android/Sdk/ndk-bundle\"\n+export ANDROID_SDK_ROOT=\"$HOME/Android/Sdk\"\n+\n+for ARCH in $ARCHS\n+do\n+\n+    CONFIGURE_FLAGS=\"\"\n+    if [ \"$ARCH\" == \"arm\" ]; then\n+        export TARGET_HOST=\"arm-linux-androideabi\"\n+        export TARGET_ABI=\"armeabi-v7a\"\n+    elif [ \"$ARCH\" == \"arm64\" ]; then\n+        export TARGET_HOST=\"aarch64-linux-android\"\n+        export TARGET_ABI=\"arm64-v8a\"\n+        \n+    elif [ \"$ARCH\" == \"x86\" ]; then\n+        export TARGET_HOST=\"i686-linux-android\"\n+        export TARGET_ABI=\"x86\"\n+    elif [ \"$ARCH\" == \"x86_64\" ]; then\n+        export TARGET_HOST=\"x86_64-linux-android\"\n+        export TARGET_ABI=\"x86_64\"\n+    fi\n+\n+    export ANDROID_TOOLCHAIN=\"$NDK/standalone/$ARCH\"\n+    export APP_ROOT=\"$PREFIX/android/$ARCH\"\n+    export PATH=\"$PATH:$ANDROID_TOOLCHAIN/bin\"\n+    export AR=\"$TARGET_HOST-ar\"\n+    #export AS=\"$TARGET_HOST-clang\"\n+    export CC=\"$TARGET_HOST-clang\"\n+    export CXX=\"$TARGET_HOST-clang++\"\n+    export LD=\"$TARGET_HOST-ld\"\n+    \n+    if [ \"${TARGET_ABI}\" = \"armeabi\" ]; then\n+        API_LEVEL=19\n+    else\n+        API_LEVEL=21\n+    fi\n+\n+    rm -Rf build || true\n+    mkdir build\n+    cd build       \n+\tcmake .. -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \\\n+\t      -DCMAKE_TOOLCHAIN_FILE=\"$NDK/build/cmake/android.toolchain.cmake\" \\\n+              -DANDROID_ARM_NEON=ON \\\n+\t      -DANDROID_NDK=\"${NDK}\" \\\n+\t      -DANDROID_NATIVE_API_LEVEL=${API_LEVEL} \\\n+\t      -DANDROID_ABI=\"${ANDROID_ABI}\" \\\n+              -DCMAKE_FIND_ROOT_PATH=\"$ANDROID_TOOLCHAIN/sysroot\" \\\n+              -DCMAKE_C_COMPILER=\"$TARGET_HOST-clang\" \\\n+              -DCMAKE_SYSTEM_PROCESSOR=$ARCH \\\n+\t      -DWITH_CUDA=OFF \\\n+\t      -DBUILD_ANDROID_EXAMPLES=OFF \\\n+\t      -DBUILD_DOCS=OFF \\\n+\t      -DBUILD_PERF_TESTS=OFF \\\n+\t      -DBUILD_TESTS=OFF \\\n+\t      -DBUILD_ANDROID_PROJECTS=OFF \\\n+              -DBUILD_ANDROID_STL=\"libc++_shared\"","path":"android-opencv/build.sh","position":69,"original_position":69,"commit_id":"59ba2728bd48d1193ad78aa4b6fdd2cc65743b2e","original_commit_id":"59ba2728bd48d1193ad78aa4b6fdd2cc65743b2e","user":{"login":"rodgomesc","id":4893591,"node_id":"MDQ6VXNlcjQ4OTM1OTE=","avatar_url":"https://avatars2.githubusercontent.com/u/4893591?v=4","gravatar_id":"","url":"https://api.github.com/users/rodgomesc","html_url":"https://github.com/rodgomesc","followers_url":"https://api.github.com/users/rodgomesc/followers","following_url":"https://api.github.com/users/rodgomesc/following{/other_user}","gists_url":"https://api.github.com/users/rodgomesc/gists{/gist_id}","starred_url":"https://api.github.com/users/rodgomesc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodgomesc/subscriptions","organizations_url":"https://api.github.com/users/rodgomesc/orgs","repos_url":"https://api.github.com/users/rodgomesc/repos","events_url":"https://api.github.com/users/rodgomesc/events{/privacy}","received_events_url":"https://api.github.com/users/rodgomesc/received_events","type":"User","site_admin":false},"body":"i  fixed the error above creating a symbolic link to libstdc++.so `sudo ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /usr/lib/x86_64-linux-gnu/libstdc++.so`\r\n\r\nnow we have other errors, but i go test add `android-libcxx ` like you sugest, to see if clang looks to c++ lib in local env","created_at":"2018-11-23T15:58:27Z","updated_at":"2018-11-23T15:58:28Z","html_url":"https://github.com/codelv/conda-mobile/pull/11#discussion_r235980002","pull_request_url":"https://api.github.com/repos/codelv/conda-mobile/pulls/11","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/codelv/conda-mobile/pulls/comments/235980002"},"html":{"href":"https://github.com/codelv/conda-mobile/pull/11#discussion_r235980002"},"pull_request":{"href":"https://api.github.com/repos/codelv/conda-mobile/pulls/11"}},"in_reply_to_id":235963562},"pull_request":{"url":"https://api.github.com/repos/codelv/conda-mobile/pulls/11","id":233088979,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzMDg4OTc5","html_url":"https://github.com/codelv/conda-mobile/pull/11","diff_url":"https://github.com/codelv/conda-mobile/pull/11.diff","patch_url":"https://github.com/codelv/conda-mobile/pull/11.patch","issue_url":"https://api.github.com/repos/codelv/conda-mobile/issues/11","number":11,"state":"open","locked":false,"title":"initial support for opencv library","user":{"login":"rodgomesc","id":4893591,"node_id":"MDQ6VXNlcjQ4OTM1OTE=","avatar_url":"https://avatars2.githubusercontent.com/u/4893591?v=4","gravatar_id":"","url":"https://api.github.com/users/rodgomesc","html_url":"https://github.com/rodgomesc","followers_url":"https://api.github.com/users/rodgomesc/followers","following_url":"https://api.github.com/users/rodgomesc/following{/other_user}","gists_url":"https://api.github.com/users/rodgomesc/gists{/gist_id}","starred_url":"https://api.github.com/users/rodgomesc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodgomesc/subscriptions","organizations_url":"https://api.github.com/users/rodgomesc/orgs","repos_url":"https://api.github.com/users/rodgomesc/repos","events_url":"https://api.github.com/users/rodgomesc/events{/privacy}","received_events_url":"https://api.github.com/users/rodgomesc/received_events","type":"User","site_admin":false},"body":"42","created_at":"2018-11-23T00:38:00Z","updated_at":"2018-11-23T15:58:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"690b62de290fe8c22acde9afb2085a41230fcc0f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/codelv/conda-mobile/pulls/11/commits","review_comments_url":"https://api.github.com/repos/codelv/conda-mobile/pulls/11/comments","review_comment_url":"https://api.github.com/repos/codelv/conda-mobile/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codelv/conda-mobile/issues/11/comments","statuses_url":"https://api.github.com/repos/codelv/conda-mobile/statuses/59ba2728bd48d1193ad78aa4b6fdd2cc65743b2e","head":{"label":"rodgomesc:master","ref":"master","sha":"59ba2728bd48d1193ad78aa4b6fdd2cc65743b2e","user":{"login":"rodgomesc","id":4893591,"node_id":"MDQ6VXNlcjQ4OTM1OTE=","avatar_url":"https://avatars2.githubusercontent.com/u/4893591?v=4","gravatar_id":"","url":"https://api.github.com/users/rodgomesc","html_url":"https://github.com/rodgomesc","followers_url":"https://api.github.com/users/rodgomesc/followers","following_url":"https://api.github.com/users/rodgomesc/following{/other_user}","gists_url":"https://api.github.com/users/rodgomesc/gists{/gist_id}","starred_url":"https://api.github.com/users/rodgomesc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodgomesc/subscriptions","organizations_url":"https://api.github.com/users/rodgomesc/orgs","repos_url":"https://api.github.com/users/rodgomesc/repos","events_url":"https://api.github.com/users/rodgomesc/events{/privacy}","received_events_url":"https://api.github.com/users/rodgomesc/received_events","type":"User","site_admin":false},"repo":{"id":129817555,"node_id":"MDEwOlJlcG9zaXRvcnkxMjk4MTc1NTU=","name":"conda-mobile","full_name":"rodgomesc/conda-mobile","private":false,"owner":{"login":"rodgomesc","id":4893591,"node_id":"MDQ6VXNlcjQ4OTM1OTE=","avatar_url":"https://avatars2.githubusercontent.com/u/4893591?v=4","gravatar_id":"","url":"https://api.github.com/users/rodgomesc","html_url":"https://github.com/rodgomesc","followers_url":"https://api.github.com/users/rodgomesc/followers","following_url":"https://api.github.com/users/rodgomesc/following{/other_user}","gists_url":"https://api.github.com/users/rodgomesc/gists{/gist_id}","starred_url":"https://api.github.com/users/rodgomesc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodgomesc/subscriptions","organizations_url":"https://api.github.com/users/rodgomesc/orgs","repos_url":"https://api.github.com/users/rodgomesc/repos","events_url":"https://api.github.com/users/rodgomesc/events{/privacy}","received_events_url":"https://api.github.com/users/rodgomesc/received_events","type":"User","site_admin":false},"html_url":"https://github.com/rodgomesc/conda-mobile","description":"A collection of conda recipes for cross compiling python, libraries, and extensions for iOS and Android","fork":true,"url":"https://api.github.com/repos/rodgomesc/conda-mobile","forks_url":"https://api.github.com/repos/rodgomesc/conda-mobile/forks","keys_url":"https://api.github.com/repos/rodgomesc/conda-mobile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rodgomesc/conda-mobile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rodgomesc/conda-mobile/teams","hooks_url":"https://api.github.com/repos/rodgomesc/conda-mobile/hooks","issue_events_url":"https://api.github.com/repos/rodgomesc/conda-mobile/issues/events{/number}","events_url":"https://api.github.com/repos/rodgomesc/conda-mobile/events","assignees_url":"https://api.github.com/repos/rodgomesc/conda-mobile/assignees{/user}","branches_url":"https://api.github.com/repos/rodgomesc/conda-mobile/branches{/branch}","tags_url":"https://api.github.com/repos/rodgomesc/conda-mobile/tags","blobs_url":"https://api.github.com/repos/rodgomesc/conda-mobile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rodgomesc/conda-mobile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rodgomesc/conda-mobile/git/refs{/sha}","trees_url":"https://api.github.com/repos/rodgomesc/conda-mobile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rodgomesc/conda-mobile/statuses/{sha}","languages_url":"https://api.github.com/repos/rodgomesc/conda-mobile/languages","stargazers_url":"https://api.github.com/repos/rodgomesc/conda-mobile/stargazers","contributors_url":"https://api.github.com/repos/rodgomesc/conda-mobile/contributors","subscribers_url":"https://api.github.com/repos/rodgomesc/conda-mobile/subscribers","subscription_url":"https://api.github.com/repos/rodgomesc/conda-mobile/subscription","commits_url":"https://api.github.com/repos/rodgomesc/conda-mobile/commits{/sha}","git_commits_url":"https://api.github.com/repos/rodgomesc/conda-mobile/git/commits{/sha}","comments_url":"https://api.github.com/repos/rodgomesc/conda-mobile/comments{/number}","issue_comment_url":"https://api.github.com/repos/rodgomesc/conda-mobile/issues/comments{/number}","contents_url":"https://api.github.com/repos/rodgomesc/conda-mobile/contents/{+path}","compare_url":"https://api.github.com/repos/rodgomesc/conda-mobile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rodgomesc/conda-mobile/merges","archive_url":"https://api.github.com/repos/rodgomesc/conda-mobile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rodgomesc/conda-mobile/downloads","issues_url":"https://api.github.com/repos/rodgomesc/conda-mobile/issues{/number}","pulls_url":"https://api.github.com/repos/rodgomesc/conda-mobile/pulls{/number}","milestones_url":"https://api.github.com/repos/rodgomesc/conda-mobile/milestones{/number}","notifications_url":"https://api.github.com/repos/rodgomesc/conda-mobile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rodgomesc/conda-mobile/labels{/name}","releases_url":"https://api.github.com/repos/rodgomesc/conda-mobile/releases{/id}","deployments_url":"https://api.github.com/repos/rodgomesc/conda-mobile/deployments","created_at":"2018-04-16T23:20:14Z","updated_at":"2018-11-23T00:49:03Z","pushed_at":"2018-11-23T00:49:01Z","git_url":"git://github.com/rodgomesc/conda-mobile.git","ssh_url":"git@github.com:rodgomesc/conda-mobile.git","clone_url":"https://github.com/rodgomesc/conda-mobile.git","svn_url":"https://github.com/rodgomesc/conda-mobile","homepage":null,"size":352,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"codelv:master","ref":"master","sha":"40fd69b9991480c0786f23923e004929b6366dc4","user":{"login":"codelv","id":31662590,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNjYyNTkw","avatar_url":"https://avatars3.githubusercontent.com/u/31662590?v=4","gravatar_id":"","url":"https://api.github.com/users/codelv","html_url":"https://github.com/codelv","followers_url":"https://api.github.com/users/codelv/followers","following_url":"https://api.github.com/users/codelv/following{/other_user}","gists_url":"https://api.github.com/users/codelv/gists{/gist_id}","starred_url":"https://api.github.com/users/codelv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codelv/subscriptions","organizations_url":"https://api.github.com/users/codelv/orgs","repos_url":"https://api.github.com/users/codelv/repos","events_url":"https://api.github.com/users/codelv/events{/privacy}","received_events_url":"https://api.github.com/users/codelv/received_events","type":"Organization","site_admin":false},"repo":{"id":123046470,"node_id":"MDEwOlJlcG9zaXRvcnkxMjMwNDY0NzA=","name":"conda-mobile","full_name":"codelv/conda-mobile","private":false,"owner":{"login":"codelv","id":31662590,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNjYyNTkw","avatar_url":"https://avatars3.githubusercontent.com/u/31662590?v=4","gravatar_id":"","url":"https://api.github.com/users/codelv","html_url":"https://github.com/codelv","followers_url":"https://api.github.com/users/codelv/followers","following_url":"https://api.github.com/users/codelv/following{/other_user}","gists_url":"https://api.github.com/users/codelv/gists{/gist_id}","starred_url":"https://api.github.com/users/codelv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codelv/subscriptions","organizations_url":"https://api.github.com/users/codelv/orgs","repos_url":"https://api.github.com/users/codelv/repos","events_url":"https://api.github.com/users/codelv/events{/privacy}","received_events_url":"https://api.github.com/users/codelv/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/codelv/conda-mobile","description":"A collection of conda recipes for cross compiling python, libraries, and extensions for iOS and Android","fork":false,"url":"https://api.github.com/repos/codelv/conda-mobile","forks_url":"https://api.github.com/repos/codelv/conda-mobile/forks","keys_url":"https://api.github.com/repos/codelv/conda-mobile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codelv/conda-mobile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codelv/conda-mobile/teams","hooks_url":"https://api.github.com/repos/codelv/conda-mobile/hooks","issue_events_url":"https://api.github.com/repos/codelv/conda-mobile/issues/events{/number}","events_url":"https://api.github.com/repos/codelv/conda-mobile/events","assignees_url":"https://api.github.com/repos/codelv/conda-mobile/assignees{/user}","branches_url":"https://api.github.com/repos/codelv/conda-mobile/branches{/branch}","tags_url":"https://api.github.com/repos/codelv/conda-mobile/tags","blobs_url":"https://api.github.com/repos/codelv/conda-mobile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codelv/conda-mobile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codelv/conda-mobile/git/refs{/sha}","trees_url":"https://api.github.com/repos/codelv/conda-mobile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codelv/conda-mobile/statuses/{sha}","languages_url":"https://api.github.com/repos/codelv/conda-mobile/languages","stargazers_url":"https://api.github.com/repos/codelv/conda-mobile/stargazers","contributors_url":"https://api.github.com/repos/codelv/conda-mobile/contributors","subscribers_url":"https://api.github.com/repos/codelv/conda-mobile/subscribers","subscription_url":"https://api.github.com/repos/codelv/conda-mobile/subscription","commits_url":"https://api.github.com/repos/codelv/conda-mobile/commits{/sha}","git_commits_url":"https://api.github.com/repos/codelv/conda-mobile/git/commits{/sha}","comments_url":"https://api.github.com/repos/codelv/conda-mobile/comments{/number}","issue_comment_url":"https://api.github.com/repos/codelv/conda-mobile/issues/comments{/number}","contents_url":"https://api.github.com/repos/codelv/conda-mobile/contents/{+path}","compare_url":"https://api.github.com/repos/codelv/conda-mobile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codelv/conda-mobile/merges","archive_url":"https://api.github.com/repos/codelv/conda-mobile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codelv/conda-mobile/downloads","issues_url":"https://api.github.com/repos/codelv/conda-mobile/issues{/number}","pulls_url":"https://api.github.com/repos/codelv/conda-mobile/pulls{/number}","milestones_url":"https://api.github.com/repos/codelv/conda-mobile/milestones{/number}","notifications_url":"https://api.github.com/repos/codelv/conda-mobile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codelv/conda-mobile/labels{/name}","releases_url":"https://api.github.com/repos/codelv/conda-mobile/releases{/id}","deployments_url":"https://api.github.com/repos/codelv/conda-mobile/deployments","created_at":"2018-02-26T23:53:12Z","updated_at":"2018-11-07T03:36:59Z","pushed_at":"2018-11-23T00:49:03Z","git_url":"git://github.com/codelv/conda-mobile.git","ssh_url":"git@github.com:codelv/conda-mobile.git","clone_url":"https://github.com/codelv/conda-mobile.git","svn_url":"https://github.com/codelv/conda-mobile","homepage":null,"size":401,"stargazers_count":8,"watchers_count":8,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":2,"open_issues":2,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codelv/conda-mobile/pulls/11"},"html":{"href":"https://github.com/codelv/conda-mobile/pull/11"},"issue":{"href":"https://api.github.com/repos/codelv/conda-mobile/issues/11"},"comments":{"href":"https://api.github.com/repos/codelv/conda-mobile/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/codelv/conda-mobile/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/codelv/conda-mobile/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codelv/conda-mobile/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/codelv/conda-mobile/statuses/59ba2728bd48d1193ad78aa4b6fdd2cc65743b2e"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"rodgomesc"}}