Trying to compile the case code for a .onnx file I converted via the scripts, but compilation fails due to missing common.target file, which is apparently in the linux_sdk folder… which is not present in the current download. I would like to compile on Ubuntu Linux, please help or provide a download for a working version.
when running build_vx.sh:
makefile.linux:55: /common.target: No such file or directory
make: *** No rule to make target '/common.target'. Stop.
Unfortunately, I cannot share all of the info about the model. After running the three scripts, the case code was successfully generated and moved into its own folder. I then cloned the aml_npu_app repo from Khadas GitLab and tried to follow the guide here: https://docs.khadas.com/linux/vim3/ConvertToUseNPU.html
Rather than replacing individual files and trying to hack in support for the generated model, I copied all the relevant files from the generated case code into the yolo_v3 folder and attempted to compile, resulting in the error from my first post.
I then attempted to compile the yolo_v3 example from stock (undoing all my other changes first) and the same result - common.target not found. Since I’d like to compile for Linux rather than Android, the makefile.linux is trying to look for that file, which is not present in the current SDK.
How do I compile the generated case code for Linux? Alternatively, is there another way to run the generated .nb models on the VIM3 Pro without using this SDK? (must support multi-input models)
My current issue seems to be related to the presence of the $(AQROOT) variable, which is not present in the Ubuntu system nor in any of the files in either the SDK nor the aml_npu_app
@Omkar_Shende You can use the latest code and firmware. This problem was solved a long time ago. All demos are compiled locally now, you no longer need linux_sdk