I am trying to make the pyarmnn using this(https://developer.arm.com/documentation/102107/latest) guide
but unfortunately i get the following error when building armnn. I have used armnn and compute library 20.05 as guide says
-- Adding object library dependency to UnitTests: armnnNeonBackendUnitTests
-- Adding object library dependency to UnitTests: armnnRefBackendUnitTests
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
PROTOBUF_INCLUDE_DIRS
used as include directory in directory /home/pi/armnn-tflite/armnn
used as include directory in directory /home/pi/armnn-tflite/armnn
used as include directory in directory /home/pi/armnn-tflite/armnn
used as include directory in directory /home/pi/armnn-tflite/armnn
I used following command for make
cmake .. -DARMCOMPUTE_ROOT=$BASEDIR/ComputeLibrary -DARMCOMPUTE_BUILD_DIR=$BASEDIR/ComputeLibrary/build -DBOOST_ROOT=$BASEDIR/boost -DTF_GENERATED_SOURCES=$BASEDIR/tensorflow-protobuf -DPROTOBUF_ROOT=$BASEDIR/protobuf -DBUILD_TF_LITE_PARSER=1 -DTF_LITE_GENERATED_PATH=$BASEDIR/tensorflow/tensorflow/lite/schema -DFLATBUFFERS_ROOT=$BASEDIR/flatbuffers -DFLATBUFFERS_LIBRARY=$BASEDIR/flatbuffers/libflatbuffers.a -DSAMPLE_DYNAMIC_BACKEND=1 -DDYNAMIC_BACKEND_PATHS=$BASEDIR/armnn/src/dynamic/sample -DARMCOMPUTENEON=1 -DBUILD_TF_PARSER=1
I am trying to make the pyarmnn using this(https://developer.arm.com/documentation/102107/latest) guide but unfortunately i get the following error when building armnn. I have used armnn and compute library 20.05 as guide says
-- Adding object library dependency to UnitTests: armnnNeonBackendUnitTests -- Adding object library dependency to UnitTests: armnnRefBackendUnitTests CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: PROTOBUF_INCLUDE_DIRS used as include directory in directory /home/pi/armnn-tflite/armnn used as include directory in directory /home/pi/armnn-tflite/armnn used as include directory in directory /home/pi/armnn-tflite/armnn used as include directory in directory /home/pi/armnn-tflite/armnn
I used following command for make cmake .. -DARMCOMPUTE_ROOT=$BASEDIR/ComputeLibrary -DARMCOMPUTE_BUILD_DIR=$BASEDIR/ComputeLibrary/build -DBOOST_ROOT=$BASEDIR/boost -DTF_GENERATED_SOURCES=$BASEDIR/tensorflow-protobuf -DPROTOBUF_ROOT=$BASEDIR/protobuf -DBUILD_TF_LITE_PARSER=1 -DTF_LITE_GENERATED_PATH=$BASEDIR/tensorflow/tensorflow/lite/schema -DFLATBUFFERS_ROOT=$BASEDIR/flatbuffers -DFLATBUFFERS_LIBRARY=$BASEDIR/flatbuffers/libflatbuffers.a -DSAMPLE_DYNAMIC_BACKEND=1 -DDYNAMIC_BACKEND_PATHS=$BASEDIR/armnn/src/dynamic/sample -DARMCOMPUTENEON=1 -DBUILD_TF_PARSER=1