I had downloaded Loading... to vim3 board.
in the build_vx.sh under each example, how to set the VIVANTE_SDK_INC and VIVANTE_SDK_LIB variable?
It looks like I need to install aml SDK. can anyone tell me where to install those hdr and libs?
Thanks,
I had downloaded Loading... to vim3 board.
in the build_vx.sh under each example, how to set the VIVANTE_SDK_INC and VIVANTE_SDK_LIB variable?
It looks like I need to install aml SDK. can anyone tell me where to install those hdr and libs?
Thanks,
@Tiger You don’t need to install AML SDK
Frank,
Thanks for reply.
in my VIM3 board, executing build_vx.sh will fail. I cannot find /usr/share/npu/sdk directory in my environment.
So I am confused how to set right path in the build_vx.sh if not missing SDK.
export VIVANTE_SDK_INC=/usr/share/npu/sdk/include
export VIVANTE_SDK_LIB=/usr/lib
@Tiger Please upgrade your system to latest release OTA version .
khadas@Khadas:~$ ll /usr/share/npu/sdk/include
total 20
drwxrwxr-x 5 khadas khadas 4096 Jun 8 05:55 ./
drwxrwxr-x 6 khadas khadas 4096 Jun 8 05:55 ../
drwxrwxr-x 2 khadas khadas 4096 Jun 8 05:55 CL/
drwxrwxr-x 3 khadas khadas 4096 Jun 8 05:55 HAL/
drwxrwxr-x 2 khadas khadas 4096 Jun 8 05:55 VX/
khadas@Khadas:~$
OK
Let me check how to do OTA upgrade.
I remember I install the system last week, and kernel is 5.12.0 already.
Thanks,
@Tiger Mainline firmware not support NPU , if you need to use NPU, Please use 4.9 kernel firmware.
draw_results(cv::Mat&, _DetectResult, int, int, det_model_type)': main.cpp:(.text+0x700): undefined reference to
cv::rectangle(cv::InputOutputArray const&, cv::Rect, cv::Scalar_ const&, int, int, int)’cv::getTextSize(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, double, int, int*)' /usr/bin/ld: main.cpp:(.text+0x858): undefined reference to
cv::rectangle(cv::InputOutputArray const&, cv::Rect, cv::Scalar_ const&, int, int, int)’Any idea about this this error?
Thanks,
@Tiger Do you upgrade to least OTA version ? And don’t do any modifiy with souce code
yes. update to May 20 version. build is ok now.