OS:Ubuntu20.04
Opencv:3.1.0
flatterbuffer:1.12.0
protobuf:3.11.0
gcc/g++:5.4.0
SDK:PROCESSOR-SDK-RTOS-J721E_08.00.00.12
When run the command "make TARGET_BUILD=debug TARGET_PLATFORM=PC",I encountered the problem first.
======== MAKING CUSTOM LIB =================
make -C ./ti_dl/custom -f makefile
make[1]: Entering directory '/root/workspace/ti-processor-sdk-rtos-j721e-evm-08_00_00_12/tidl_j7_08_00_00_10/ti_dl/custom'
compiling tidl_custom_maxpooling.c
In file included from tidl_custom_maxpooling.c:82:0:
tidsp/tidl_custom_maxpool_ixX_oxX.h:25:17: fatal error: c7x.h: No such file or directory
compilation terminated.
make[1]: *** [/root/workspace/ti-processor-sdk-rtos-j721e-evm-08_00_00_12/tidl_j7_08_00_00_10/makerules/rules.mk:465: /root/workspace/ti-processor-sdk-rtos-j721e-evm-08_00_00_12/tidl_j7_08_00_00_10/out/PC/dsp/algo/debug/ti_dl/custom/tidl_custom_maxpooling.obj] Error 1
make[1]: Leaving directory '/root/workspace/ti-processor-sdk-rtos-j721e-evm-08_00_00_12/tidl_j7_08_00_00_10/ti_dl/custom'
make: *** [makefile:333: custom] Error 2
I solved it by export a lot of paths. But get another error shows below.
======== MAKING CUSTOM LIB =================
make -C ./ti_dl/custom -f makefile
make[1]: Entering directory '/root/workspace/ti-processor-sdk-rtos-j721e-evm-08_00_00_12/tidl_j7_08_00_00_10/ti_dl/custom'
compiling tidl_custom_maxpooling.c
In file included from /root/workspace/ti-processor-sdk-rtos-j721e-evm-08_00_00_12/tidl_j7_08_00_00_10/../bios_6_83_02_07/packages/gnu/targets/arm/libs/install-native/aarch64-none-elf/include/sys/unistd.h:8:0,
from /root/workspace/ti-processor-sdk-rtos-j721e-evm-08_00_00_12/tidl_j7_08_00_00_10/../bios_6_83_02_07/packages/gnu/targets/arm/libs/install-native/aarch64-none-elf/include/unistd.h:4,
from /root/workspace/ti-processor-sdk-rtos-j721e-evm-08_00_00_12/tidl_j7_08_00_00_10/../bios_6_83_02_07/packages/gnu/targets/arm/libs/install-native/aarch64-none-elf/include/pthread.h:25,
from /usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h:35,
from /usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h:148,
from /usr/include/c++/5/ext/atomicity.h:35,
from /usr/include/c++/5/bits/basic_string.h:39,
from /usr/include/c++/5/string:52,
from /usr/include/c++/5/bitset:47,
from /root/workspace/ti-processor-sdk-rtos-j721e-evm-08_00_00_12/tidl_j7_08_00_00_10/../ti-cgt-c7000_1.4.2.LTS/host_emulation/include/C7100/ti_he_impl/vector.h:40,
from /root/workspace/ti-processor-sdk-rtos-j721e-evm-08_00_00_12/tidl_j7_08_00_00_10/../ti-cgt-c7000_1.4.2.LTS/host_emulation/include/C7100/c7x.h:74,
from tidsp/tidl_custom_maxpool_ixX_oxX.h:25,
from tidl_custom_maxpooling.c:82:
/root/workspace/ti-processor-sdk-rtos-j721e-evm-08_00_00_12/tidl_j7_08_00_00_10/../bios_6_83_02_07/packages/gnu/targets/arm/libs/install-native/aarch64-none-elf/include/_ansi.h:11:24: fatal error: sys/config.h: No such file or directory
compilation terminated.
make[1]: *** [/root/workspace/ti-processor-sdk-rtos-j721e-evm-08_00_00_12/tidl_j7_08_00_00_10/makerules/rules.mk:465: /root/workspace/ti-processor-sdk-rtos-j721e-evm-08_00_00_12/tidl_j7_08_00_00_10/out/PC/dsp/algo/debug/ti_dl/custom/tidl_custom_maxpooling.obj] Error 1
make[1]: Leaving directory '/root/workspace/ti-processor-sdk-rtos-j721e-evm-08_00_00_12/tidl_j7_08_00_00_10/ti_dl/custom'
make: *** [makefile:333: custom] Error 2