{"action":"closed","issue":{"url":"https://api.github.com/repos/IntelRealSense/librealsense/issues/1776","repository_url":"https://api.github.com/repos/IntelRealSense/librealsense","labels_url":"https://api.github.com/repos/IntelRealSense/librealsense/issues/1776/labels{/name}","comments_url":"https://api.github.com/repos/IntelRealSense/librealsense/issues/1776/comments","events_url":"https://api.github.com/repos/IntelRealSense/librealsense/issues/1776/events","html_url":"https://github.com/IntelRealSense/librealsense/issues/1776","id":326664262,"node_id":"MDU6SXNzdWUzMjY2NjQyNjI=","number":1776,"title":"Android compile error","user":{"login":"Performador","id":22187349,"node_id":"MDQ6VXNlcjIyMTg3MzQ5","avatar_url":"https://avatars3.githubusercontent.com/u/22187349?v=4","gravatar_id":"","url":"https://api.github.com/users/Performador","html_url":"https://github.com/Performador","followers_url":"https://api.github.com/users/Performador/followers","following_url":"https://api.github.com/users/Performador/following{/other_user}","gists_url":"https://api.github.com/users/Performador/gists{/gist_id}","starred_url":"https://api.github.com/users/Performador/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Performador/subscriptions","organizations_url":"https://api.github.com/users/Performador/orgs","repos_url":"https://api.github.com/users/Performador/repos","events_url":"https://api.github.com/users/Performador/events{/privacy}","received_events_url":"https://api.github.com/users/Performador/received_events","type":"User","site_admin":false},"labels":[{"id":899719645,"node_id":"MDU6TGFiZWw4OTk3MTk2NDU=","url":"https://api.github.com/repos/IntelRealSense/librealsense/labels/android","name":"android","color":"d1fc11","default":false},{"id":288064116,"node_id":"MDU6TGFiZWwyODgwNjQxMTY=","url":"https://api.github.com/repos/IntelRealSense/librealsense/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":{"login":"RealSense-Customer-Engineering","id":34384799,"node_id":"MDQ6VXNlcjM0Mzg0Nzk5","avatar_url":"https://avatars0.githubusercontent.com/u/34384799?v=4","gravatar_id":"","url":"https://api.github.com/users/RealSense-Customer-Engineering","html_url":"https://github.com/RealSense-Customer-Engineering","followers_url":"https://api.github.com/users/RealSense-Customer-Engineering/followers","following_url":"https://api.github.com/users/RealSense-Customer-Engineering/following{/other_user}","gists_url":"https://api.github.com/users/RealSense-Customer-Engineering/gists{/gist_id}","starred_url":"https://api.github.com/users/RealSense-Customer-Engineering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RealSense-Customer-Engineering/subscriptions","organizations_url":"https://api.github.com/users/RealSense-Customer-Engineering/orgs","repos_url":"https://api.github.com/users/RealSense-Customer-Engineering/repos","events_url":"https://api.github.com/users/RealSense-Customer-Engineering/events{/privacy}","received_events_url":"https://api.github.com/users/RealSense-Customer-Engineering/received_events","type":"User","site_admin":false},"assignees":[{"login":"RealSense-Customer-Engineering","id":34384799,"node_id":"MDQ6VXNlcjM0Mzg0Nzk5","avatar_url":"https://avatars0.githubusercontent.com/u/34384799?v=4","gravatar_id":"","url":"https://api.github.com/users/RealSense-Customer-Engineering","html_url":"https://github.com/RealSense-Customer-Engineering","followers_url":"https://api.github.com/users/RealSense-Customer-Engineering/followers","following_url":"https://api.github.com/users/RealSense-Customer-Engineering/following{/other_user}","gists_url":"https://api.github.com/users/RealSense-Customer-Engineering/gists{/gist_id}","starred_url":"https://api.github.com/users/RealSense-Customer-Engineering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RealSense-Customer-Engineering/subscriptions","organizations_url":"https://api.github.com/users/RealSense-Customer-Engineering/orgs","repos_url":"https://api.github.com/users/RealSense-Customer-Engineering/repos","events_url":"https://api.github.com/users/RealSense-Customer-Engineering/events{/privacy}","received_events_url":"https://api.github.com/users/RealSense-Customer-Engineering/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2018-05-25T21:06:45Z","updated_at":"2018-06-29T00:32:39Z","closed_at":"2018-06-29T00:32:39Z","author_association":"CONTRIBUTOR","body":"----------------------------------------------------------------------------------------------------\r\n\r\n| Required Info                         |                                                                |\r\n|---------------------------------|------------------------------------------- |\r\n| Camera Model                       | D415 | \r\n| Firmware Version                   | 05.09.11.00 | \r\n| Operating System & Version |   Ubuntu | \r\n| Kernel Version (Linux Only)    |  4.9.0                                         | \r\n| Platform                                 | Android |\r\n| SDK Version                            |  2.11.1                        | \r\n\r\nWhile following the instructions [here](https://github.com/IntelRealSense/librealsense/blob/development/doc/android/AndroidNativeSamples.md), getting the following compile error.\r\n\r\nUsing android-ndk-r17.\r\n\r\nLatest git hash: 95eba49e12d2256edeb15b9e5918bd9d74486fb0.\r\n\r\nThe Android toolchain c++ --version:\r\n\r\nAndroid (4691093 based on r316199) clang version 6.0.2 (https://android.googlesource.com/toolchain/clang 183abd29fc496f55536e7d904e0abae47888fc7f) (https://android.googlesource.com/toolchain/llvm 34361f192e41ed6e4e8f9aca80a4ea7e9856f327) (based on LLVM 6.0.2svn)\r\nTarget: x86_64-unknown-linux-gnu\r\nThread model: posix\r\n\r\n=======================================================\r\nVarious errors:\r\n\r\nIn file included from /tmp/librealsense/src/pipeline.cpp:10:\r\nIn file included from /tmp/librealsense/src/media/ros/ros_writer.h:16:\r\n/tmp/librealsense/src/media/ros/ros_file_format.h:441:42: error: call to 'stoll' is ambiguous\r\n            return static_cast<uint32_t>(std::stoll(id_str));\r\n\r\nIn file included from /tmp/librealsense/src/pipeline.cpp:10:\r\nIn file included from /tmp/librealsense/src/media/ros/ros_writer.h:16:\r\n/tmp/librealsense/src/media/ros/ros_file_format.h:775:32: error: call to 'stoi' is ambiguous\r\n                retval.index = std::stoi(index_str);\r\n                               ^~~~~~~~~\r\n\r\nIn file included from /tmp/librealsense/src/pipeline.cpp:10:\r\nIn file included from /tmp/librealsense/src/media/ros/ros_writer.h:16:\r\n/tmp/librealsense/src/media/ros/ros_file_format.h:789:29: error: call to 'stoi' is ambiguous\r\n                int index = std::stoi(index_str);\r\n\r\n\r\n/tmp/librealsense/src/media/ros/ros_file_format.h:848:54: error: call to 'stoll' is ambiguous\r\n                sensor_index = static_cast<uint32_t>(std::stoll(ros_topic::get<3>(topic)));\r\n\r\n\r\nIn file included from /tmp/librealsense/src/pipeline.cpp:10:\r\n/tmp/librealsense/src/media/ros/ros_writer.h:300:56: error: reference to overloaded function could not be resolved; did you mean to\r\n      call it?\r\n            frame_timestamp_msg.value = to_string() << std::hexfloat << pose->get_frame_timestamp();\r\n\r\n"}}
{"actor":{"display_login":"RealSense-Customer-Engineering"}}