Hi,
I have changed the .cpp code in tidlModelImport folder , rebuilding the import.out by make in this folder "psdk_rtos_auto_j7_06_01_00_15/tidl_j7_01_00_00_00/ti_dl/utils/tidlModelImport".
The error message is given as below:
make -f makefile_lib
make[1]: Entering directory '/home/tda4dev/psdk_rtos_auto_j7_06_01_00_15/tidl_j7_01_00_00_00/ti_dl/utils/tidlModelImport'
compiling ../tfImport/proto_cc/tensorflow/core/framework/device_attributes.pb.cc
In file included from ../tfImport/proto_cc/tensorflow/core/framework/device_attributes.pb.cc:4:0:
../tfImport/proto_cc/tensorflow/core/framework/device_attributes.pb.h:12:2: error: #error This file was generated by a newer version of protoc which is
#error This file was generated by a newer version of protoc which is
^~~~~
../tfImport/proto_cc/tensorflow/core/framework/device_attributes.pb.h:13:2: error: #error incompatible with your Protocol Buffer headers. Please update
#error incompatible with your Protocol Buffer headers. Please update
^~~~~
../tfImport/proto_cc/tensorflow/core/framework/device_attributes.pb.h:14:2: error: #error your headers.
#error your headers.
^~~~~
In file included from ../tfImport/proto_cc/tensorflow/core/framework/device_attributes.pb.cc:4:0:
../tfImport/proto_cc/tensorflow/core/framework/device_attributes.pb.h:25:10: fatal error: google/protobuf/generated_message_table_driven.h: No such file or directory
#include <google/protobuf/generated_message_table_driven.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
/home/tda4dev/psdk_rtos_auto_j7_06_01_00_15/tidl_j7_01_00_00_00/makerules/rules.mk:499: recipe for target '/home/tda4dev/psdk_rtos_auto_j7_06_01_00_15/tidl_j7_01_00_00_00/out/PC/dsp/algo/release/ti_dl/utils/tidlModelImport/../tfImport/proto_cc/tensorflow/core/framework/device_attributes.pb.obj' failed
make[1]: *** [/home/tda4dev/psdk_rtos_auto_j7_06_01_00_15/tidl_j7_01_00_00_00/out/PC/dsp/algo/release/ti_dl/utils/tidlModelImport/../tfImport/proto_cc/tensorflow/core/framework/device_attributes.pb.obj] Error 1
make[1]: Leaving directory '/home/tda4dev/psdk_rtos_auto_j7_06_01_00_15/tidl_j7_01_00_00_00/ti_dl/utils/tidlModelImport'
makefile:71: recipe for target 'all' failed
make: *** [all] Error 2