Build Intel RealSense SDK by cmake.

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
{D435 }

Firmware Version
<IP_ADDRESS>.50

Operating System & Version
{Linux-Android}

Kernel Version (Linux Only)
4.19.133

Platform
automotive Android 10

SDK Version
2.5.0

Language
C/C++ }

Segment
{others }

Issue Description
<Describe your issue / question / feature request / etc..>
Hello,i want to run realsense on Android,but I just compiled the code into an executable and pushed into the device /system/bin.
My device gained root accesss,so i follow this doc(https://dev.intelrealsense.com/docs/build-intel-realsense-sdk-headless-tools-and-examples) to do.
Beacause i don't find example.h and rs-depth in new version librealsense,so i download this document(https://github.com/IntelRealSense/librealsense/blob/master/examples/C/depth/rs-depth.c) to compiler the executable.
This is my cmakelists:
cmake_minimum_required(VERSION 3.4.1)
project(main)
add_library(realsense2 STATIC IMPORTED)
set_target_properties(
realsense2
PROPERTIES
IMPORTED_LOCATION
~/librealsense/build/librealsense2.so
)
add_library(log-lib STATIC IMPORTED)
set_target_properties(
log-lib
PROPERTIES
IMPORTED_LOCATION
~/android-ndk-r21/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/21/liblog.so
)
add_library(m-lib STATIC IMPORTED)
set_target_properties(
m-lib
PROPERTIES
IMPORTED_LOCATION
~/android-ndk-r21/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/21/libm.so
)
add_executable(main main.c)
target_link_libraries(main
log-lib
realsense2
m-lib
)
When i run the executable on my root device,just get "There are 0 connected Realsense devices".

Hi @qscesz19970810  Did you build the RealSense Android wrapper using the instructions at the link below, please?
https://github.com/IntelRealSense/librealsense/tree/master/wrappers/android
In the original Android wrapper several years ago it was necessary to root the Android device to gain access to it.  A later wrapper (the one at the link above) enabled unrooted access.
Android 10 also has some compatibility issues with the Android wrapper where you may need to set targetSdkVersion to a value of '27' in order for the wrapper to work with an Android 10 device.  Android 11 does not have this issue.

hello,i don't use Android Studio IDE. i wish use cmake to build librealsense2.so file.
my device have gain root access,so i follow this https://dev.intelrealsense.com/docs/build-intel-realsense-sdk-headless-tools-and-examples to build file.

If you are cloning the master branch of the RealSense SDK (step 5 of the headless tool instructions) then the example.h file and the project folder for rs-depth should be at the below location in your cloned SDK:
https://github.com/IntelRealSense/librealsense/tree/master/examples/C

I believe that step 6 is suggesting that you then edit the rs-depth and rs-distance files within your cloned SDK instead of downloading them separately from the original librealsense GitHub.

It has been several years since the rooted Android wrapper has been in use due to the unrooted wrapper superseding it, so available information about using the rooted wrapper is very limited.

Ok,Thanks
When i use command "cmake .. -DANDROID_ABI=arm64-v8a -DCMAKE_TOOLCHAIN_FILE=<Ndk_path>/build/cmake/android.toolchain.cmake -DFORCE_LIBUVC=TRUE" have a question.
The compiler setting is clang/clang++,not is cross compiler aarch64-linux-android29-clang/aarch64-linux-android29-clang++.
Is the new version not supported, or do I need to set something else?
Thank you for your help @MartyG-RealSense

Are you asking whether the rooted wrapper supports Android SDK 29, please?  If so then there is no available information about that due to the significant age of that wrapper.
The non-detection of the RealSense camera indicated by the "There are 0 connected Realsense devices" message makes me think though that it is either a permissions-related problem or an issue with the OTG cable that you are using.  It is my understanding that not all OTG cables / adaptors are equal in regard to how well they work with RealSense cameras.

I confirm the OTG cable is ok.
When i use cmake to build the librealsense2.so,generates many warningshe.
I'm wondering the librealsense2.so is incomplete,but I don't know how to solve the problem
So I want check cmake method is still used realsense sdk 2.5.0>
mds1@mds1-ROG-Strix-G533ZM-G533ZM:~/Code/librealsense/build$ cmake .. -DANDROID_ABI=arm64-v8a -DCMAKE_TOOLCHAIN_FILE=/home/mds1/CrossCompiler/android-ndk-r21-linux-x86_64/android-ndk-r21/build/cmake/android.toolchain.cmake -DFORCE_RSUSB_BACKEND=ON -DANDROID_PLATFORM=android-29 -DCHECK_FOR_UPDATES=OFF
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/mds1/CrossCompiler/android-ndk-r21-linux-x86_64/android-ndk-r21/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/mds1/CrossCompiler/android-ndk-r21-linux-x86_64/android-ndk-r21/toolchains/llvm/prebuilt/linux-x86_64/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Checking internet connection...
-- Internet connection identified
-- Info: REALSENSE_VERSION_STRING=2.51.1
-- Performing Test COMPILER_SUPPORTS_CXX11
-- Performing Test COMPILER_SUPPORTS_CXX11 - Success
-- Performing Test COMPILER_SUPPORTS_CXX0X
-- Performing Test COMPILER_SUPPORTS_CXX0X - Success
-- Setting Android configurations.The Wainning gain by cmake/android_config.cmake.
-- Prepare RealSense SDK for Android OS (arm64-v8a)
-- using RS2_USE_ANDROID_BACKEND
-- Prepare RealSense SDK for Android OS (arm64-v8a)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/mds1/Code/librealsense/build
mds1@mds1-ROG-Strix-G533ZM-G533ZM:~/Code/librealsense/build$ make
[  0%] Building C object third-party/realsense-file/CMakeFiles/realsense-file.dir/lz4/lz4.c.o
[  1%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/console_bridge/src/console.cpp.o
[  1%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/cpp_common/src/debug.cpp.o
[  2%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/cpp_common/src/header.cpp.o
In file included from /home/mds1/Code/librealsense/third-party/realsense-file/rosbag/cpp_common/src/header.cpp:37:
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:79:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
console_bridge::log(FILE, LINE, console_bridge::CONSOLE_BRIDGE_LOG_ERROR, fmt, ##VA_ARGS)
^
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:79:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
2 warnings generated.
[  2%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/bag.cpp.o
In file included from /home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/src/bag.cpp:28:
In file included from /home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:64:
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
console_bridge::log(FILE, LINE, console_bridge::CONSOLE_BRIDGE_LOG_DEBUG, fmt, ##VA_ARGS)
^
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:79:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
console_bridge::log(FILE, LINE, console_bridge::CONSOLE_BRIDGE_LOG_ERROR, fmt, ##VA_ARGS)
^
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
console_bridge::log(FILE, LINE, console_bridge::CONSOLE_BRIDGE_LOG_DEBUG, fmt, ##VA_ARGS)
^
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:79:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
console_bridge::log(FILE, LINE, console_bridge::CONSOLE_BRIDGE_LOG_ERROR, fmt, ##VA_ARGS)
^
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
console_bridge::log(FILE, LINE, console_bridge::CONSOLE_BRIDGE_LOG_DEBUG, fmt, ##VA_ARGS)
^
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
31 warnings generated.
[  3%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/bag_player.cpp.o
In file included from /home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/src/bag_player.cpp:1:
In file included from /home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag_player.h:40:
In file included from /home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:64:
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
console_bridge::log(FILE, LINE, console_bridge::CONSOLE_BRIDGE_LOG_DEBUG, fmt, ##VA_ARGS)
^
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
2 warnings generated.
[  3%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/buffer.cpp.o
[  4%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/chunked_file.cpp.o
[  5%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/lz4_stream.cpp.o
In file included from /home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/src/lz4_stream.cpp:39:
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:79:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
console_bridge::log(FILE, LINE, console_bridge::CONSOLE_BRIDGE_LOG_ERROR, fmt, ##VA_ARGS)
^
1 warning generated.
[  5%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/message_instance.cpp.o
In file included from /home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/src/message_instance.cpp:28:
In file included from /home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/message_instance.h:150:
In file included from /home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:64:
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
console_bridge::log(FILE, LINE, console_bridge::CONSOLE_BRIDGE_LOG_DEBUG, fmt, ##VA_ARGS)
^
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
2 warnings generated.
[  6%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/query.cpp.o
In file included from /home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/src/query.cpp:29:
In file included from /home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:64:
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
console_bridge::log(FILE, LINE, console_bridge::CONSOLE_BRIDGE_LOG_DEBUG, fmt, ##VA_ARGS)
^
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
2 warnings generated.
[  6%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/stream.cpp.o
[  7%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/uncompressed_stream.cpp.o
[  7%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/view.cpp.o
In file included from /home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/src/view.cpp:28:
In file included from /home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/view.h:41:
In file included from /home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/message_instance.h:150:
In file included from /home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:64:
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
console_bridge::log(FILE, LINE, console_bridge::CONSOLE_BRIDGE_LOG_DEBUG, fmt, ##VA_ARGS)
^
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
2 warnings generated.
[  8%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/roscpp_serialization/src/serialization.cpp.o
[  8%] Building C object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/roslz4/src/lz4s.c.o
[  9%] Building C object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/roslz4/src/xxhash.c.o
[ 10%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rostime/src/duration.cpp.o
[ 10%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rostime/src/rate.cpp.o
[ 11%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rostime/src/time.cpp.o
[ 11%] Linking CXX static library librealsense-file.a
[ 11%] Built target realsense-file
[ 12%] Building CXX object CMakeFiles/realsense2.dir/include/librealsense2/utilities/concurrency/dispatcher.cpp.o
In file included from /home/mds1/Code/librealsense/include/librealsense2/utilities/concurrency/dispatcher.cpp:6:
/home/mds1/Code/librealsense/include/librealsense2/utilities/time/waiting-on.h:107:20: warning: initialized lambda captures are a C++14 extension [-Wc++14-extensions]
[weak_ptr = std::weak_ptr< wait_state_t >( local._ptr )]( std::nullptr_t * ) {
^
1 warning generated.
[ 12%] Building CXX object CMakeFiles/realsense2.dir/include/librealsense2/utilities/time/work-week.cpp.o
[ 13%] Building CXX object CMakeFiles/realsense2.dir/src/algo/thermal-loop/l500-thermal-loop.cpp.o
[ 14%] Building CXX object CMakeFiles/realsense2.dir/src/algo/max-usable-range/l500/max-usable-range.cpp.o
[ 14%] Building CXX object CMakeFiles/realsense2.dir/src/core/streaming.cpp.o
/home/mds1/Code/librealsense/src/core/streaming.cpp:16:12: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
if( ! &f )
~  ^
1 warning generated.
[ 15%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/ds5-options.cpp.o
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-options.cpp:6:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:201:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-options.cpp:6:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:344:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-options.cpp:6:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:368:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
3 warnings generated.
[ 15%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/ds5-timestamp.cpp.o
[ 16%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/ds5-private.cpp.o
/home/mds1/Code/librealsense/src/ds5/ds5-private.cpp:137:63: warning: expression result unused [-Wunused-value]
LOG_DEBUG(endl<< array2str((float_4&)(intrinsics.fx, intrinsics.fy, intrinsics.ppx, intrinsics.ppy)) << endl);
~~~~~~~~~~ ^~
/home/mds1/Code/librealsense/include/librealsense2/utilities/easylogging/easyloggingpp.h:38:60: note: expanded from macro 'LOG_DEBUG'
#define LOG_DEBUG(...)   do { std::ostringstream ss; ss << VA_ARGS; __android_log_write( ANDROID_LOG_DEBUG, ANDROID_LOG_TAG, ss.str().c_str() ); } while(false)
^~~~~~~~~~~
/home/mds1/Code/librealsense/src/ds5/ds5-private.cpp:137:78: warning: expression result unused [-Wunused-value]
LOG_DEBUG(endl<< array2str((float_4&)(intrinsics.fx, intrinsics.fy, intrinsics.ppx, intrinsics.ppy)) << endl);
~~~~~~~~~~ ^~
/home/mds1/Code/librealsense/include/librealsense2/utilities/easylogging/easyloggingpp.h:38:60: note: expanded from macro 'LOG_DEBUG'
#define LOG_DEBUG(...)   do { std::ostringstream ss; ss << VA_ARGS; __android_log_write( ANDROID_LOG_DEBUG, ANDROID_LOG_TAG, ss.str().c_str() ); } while(false)
^~~~~~~~~~~
/home/mds1/Code/librealsense/src/ds5/ds5-private.cpp:137:93: warning: expression result unused [-Wunused-value]
LOG_DEBUG(endl<< array2str((float_4&)(intrinsics.fx, intrinsics.fy, intrinsics.ppx, intrinsics.ppy)) << endl);
~~~~~~~~~~ ^~~
/home/mds1/Code/librealsense/include/librealsense2/utilities/easylogging/easyloggingpp.h:38:60: note: expanded from macro 'LOG_DEBUG'
#define LOG_DEBUG(...)   do { std::ostringstream ss; ss << VA_ARGS; __android_log_write( ANDROID_LOG_DEBUG, ANDROID_LOG_TAG, ss.str().c_str() ); } while(false)
^~~~~~~~~~~
/home/mds1/Code/librealsense/src/ds5/ds5-private.cpp:181:67: warning: expression result unused [-Wunused-value]
LOG_DEBUG(endl << array2str((float_4&)(calc_intrinsic.fx, calc_intrinsic.fy, calc_intrinsic.ppx, calc_intrinsic.ppy)) << endl);
~~~~~~~~~~~~~~ ^~
/home/mds1/Code/librealsense/include/librealsense2/utilities/easylogging/easyloggingpp.h:38:60: note: expanded from macro 'LOG_DEBUG'
#define LOG_DEBUG(...)   do { std::ostringstream ss; ss << VA_ARGS; __android_log_write( ANDROID_LOG_DEBUG, ANDROID_LOG_TAG, ss.str().c_str() ); } while(false)
^~~~~~~~~~~
/home/mds1/Code/librealsense/src/ds5/ds5-private.cpp:181:86: warning: expression result unused [-Wunused-value]
LOG_DEBUG(endl << array2str((float_4&)(calc_intrinsic.fx, calc_intrinsic.fy, calc_intrinsic.ppx, calc_intrinsic.ppy)) << endl);
~~~~~~~~~~~~~~ ^~
/home/mds1/Code/librealsense/include/librealsense2/utilities/easylogging/easyloggingpp.h:38:60: note: expanded from macro 'LOG_DEBUG'
#define LOG_DEBUG(...)   do { std::ostringstream ss; ss << VA_ARGS; __android_log_write( ANDROID_LOG_DEBUG, ANDROID_LOG_TAG, ss.str().c_str() ); } while(false)
^~~~~~~~~~~
/home/mds1/Code/librealsense/src/ds5/ds5-private.cpp:181:105: warning: expression result unused [-Wunused-value]
LOG_DEBUG(endl << array2str((float_4&)(calc_intrinsic.fx, calc_intrinsic.fy, calc_intrinsic.ppx, calc_intrinsic.ppy)) << endl);
~~~~~~~~~~~~~~ ^~~
/home/mds1/Code/librealsense/include/librealsense2/utilities/easylogging/easyloggingpp.h:38:60: note: expanded from macro 'LOG_DEBUG'
#define LOG_DEBUG(...)   do { std::ostringstream ss; ss << VA_ARGS; __android_log_write( ANDROID_LOG_DEBUG, ANDROID_LOG_TAG, ss.str().c_str() ); } while(false)
^~~~~~~~~~~
6 warnings generated.
[ 16%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/ds5-motion.cpp.o
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-motion.cpp:4:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-motion.h:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:14:
/home/mds1/Code/librealsense/src/fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-motion.cpp:4:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-motion.h:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:201:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-motion.cpp:4:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-motion.h:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:344:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-motion.cpp:4:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-motion.h:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:368:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
4 warnings generated.
[ 17%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/ds5-nonmonochrome.cpp.o
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-nonmonochrome.cpp:15:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-nonmonochrome.h:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:14:
/home/mds1/Code/librealsense/src/fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-nonmonochrome.cpp:15:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-nonmonochrome.h:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:201:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-nonmonochrome.cpp:15:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-nonmonochrome.h:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:344:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-nonmonochrome.cpp:15:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-nonmonochrome.h:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:368:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
4 warnings generated.
[ 17%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/ds5-device.cpp.o
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.cpp:15:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:14:
/home/mds1/Code/librealsense/src/fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.cpp:15:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:201:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.cpp:15:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:344:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.cpp:15:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:368:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
4 warnings generated.
[ 18%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/ds5-color.cpp.o
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-color.cpp:10:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-color.h:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:14:
/home/mds1/Code/librealsense/src/fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-color.cpp:10:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-color.h:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:201:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-color.cpp:10:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-color.h:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:344:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-color.cpp:10:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-color.h:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:368:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
4 warnings generated.
[ 19%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/ds5-active.cpp.o
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-active.cpp:15:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-active.h:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:14:
/home/mds1/Code/librealsense/src/fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-active.cpp:15:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-active.h:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:201:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-active.cpp:15:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-active.h:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:344:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-active.cpp:15:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-active.h:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:368:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
4 warnings generated.
[ 19%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/ds5-factory.cpp.o
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-factory.cpp:17:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:201:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-factory.cpp:17:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:344:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-factory.cpp:17:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:368:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-factory.cpp:19:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-nonmonochrome.h:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:14:
/home/mds1/Code/librealsense/src/fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
4 warnings generated.
[ 20%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/ds5-fw-update-device.cpp.o
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-fw-update-device.cpp:4:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-fw-update-device.h:6:
In file included from /home/mds1/Code/librealsense/src/fw-update/fw-update-device.h:6:
/home/mds1/Code/librealsense/src/fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
1 warning generated.
[ 20%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/advanced_mode/rs_advanced_mode.cpp.o
[ 21%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/advanced_mode/presets.cpp.o
[ 21%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/advanced_mode/advanced_mode.cpp.o
In file included from /home/mds1/Code/librealsense/src/ds5/advanced_mode/advanced_mode.cpp:5:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-active.h:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:14:
/home/mds1/Code/librealsense/src/fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
In file included from /home/mds1/Code/librealsense/src/ds5/advanced_mode/advanced_mode.cpp:5:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-active.h:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:201:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/ds5/advanced_mode/advanced_mode.cpp:5:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-active.h:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:344:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/ds5/advanced_mode/advanced_mode.cpp:5:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-active.h:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:368:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
4 warnings generated.
[ 22%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/ds5-auto-calibration.cpp.o
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-auto-calibration.cpp:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:14:
/home/mds1/Code/librealsense/src/fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-auto-calibration.cpp:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:201:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-auto-calibration.cpp:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:344:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-auto-calibration.cpp:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:368:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
4 warnings generated.
[ 23%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/ds5-thermal-monitor.cpp.o
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-thermal-monitor.cpp:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-color.h:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:14:
/home/mds1/Code/librealsense/src/fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-thermal-monitor.cpp:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-color.h:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:201:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-thermal-monitor.cpp:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-color.h:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:344:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-thermal-monitor.cpp:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-color.h:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:368:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
4 warnings generated.
[ 23%] Building CXX object CMakeFiles/realsense2.dir/src/ivcam/ivcam-private.cpp.o
[ 24%] Building CXX object CMakeFiles/realsense2.dir/src/ivcam/sr300.cpp.o
In file included from /home/mds1/Code/librealsense/src/ivcam/sr300.cpp:4:
In file included from /home/mds1/Code/librealsense/src/ivcam/sr300.h:22:
/home/mds1/Code/librealsense/src/fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
In file included from /home/mds1/Code/librealsense/src/ivcam/sr300.cpp:13:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:201:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/ivcam/sr300.cpp:13:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:344:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/ivcam/sr300.cpp:13:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:368:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
4 warnings generated.
[ 24%] Building CXX object CMakeFiles/realsense2.dir/src/ivcam/sr300-fw-update-device.cpp.o
In file included from /home/mds1/Code/librealsense/src/ivcam/sr300-fw-update-device.cpp:4:
In file included from /home/mds1/Code/librealsense/src/ivcam/sr300-fw-update-device.h:6:
In file included from /home/mds1/Code/librealsense/src/fw-update/fw-update-device.h:6:
/home/mds1/Code/librealsense/src/fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
1 warning generated.
[ 25%] Building CXX object CMakeFiles/realsense2.dir/src/l500/l500-depth.cpp.o
In file included from /home/mds1/Code/librealsense/src/l500/l500-depth.cpp:8:
In file included from /home/mds1/Code/librealsense/src/l500/l500-depth.h:11:
In file included from /home/mds1/Code/librealsense/src/l500/l500-device.h:18:
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
1 warning generated.
[ 25%] Building CXX object CMakeFiles/realsense2.dir/src/l500/l500-private.cpp.o
In file included from /home/mds1/Code/librealsense/src/l500/l500-private.cpp:5:
In file included from /home/mds1/Code/librealsense/src/l500/l500-device.h:18:
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
1 warning generated.
[ 26%] Building CXX object CMakeFiles/realsense2.dir/src/l500/l500-color.cpp.o
In file included from /home/mds1/Code/librealsense/src/l500/l500-color.cpp:4:
In file included from /home/mds1/Code/librealsense/src/l500/l500-color.h:10:
In file included from /home/mds1/Code/librealsense/src/l500/l500-device.h:18:
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
1 warning generated.
[ 26%] Building CXX object CMakeFiles/realsense2.dir/src/l500/l535-color-device.cpp.o
In file included from /home/mds1/Code/librealsense/src/l500/l535-color-device.cpp:4:
In file included from /home/mds1/Code/librealsense/src/l500/l535-color-device.h:6:
In file included from /home/mds1/Code/librealsense/src/l500/l500-color.h:10:
In file included from /home/mds1/Code/librealsense/src/l500/l500-device.h:18:
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
1 warning generated.
[ 27%] Building CXX object CMakeFiles/realsense2.dir/src/l500/l500-device.cpp.o
In file included from /home/mds1/Code/librealsense/src/l500/l500-device.cpp:4:
In file included from /home/mds1/Code/librealsense/src/l500/l500-device.h:18:
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
/home/mds1/Code/librealsense/src/l500/l500-device.cpp:667:72: warning: 'memset' will set 0 bytes; maybe the arguments got flipped? [-Wuser-defined-warnings]
memset(&_temperatures, sizeof(_temperatures), 0);
^
/home/mds1/CrossCompiler/android-ndk-r21-linux-x86_64/android-ndk-r21/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/bits/fortify/string.h:146:9: note: from 'diagnose_if' attribute on 'memset':
__clang_warning_if(c && !n, "'memset' will set 0 bytes; maybe the arguments got flipped?") {
^                  ~~~~~~~
/home/mds1/CrossCompiler/android-ndk-r21-linux-x86_64/android-ndk-r21/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/sys/cdefs.h:135:54: note: expanded from macro '__clang_warning_if'
#define __clang_warning_if(cond, msg) attribute((diagnose_if(cond, msg, "warning")))
^           ~~~~
2 warnings generated.
[ 28%] Building CXX object CMakeFiles/realsense2.dir/src/l500/l500-motion.cpp.o
In file included from /home/mds1/Code/librealsense/src/l500/l500-motion.cpp:4:
In file included from /home/mds1/Code/librealsense/src/l500/l500-color.h:10:
In file included from /home/mds1/Code/librealsense/src/l500/l500-device.h:18:
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
In file included from /home/mds1/Code/librealsense/src/l500/l500-motion.cpp:6:
In file included from /home/mds1/Code/librealsense/src/l500/l500-motion.h:11:
In file included from /home/mds1/Code/librealsense/src/l500/../ds5/ds5-motion.h:6:
In file included from /home/mds1/Code/librealsense/src/l500/../ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/l500/../ds5/ds5-options.h:201:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/l500/l500-motion.cpp:6:
In file included from /home/mds1/Code/librealsense/src/l500/l500-motion.h:11:
In file included from /home/mds1/Code/librealsense/src/l500/../ds5/ds5-motion.h:6:
In file included from /home/mds1/Code/librealsense/src/l500/../ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/l500/../ds5/ds5-options.h:344:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/l500/l500-motion.cpp:6:
In file included from /home/mds1/Code/librealsense/src/l500/l500-motion.h:11:
In file included from /home/mds1/Code/librealsense/src/l500/../ds5/ds5-motion.h:6:
In file included from /home/mds1/Code/librealsense/src/l500/../ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/l500/../ds5/ds5-options.h:368:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
4 warnings generated.
[ 28%] Building CXX object CMakeFiles/realsense2.dir/src/l500/l500-factory.cpp.o
In file included from /home/mds1/Code/librealsense/src/l500/l500-factory.cpp:17:
In file included from /home/mds1/Code/librealsense/src/l500/l500-depth.h:11:
In file included from /home/mds1/Code/librealsense/src/l500/l500-device.h:18:
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
In file included from /home/mds1/Code/librealsense/src/l500/l500-factory.cpp:18:
In file included from /home/mds1/Code/librealsense/src/l500/l500-motion.h:11:
In file included from /home/mds1/Code/librealsense/src/l500/../ds5/ds5-motion.h:6:
In file included from /home/mds1/Code/librealsense/src/l500/../ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/l500/../ds5/ds5-options.h:201:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/l500/l500-factory.cpp:18:
In file included from /home/mds1/Code/librealsense/src/l500/l500-motion.h:11:
In file included from /home/mds1/Code/librealsense/src/l500/../ds5/ds5-motion.h:6:
In file included from /home/mds1/Code/librealsense/src/l500/../ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/l500/../ds5/ds5-options.h:344:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/l500/l500-factory.cpp:18:
In file included from /home/mds1/Code/librealsense/src/l500/l500-motion.h:11:
In file included from /home/mds1/Code/librealsense/src/l500/../ds5/ds5-motion.h:6:
In file included from /home/mds1/Code/librealsense/src/l500/../ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/l500/../ds5/ds5-options.h:368:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
4 warnings generated.
[ 29%] Building CXX object CMakeFiles/realsense2.dir/src/l500/l500-fw-update-device.cpp.o
In file included from /home/mds1/Code/librealsense/src/l500/l500-fw-update-device.cpp:4:
In file included from /home/mds1/Code/librealsense/src/l500/l500-fw-update-device.h:6:
In file included from /home/mds1/Code/librealsense/src/fw-update/fw-update-device.h:6:
/home/mds1/Code/librealsense/src/fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
1 warning generated.
[ 29%] Building CXX object CMakeFiles/realsense2.dir/src/l500/l500-serializable.cpp.o
In file included from /home/mds1/Code/librealsense/src/l500/l500-serializable.cpp:6:
In file included from /home/mds1/Code/librealsense/src/l500/l500-options.h:6:
In file included from /home/mds1/Code/librealsense/src/l500/l500-device.h:18:
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
1 warning generated.
[ 30%] Building CXX object CMakeFiles/realsense2.dir/src/l500/l500-options.cpp.o
In file included from /home/mds1/Code/librealsense/src/l500/l500-options.cpp:4:
In file included from /home/mds1/Code/librealsense/src/l500/l500-options.h:6:
In file included from /home/mds1/Code/librealsense/src/l500/l500-device.h:18:
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
1 warning generated.
[ 30%] Building CXX object CMakeFiles/realsense2.dir/src/l500/l535-device-options.cpp.o
In file included from /home/mds1/Code/librealsense/src/l500/l535-device-options.cpp:4:
In file included from /home/mds1/Code/librealsense/src/l500/l535-device-options.h:6:
In file included from /home/mds1/Code/librealsense/src/l500/l500-device.h:18:
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
1 warning generated.
[ 31%] Building CXX object CMakeFiles/realsense2.dir/src/l500/l535-amc-option.cpp.o
In file included from /home/mds1/Code/librealsense/src/l500/l535-amc-option.cpp:4:
In file included from /home/mds1/Code/librealsense/src/l500/l535-amc-option.h:6:
In file included from /home/mds1/Code/librealsense/src/l500/l500-device.h:18:
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
1 warning generated.
[ 32%] Building CXX object CMakeFiles/realsense2.dir/src/l500/l535-preset-option.cpp.o
In file included from /home/mds1/Code/librealsense/src/l500/l535-preset-option.cpp:4:
In file included from /home/mds1/Code/librealsense/src/l500/l535-preset-option.h:6:
In file included from /home/mds1/Code/librealsense/src/l500/l500-device.h:18:
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
1 warning generated.
[ 32%] Building CXX object CMakeFiles/realsense2.dir/src/media/record/record_device.cpp.o
In file included from /home/mds1/Code/librealsense/src/media/record/record_device.cpp:8:
In file included from /home/mds1/Code/librealsense/src/l500/l500-depth.h:11:
In file included from /home/mds1/Code/librealsense/src/l500/l500-device.h:18:
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
1 warning generated.
[ 33%] Building CXX object CMakeFiles/realsense2.dir/src/media/record/record_sensor.cpp.o
In file included from /home/mds1/Code/librealsense/src/media/record/record_sensor.cpp:7:
In file included from /home/mds1/Code/librealsense/src/l500/l500-depth.h:11:
In file included from /home/mds1/Code/librealsense/src/l500/l500-device.h:18:
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
1 warning generated.
[ 33%] Building CXX object CMakeFiles/realsense2.dir/src/media/playback/playback_device.cpp.o
In file included from /home/mds1/Code/librealsense/src/media/playback/playback_device.cpp:8:
In file included from /home/mds1/Code/librealsense/src/media/ros/ros_reader.h:6:
In file included from /home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/view.h:41:
In file included from /home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/message_instance.h:150:
In file included from /home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:64:
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
console_bridge::log(FILE, LINE, console_bridge::CONSOLE_BRIDGE_LOG_DEBUG, fmt, ##VA_ARGS)
^
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
In file included from /home/mds1/Code/librealsense/src/media/playback/playback_device.cpp:8:
In file included from /home/mds1/Code/librealsense/src/media/ros/ros_reader.h:7:
In file included from /home/mds1/Code/librealsense/src/media/ros/ros_file_format.h:26:
In file included from /home/mds1/Code/librealsense/src/l500/l500-depth.h:11:
In file included from /home/mds1/Code/librealsense/src/l500/l500-device.h:18:
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
3 warnings generated.
[ 34%] Building CXX object CMakeFiles/realsense2.dir/src/media/playback/playback_sensor.cpp.o
In file included from /home/mds1/Code/librealsense/src/media/playback/playback_sensor.cpp:9:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:201:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/media/playback/playback_sensor.cpp:9:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:344:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/media/playback/playback_sensor.cpp:9:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:368:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/media/playback/playback_sensor.cpp:10:
In file included from /home/mds1/Code/librealsense/src/media/ros/ros_reader.h:6:
In file included from /home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/view.h:41:
In file included from /home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/message_instance.h:150:
In file included from /home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:64:
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
console_bridge::log(FILE, LINE, console_bridge::CONSOLE_BRIDGE_LOG_DEBUG, fmt, ##VA_ARGS)
^
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
In file included from /home/mds1/Code/librealsense/src/media/playback/playback_sensor.cpp:10:
In file included from /home/mds1/Code/librealsense/src/media/ros/ros_reader.h:7:
In file included from /home/mds1/Code/librealsense/src/media/ros/ros_file_format.h:26:
In file included from /home/mds1/Code/librealsense/src/l500/l500-depth.h:11:
In file included from /home/mds1/Code/librealsense/src/l500/l500-device.h:18:
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
6 warnings generated.
[ 34%] Building CXX object CMakeFiles/realsense2.dir/src/media/ros/ros_reader.cpp.o
In file included from /home/mds1/Code/librealsense/src/media/ros/ros_reader.cpp:5:
In file included from /home/mds1/Code/librealsense/src/media/ros/ros_reader.h:6:
In file included from /home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/view.h:41:
In file included from /home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/message_instance.h:150:
In file included from /home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:64:
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
console_bridge::log(FILE, LINE, console_bridge::CONSOLE_BRIDGE_LOG_DEBUG, fmt, ##VA_ARGS)
^
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
In file included from /home/mds1/Code/librealsense/src/media/ros/ros_reader.cpp:5:
In file included from /home/mds1/Code/librealsense/src/media/ros/ros_reader.h:7:
In file included from /home/mds1/Code/librealsense/src/media/ros/ros_file_format.h:26:
In file included from /home/mds1/Code/librealsense/src/l500/l500-depth.h:11:
In file included from /home/mds1/Code/librealsense/src/l500/l500-device.h:18:
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
In file included from /home/mds1/Code/librealsense/src/media/ros/ros_reader.cpp:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:201:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/media/ros/ros_reader.cpp:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:344:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/media/ros/ros_reader.cpp:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:368:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
6 warnings generated.
[ 35%] Building CXX object CMakeFiles/realsense2.dir/src/media/ros/ros_writer.cpp.o
In file included from /home/mds1/Code/librealsense/src/media/ros/ros_writer.cpp:14:
In file included from /home/mds1/Code/librealsense/src/media/ros/ros_writer.h:5:
In file included from /home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:64:
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
console_bridge::log(FILE, LINE, console_bridge::CONSOLE_BRIDGE_LOG_DEBUG, fmt, ##VA_ARGS)
^
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
In file included from /home/mds1/Code/librealsense/src/media/ros/ros_writer.cpp:14:
In file included from /home/mds1/Code/librealsense/src/media/ros/ros_writer.h:6:
In file included from /home/mds1/Code/librealsense/src/media/ros/ros_file_format.h:26:
In file included from /home/mds1/Code/librealsense/src/l500/l500-depth.h:11:
In file included from /home/mds1/Code/librealsense/src/l500/l500-device.h:18:
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
In file included from /home/mds1/Code/librealsense/src/media/ros/ros_writer.cpp:15:
In file included from /home/mds1/Code/librealsense/src/l500/l500-motion.h:11:
In file included from /home/mds1/Code/librealsense/src/l500/../ds5/ds5-motion.h:6:
In file included from /home/mds1/Code/librealsense/src/l500/../ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/l500/../ds5/ds5-options.h:201:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/media/ros/ros_writer.cpp:15:
In file included from /home/mds1/Code/librealsense/src/l500/l500-motion.h:11:
In file included from /home/mds1/Code/librealsense/src/l500/../ds5/ds5-motion.h:6:
In file included from /home/mds1/Code/librealsense/src/l500/../ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/l500/../ds5/ds5-options.h:344:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/media/ros/ros_writer.cpp:15:
In file included from /home/mds1/Code/librealsense/src/l500/l500-motion.h:11:
In file included from /home/mds1/Code/librealsense/src/l500/../ds5/ds5-motion.h:6:
In file included from /home/mds1/Code/librealsense/src/l500/../ds5/ds5-device.h:16:
/home/mds1/Code/librealsense/src/l500/../ds5/ds5-options.h:368:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
6 warnings generated.
[ 35%] Building CXX object CMakeFiles/realsense2.dir/src/mock/sql.cpp.o
[ 36%] Building CXX object CMakeFiles/realsense2.dir/src/mock/recorder.cpp.o
[ 37%] Building CXX object CMakeFiles/realsense2.dir/src/proc/sse/sse-align.cpp.o
[ 37%] Building CXX object CMakeFiles/realsense2.dir/src/proc/sse/sse-pointcloud.cpp.o
[ 38%] Building CXX object CMakeFiles/realsense2.dir/src/proc/processing-blocks-factory.cpp.o
[ 38%] Building CXX object CMakeFiles/realsense2.dir/src/proc/align.cpp.o
[ 39%] Building CXX object CMakeFiles/realsense2.dir/src/proc/colorizer.cpp.o
[ 39%] Building CXX object CMakeFiles/realsense2.dir/src/proc/pointcloud.cpp.o
[ 40%] Building CXX object CMakeFiles/realsense2.dir/src/proc/occlusion-filter.cpp.o
[ 41%] Building CXX object CMakeFiles/realsense2.dir/src/proc/synthetic-stream.cpp.o
[ 41%] Building CXX object CMakeFiles/realsense2.dir/src/proc/syncer-processing-block.cpp.o
[ 42%] Building CXX object CMakeFiles/realsense2.dir/src/proc/decimation-filter.cpp.o
[ 42%] Building CXX object CMakeFiles/realsense2.dir/src/proc/spatial-filter.cpp.o
[ 43%] Building CXX object CMakeFiles/realsense2.dir/src/proc/temporal-filter.cpp.o
[ 43%] Building CXX object CMakeFiles/realsense2.dir/src/proc/hdr-merge.cpp.o
[ 44%] Building CXX object CMakeFiles/realsense2.dir/src/proc/sequence-id-filter.cpp.o
[ 44%] Building CXX object CMakeFiles/realsense2.dir/src/proc/hole-filling-filter.cpp.o
[ 45%] Building CXX object CMakeFiles/realsense2.dir/src/proc/disparity-transform.cpp.o
[ 46%] Building CXX object CMakeFiles/realsense2.dir/src/proc/y8i-to-y8y8.cpp.o
[ 46%] Building CXX object CMakeFiles/realsense2.dir/src/proc/y12i-to-y16y16.cpp.o
[ 47%] Building CXX object CMakeFiles/realsense2.dir/src/proc/identity-processing-block.cpp.o
[ 47%] Building CXX object CMakeFiles/realsense2.dir/src/proc/threshold.cpp.o
[ 48%] Building CXX object CMakeFiles/realsense2.dir/src/proc/rates-printer.cpp.o
[ 48%] Building CXX object CMakeFiles/realsense2.dir/src/proc/zero-order.cpp.o
In file included from /home/mds1/Code/librealsense/src/proc/zero-order.cpp:6:
In file included from /home/mds1/Code/librealsense/src/l500/l500-depth.h:11:
In file included from /home/mds1/Code/librealsense/src/l500/l500-device.h:18:
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
1 warning generated.
[ 49%] Building CXX object CMakeFiles/realsense2.dir/src/proc/units-transform.cpp.o
[ 50%] Building CXX object CMakeFiles/realsense2.dir/src/proc/rotation-transform.cpp.o
[ 50%] Building CXX object CMakeFiles/realsense2.dir/src/proc/color-formats-converter.cpp.o
[ 51%] Building CXX object CMakeFiles/realsense2.dir/src/proc/depth-formats-converter.cpp.o
[ 51%] Building CXX object CMakeFiles/realsense2.dir/src/proc/motion-transform.cpp.o
In file included from /home/mds1/Code/librealsense/src/proc/motion-transform.cpp:4:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:201:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/proc/motion-transform.cpp:4:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:344:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/proc/motion-transform.cpp:4:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:368:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/proc/motion-transform.cpp:5:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-motion.h:6:
In file included from /home/mds1/Code/librealsense/src/ds5/ds5-device.h:14:
/home/mds1/Code/librealsense/src/fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
4 warnings generated.
[ 52%] Building CXX object CMakeFiles/realsense2.dir/src/proc/auto-exposure-processor.cpp.o
In file included from /home/mds1/Code/librealsense/src/proc/auto-exposure-processor.cpp:4:
In file included from /home/mds1/Code/librealsense/src/proc/auto-exposure-processor.h:9:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:201:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/proc/auto-exposure-processor.cpp:4:
In file included from /home/mds1/Code/librealsense/src/proc/auto-exposure-processor.h:9:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:344:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
In file included from /home/mds1/Code/librealsense/src/proc/auto-exposure-processor.cpp:4:
In file included from /home/mds1/Code/librealsense/src/proc/auto-exposure-processor.h:9:
/home/mds1/Code/librealsense/src/ds5/ds5-options.h:368:22: warning: 'is_read_only' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
^
/home/mds1/Code/librealsense/src/core/options.h:27:22: note: overridden virtual function is here
virtual bool is_read_only() const { return false; }
^
3 warnings generated.
[ 52%] Building CXX object CMakeFiles/realsense2.dir/src/proc/depth-decompress.cpp.o
[ 53%] Building CXX object CMakeFiles/realsense2.dir/src/proc/y411-converter.cpp.o
[ 53%] Building CXX object CMakeFiles/realsense2.dir/src/pipeline/pipeline.cpp.o
In file included from /home/mds1/Code/librealsense/src/pipeline/pipeline.cpp:8:
In file included from /home/mds1/Code/librealsense/src/media/ros/ros_writer.h:5:
In file included from /home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:64:
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
console_bridge::log(FILE, LINE, console_bridge::CONSOLE_BRIDGE_LOG_DEBUG, fmt, ##VA_ARGS)
^
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
In file included from /home/mds1/Code/librealsense/src/pipeline/pipeline.cpp:8:
In file included from /home/mds1/Code/librealsense/src/media/ros/ros_writer.h:6:
In file included from /home/mds1/Code/librealsense/src/media/ros/ros_file_format.h:26:
In file included from /home/mds1/Code/librealsense/src/l500/l500-depth.h:11:
In file included from /home/mds1/Code/librealsense/src/l500/l500-device.h:18:
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
3 warnings generated.
[ 54%] Building CXX object CMakeFiles/realsense2.dir/src/pipeline/config.cpp.o
[ 55%] Building CXX object CMakeFiles/realsense2.dir/src/pipeline/profile.cpp.o
In file included from /home/mds1/Code/librealsense/src/pipeline/profile.cpp:6:
In file included from /home/mds1/Code/librealsense/src/media/ros/ros_writer.h:5:
In file included from /home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:64:
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
console_bridge::log(FILE, LINE, console_bridge::CONSOLE_BRIDGE_LOG_DEBUG, fmt, ##VA_ARGS)
^
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
In file included from /home/mds1/Code/librealsense/src/pipeline/profile.cpp:6:
In file included from /home/mds1/Code/librealsense/src/media/ros/ros_writer.h:6:
In file included from /home/mds1/Code/librealsense/src/media/ros/ros_file_format.h:26:
In file included from /home/mds1/Code/librealsense/src/l500/l500-depth.h:11:
In file included from /home/mds1/Code/librealsense/src/l500/l500-device.h:18:
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
3 warnings generated.
[ 55%] Building CXX object CMakeFiles/realsense2.dir/src/pipeline/aggregator.cpp.o
[ 56%] Building CXX object CMakeFiles/realsense2.dir/src/fw-logs/fw-log-data.cpp.o
[ 56%] Building CXX object CMakeFiles/realsense2.dir/src/fw-logs/fw-logs-formating-options.cpp.o
[ 57%] Building CXX object CMakeFiles/realsense2.dir/src/fw-logs/fw-logs-parser.cpp.o
[ 57%] Building CXX object CMakeFiles/realsense2.dir/src/fw-logs/fw-logs-xml-helper.cpp.o
[ 58%] Building CXX object CMakeFiles/realsense2.dir/src/fw-logs/fw-string-formatter.cpp.o
[ 58%] Building CXX object CMakeFiles/realsense2.dir/src/fw-update/fw-update-device.cpp.o
In file included from /home/mds1/Code/librealsense/src/fw-update/fw-update-device.cpp:4:
In file included from /home/mds1/Code/librealsense/src/fw-update/fw-update-device.h:6:
/home/mds1/Code/librealsense/src/fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
1 warning generated.
[ 59%] Building CXX object CMakeFiles/realsense2.dir/src/fw-update/fw-update-factory.cpp.o
In file included from /home/mds1/Code/librealsense/src/fw-update/fw-update-factory.cpp:5:
In file included from /home/mds1/Code/librealsense/src/fw-update/fw-update-device.h:6:
/home/mds1/Code/librealsense/src/fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
1 warning generated.
[ 60%] Building CXX object CMakeFiles/realsense2.dir/src/fw-update/fw-update-unsigned.cpp.o
[ 60%] Building C object CMakeFiles/realsense2.dir/src/usbhost/usbhost.c.o
/home/mds1/Code/librealsense/src/usbhost/usbhost.c:759:15: warning: use of GNU statement expression extension [-Wgnu-statement-expression]
int res = TEMP_FAILURE_RETRY(ioctl(dev->fd, timeoutMillis == -1 ? USBDEVFS_REAPURB :
^
/home/mds1/CrossCompiler/android-ndk-r21-linux-x86_64/android-ndk-r21/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/unistd.h:354:34: note: expanded from macro 'TEMP_FAILURE_RETRY'
#define TEMP_FAILURE_RETRY(exp) ({
^
/home/mds1/Code/librealsense/src/usbhost/usbhost.c:780:2: warning: no newline at end of file [-Wnewline-eof]
}
^
2 warnings generated.
[ 61%] Building CXX object CMakeFiles/realsense2.dir/src/usbhost/interface-usbhost.cpp.o
[ 61%] Building CXX object CMakeFiles/realsense2.dir/src/usbhost/device-usbhost.cpp.o
[ 62%] Building CXX object CMakeFiles/realsense2.dir/src/usbhost/messenger-usbhost.cpp.o
[ 62%] Building CXX object CMakeFiles/realsense2.dir/src/usbhost/enumerator-usbhost.cpp.o
[ 63%] Building CXX object CMakeFiles/realsense2.dir/src/usbhost/request-usbhost.cpp.o
[ 64%] Building CXX object CMakeFiles/realsense2.dir/src/android/rsusb-backend-android.cpp.o
[ 64%] Building CXX object CMakeFiles/realsense2.dir/src/android/device_watcher.cpp.o
[ 65%] Building CXX object CMakeFiles/realsense2.dir/src/android/jni/error.cpp.o
[ 65%] Building CXX object CMakeFiles/realsense2.dir/src/android/jni/context.cpp.o
[ 66%] Building CXX object CMakeFiles/realsense2.dir/src/android/jni/debug_protocol.cpp.o
[ 66%] Building CXX object CMakeFiles/realsense2.dir/src/android/jni/device.cpp.o
[ 67%] Building CXX object CMakeFiles/realsense2.dir/src/android/jni/sensor.cpp.o
[ 67%] Building CXX object CMakeFiles/realsense2.dir/src/android/jni/device_list.cpp.o
[ 68%] Building CXX object CMakeFiles/realsense2.dir/src/android/jni/pipeline.cpp.o
/home/mds1/Code/librealsense/src/android/jni/pipeline.cpp:30:46: warning: implicit conversion of NULL constant to 'jint' (aka 'int') [-Wnull-conversion]
static frame_callback_data pdata = {NULL, 0, NULL, NULL};
~         ^~
0
1 warning generated.
[ 69%] Building CXX object CMakeFiles/realsense2.dir/src/android/jni/config.cpp.o
[ 69%] Building CXX object CMakeFiles/realsense2.dir/src/android/jni/stream_profile.cpp.o
[ 70%] Building CXX object CMakeFiles/realsense2.dir/src/android/jni/frame.cpp.o
[ 70%] Building CXX object CMakeFiles/realsense2.dir/src/android/jni/frameset.cpp.o
[ 71%] Building CXX object CMakeFiles/realsense2.dir/src/android/jni/fw_logger.cpp.o
[ 71%] Building CXX object CMakeFiles/realsense2.dir/src/android/jni/frame_queue.cpp.o
[ 72%] Building CXX object CMakeFiles/realsense2.dir/src/android/jni/processing.cpp.o
[ 73%] Building CXX object CMakeFiles/realsense2.dir/src/android/jni/options.cpp.o
[ 73%] Building CXX object CMakeFiles/realsense2.dir/src/android/jni/advanced_mode.cpp.o
[ 74%] Building CXX object CMakeFiles/realsense2.dir/src/android/jni/utils.cpp.o
[ 74%] Building CXX object CMakeFiles/realsense2.dir/src/android/jni/frame_callback.cpp.o
[ 75%] Building CXX object CMakeFiles/realsense2.dir/src/android/jni/jni_common.cpp.o
[ 75%] Building CXX object CMakeFiles/realsense2.dir/src/android/fw-logger/rs-fw-logger.cpp.o
[ 76%] Building CXX object CMakeFiles/realsense2.dir/tools/fw-logger/fw-log-data.cpp.o
[ 76%] Building CXX object CMakeFiles/realsense2.dir/tools/fw-logger/fw-logs-parser.cpp.o
[ 77%] Building CXX object CMakeFiles/realsense2.dir/tools/fw-logger/fw-logs-xml-helper.cpp.o
[ 78%] Building CXX object CMakeFiles/realsense2.dir/tools/fw-logger/string-formatter.cpp.o
[ 78%] Building CXX object CMakeFiles/realsense2.dir/tools/fw-logger/fw-logs-formating-options.cpp.o
[ 79%] Building CXX object CMakeFiles/realsense2.dir/src/hid/hid-device.cpp.o
[ 79%] Building CXX object CMakeFiles/realsense2.dir/src/uvc/uvc-device.cpp.o
[ 80%] Building CXX object CMakeFiles/realsense2.dir/src/uvc/uvc-parser.cpp.o
[ 80%] Building CXX object CMakeFiles/realsense2.dir/src/uvc/uvc-streamer.cpp.o
[ 81%] Building CXX object CMakeFiles/realsense2.dir/src/rsusb-backend/rsusb-backend.cpp.o
[ 82%] Building CXX object CMakeFiles/realsense2.dir/src/algo.cpp.o
[ 82%] Building CXX object CMakeFiles/realsense2.dir/src/archive.cpp.o
[ 83%] Building CXX object CMakeFiles/realsense2.dir/src/backend.cpp.o
[ 83%] Building CXX object CMakeFiles/realsense2.dir/src/context.cpp.o
In file included from /home/mds1/Code/librealsense/src/context.cpp:11:
In file included from /home/mds1/Code/librealsense/src/ivcam/sr300.h:22:
/home/mds1/Code/librealsense/src/fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
In file included from /home/mds1/Code/librealsense/src/context.cpp:17:
In file included from /home/mds1/Code/librealsense/src/media/ros/ros_reader.h:6:
In file included from /home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/view.h:41:
In file included from /home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/message_instance.h:150:
In file included from /home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:64:
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
console_bridge::log(FILE, LINE, console_bridge::CONSOLE_BRIDGE_LOG_DEBUG, fmt, ##VA_ARGS)
^
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
3 warnings generated.
[ 84%] Building CXX object CMakeFiles/realsense2.dir/src/device.cpp.o
[ 84%] Building CXX object CMakeFiles/realsense2.dir/src/device_hub.cpp.o
[ 85%] Building CXX object CMakeFiles/realsense2.dir/src/environment.cpp.o
[ 85%] Building CXX object CMakeFiles/realsense2.dir/src/error-handling.cpp.o
[ 86%] Building CXX object CMakeFiles/realsense2.dir/src/firmware_logger_device.cpp.o
[ 87%] Building CXX object CMakeFiles/realsense2.dir/src/global_timestamp_reader.cpp.o
[ 87%] Building CXX object CMakeFiles/realsense2.dir/src/hdr-config.cpp.o
[ 88%] Building CXX object CMakeFiles/realsense2.dir/src/hw-monitor.cpp.o
[ 88%] Building CXX object CMakeFiles/realsense2.dir/src/image.cpp.o
[ 89%] Building CXX object CMakeFiles/realsense2.dir/src/image-avx.cpp.o
[ 89%] Building CXX object CMakeFiles/realsense2.dir/src/log.cpp.o
[ 90%] Building CXX object CMakeFiles/realsense2.dir/src/option.cpp.o
[ 91%] Building CXX object CMakeFiles/realsense2.dir/src/rs.cpp.o
In file included from /home/mds1/Code/librealsense/src/rs.cpp:15:
In file included from /home/mds1/Code/librealsense/src/media/ros/ros_writer.h:5:
In file included from /home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:64:
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
console_bridge::log(FILE, LINE, console_bridge::CONSOLE_BRIDGE_LOG_DEBUG, fmt, ##VA_ARGS)
^
/home/mds1/Code/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:88:90: warning: token pasting of ',' and VA_ARGS is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
In file included from /home/mds1/Code/librealsense/src/rs.cpp:15:
In file included from /home/mds1/Code/librealsense/src/media/ros/ros_writer.h:6:
In file included from /home/mds1/Code/librealsense/src/media/ros/ros_file_format.h:26:
In file included from /home/mds1/Code/librealsense/src/l500/l500-depth.h:11:
In file included from /home/mds1/Code/librealsense/src/l500/l500-device.h:18:
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: warning: adding 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::size_type' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/mds1/Code/librealsense/src/l500/../fw-update/fw-update-device-interface.h:20:102: note: use array indexing to silence this warning
throw std::runtime_error("Firmware binary image might be corrupted - size is only: " + fw_image.size());
^
&                                                           [                ]
3 warnings generated.
[ 91%] Building CXX object CMakeFiles/realsense2.dir/src/sensor.cpp.o
[ 92%] Building CXX object CMakeFiles/realsense2.dir/src/software-device.cpp.o
[ 92%] Building CXX object CMakeFiles/realsense2.dir/src/source.cpp.o
[ 93%] Building CXX object CMakeFiles/realsense2.dir/src/stream.cpp.o
[ 93%] Building CXX object CMakeFiles/realsense2.dir/src/sync.cpp.o
[ 94%] Building CXX object CMakeFiles/realsense2.dir/src/terminal-parser.cpp.o
[ 94%] Building CXX object CMakeFiles/realsense2.dir/src/types.cpp.o
[ 95%] Building C object CMakeFiles/realsense2.dir/src/verify.c.o
[ 96%] Building CXX object CMakeFiles/realsense2.dir/src/serialized-utilities.cpp.o
[ 96%] Building CXX object CMakeFiles/realsense2.dir/src/frame.cpp.o
[ 97%] Building CXX object CMakeFiles/realsense2.dir/src/points.cpp.o
[ 97%] Building CXX object CMakeFiles/realsense2.dir/src/to-string.cpp.o
[ 98%] Building C object CMakeFiles/realsense2.dir/third-party/sqlite/sqlite3.c.o
[ 98%] Building CXX object CMakeFiles/realsense2.dir/third-party/easyloggingpp/src/easylogging++.cc.o
[ 99%] Building CXX object CMakeFiles/realsense2.dir/common/utilities/time/l500/get-mfr-ww.cpp.o
[100%] Linking CXX shared library librealsense2.so
[100%] Built target realsense2

I note that the CMake command for building the SDK is:
cmake .. -DANDROID_ABI=<Application Binary Interface> -DCMAKE_TOOLCHAIN_FILE=<Path to NDK folder>/build/cmake/android.toolchain.cmake -DFORCE_LIBUVC=TRUE
It looks as though it is expected that the parts of the instructions in brackets like  and  are supposed to be replaced with the configuration details of your particular Android device and filepath.  Examples of configurations are provided at https://github.com/IntelRealSense/librealsense/issues/5831#issuecomment-585761960 and https://github.com/IntelRealSense/librealsense/issues/2061

Hi @qscesz19970810  Do you require further assistance with this case, please?  Thanks!

I tried it and it still doesn't work.
At android native_example,I see line 17 "private RsContext mRsContext;" and line 38 "RsContext.init(getApplicationContext());"
Can I be sure about the content of this step,It doesn't work when I'm missing this command
I'm wondering if I'm missing this step in my C++ program so it doesn't work.
"RsContext.init" <- Is there any replace command in c++? i saw context not have init() attributes

Yes, what I'm asking is if I run with an executable file(Just have C/C++ code)
Does not do this initialization have any effect?
If yes, do I have any replace command to use? Because C++ "rs::context: does not have the attribute of init().

The only kind of replace command that I know of in C++ is string replace.
https://www.javatpoint.com/cpp-string-replace-function
A RealSense team member advises at https://github.com/IntelRealSense/librealsense/issues/3385#issuecomment-469712895 that it is possible to build librealsense2.so for the current unrooted Android wrapper with CMake if a dedicated CMake flag is set   One of the developers of the Android wrapper provides further advice about permissions in that discussion at https://github.com/IntelRealSense/librealsense/issues/3385#issuecomment-481723287
The article at the link below may also be worth reading.
https://www.anycodings.com/1questions/1610107/building-librealsense-android-app-with-ndk-native-c-code-part
I do not know the answer to your questions about running with an executable file though, unfortunately.  I do apologize.

Thanks,my question is the UVC settings are not written.....i got that.
I'm not asking about string repalace XD