Hello guys. I’m using Vim3 for 1 year, I bought a new one and decided to everythong as before from instructions. But this time I always get a error while running the command make -j4
What happend?
I have an idea that something in A311D or TIM-VX repo have changed, but why you can’t renew the instructions for source compilation?
The scrin:
The links:
1)https://github.com/OAID/Tengine/blob/tengine-lite/doc/docs_en/source_compile/compile_timvx.md
2)Tengine on VIM3
btw, im using khadas vim3 pro 1.5
Found the solution:
git clone https://github.com/VeriSilicon/TIM-VX.git
cd TIM-VX && git checkout 68b5acb && cd ..
git clone https://github.com/OAID/Tengine.git tengine-lite
wget -c https://github.com/VeriSilicon/TIM-VX/releases/download/v1.1.28/aarch64_A311D_D312513_A294074_R311680_T312233_O312045.tgz
tar zxvf aarch64_A311D_D312513_A294074_R311680_T312233_O312045.tgz
mv aarch64_A311D_D312513_A294074_R311680_T312233_O312045 prebuild-sdk-a311d
cd tengine-lite/
mkdir -p ./3rdparty/tim-vx/lib/aarch64
mkdir -p ./3rdparty/tim-vx/include
cp -rf ../TIM-VX/include/* ./3rdparty/tim-vx/include/
cp -rf ../TIM-VX/src ./source/device/tim-vx/
cp -rf ../prebuild-sdk-a311d/include/* ./3rdparty/tim-vx/include/
cp -rf ../prebuild-sdk-a311d/lib/* ./3rdparty/tim-vx/lib/aarch64/
rm ./source/device/tim-vx/src/tim/vx/*_test.cc
mkdir build && cd build
cmake -DTENGINE_ENABLE_TIM_VX=ON ..
make -j4
I lost the part with checkout:
cd TIM-VX && git checkout 68b5acb && cd ..