Hi,
I want to use the TIDL API to import my model and test it.
THis is my setup till now.
- Downloaded TIDL API 01.05.01 from git.ti
- Downloaded AM57x SDK (ti-processor-sdk-linux-am57xx-evm-06.02.00.81)
The SDK got installed and then, I ran the `linux-devkit.sh` and it showed that the SDK was ready for use. I did no installation in the TIDL API and simply extracted it from 'tar'.
Now, when I try to make all the components of the API using the `makefile` in `tidl/tidl-api01.05.01` directory, I get the error
pradan@pradan-HP-15-Notebook-PC:~/tidl/tidl-api-01.05.01$ make make -C tidl_api make[1]: Entering directory '/home/pradan/tidl/tidl-api-01.05.01/tidl_api' make.inc:99: *** C++ cross-compiler arm-linux-gnueabihf-g++ not found. Set PSDK_LINUX to point to the target Linux PSDK for automatic configuration, set HOST_ROOTDIR to the x86_64 Linux devkit, or add the compiler bin directory to PATH.. Stop. make[1]: Leaving directory '/home/pradan/tidl/tidl-api-01.05.01/tidl_api' makefile:54: recipe for target 'build-api' failed make: *** [build-api] Error 2
PS: I have tried following the shell interrupts (as shown in above verbose). i.e., I did setup my environment variables using `export` command. I can verify that using the `printenv` commad. THis is what I see:
PSDK_LINUX=/home/pradan/ti-processor-sdk-linux-am57xx-evm-06.02.00.81 USERNAME=... ... PWD=/home/pradan/tidl/tidl-api-01.05.01 ... TARGET_ROOTDIR=/home/pradan/ti-processor-sdk-linux-am57xx-evm-06.02.00.81/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi/bin ... HOST_ROOTDIR=/home/pradan/ti-processor-sdk-linux-am57xx-evm-06.02.00.81/linux-devkit ... PATH=/home/pradan/ti-processor-sdk-linux-am57xx-evm-06.02.00.81/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi/bin:/home/pradan/ti-processor-sdk-linux-am57xx-evm-06.02.00.81/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/pradan/ti-processor-sdk-linux-am57xx-evm-06.02.00.81/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi/bin SESSION_MANAGER=local/pradan-HP-15-Notebook-PC:@/tmp/.ICE-unix/2300,unix/pradan-HP-15-Notebook-PC:/tmp/.ICE-unix/2300 LESSOPEN=| /usr/bin/lesspipe %s GTK_IM_MODULE=ibus _=/usr/bin/printenv
I don't why the makefile isn't able to build the API ? Also, can I get a better doc for it ? Please Help :(