mkdir build
cd build
cmake …/ -DBUILD_PYTHON_BINDINGS=bool:true
error info:
jetbot@nano:~/librealsense/wrappers/build$ cmake …/ -DBUILD_PYTHON_BINDINGS=bool:true
– The C compiler identification is GNU 7.4.0
– The CXX compiler identification is GNU 7.4.0
– Check for working C compiler: /usr/bin/cc
– Check for working C compiler: /usr/bin/cc – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Detecting C compile features
– Detecting C compile features - done
– Check for working CXX compiler: /usr/bin/c++
– Check for working CXX compiler: /usr/bin/c++ – works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Detecting CXX compile features
– Detecting CXX compile features - done
– Found PythonInterp: /usr/bin/python3.6 (found version “3.6.7”)
– Found PythonLibs: /usr/lib/aarch64-linux-gnu/libpython3.6m.so
– Performing Test HAS_CPP14_FLAG
– Performing Test HAS_CPP14_FLAG - Success
– pybind11 v2.2.1
– Performing Test HAS_FLTO
– Performing Test HAS_FLTO - Success
– LTO enabled
CMake Error at python/CMakeLists.txt:16 (set_target_properties):
set_target_properties called with incorrect number of arguments.
CMake Error at python/CMakeLists.txt:57 (if):
if given arguments:
"STREQUAL" "RS2_USE_V4L2_BACKEND"
Unknown arguments specified
– Configuring incomplete, errors occurred!
See also “/home/jetbot/librealsense/wrappers/build/CMakeFiles/CMakeOutput.log”.
How should l solve this probblem?