Cannot find -lnn_detect

Facing this error while running model compile script (build_vx.sh)

khadas@Khadas:~/aml_npu_app/detect_library/inception$ ./build_vx.sh 
/usr/bin/ld: cannot find -lnn_detect
collect2: error: ld returned 1 exit status
make: *** [makefile.linux:64: bin_r_cv4/detect_inception] Error 1

@johndoe libnn_detect.so comefrom this dir aml_npu_app/detect_library/source_code.So you need to init this dir and build first.

Got it. I’m able to generate the bin_r_cv4 directory now. Shouldn’t I be getting a .so file as well?

@johndoe This is a different API. The executable code converted from this warehouse is not a library. You should check our documentation. Inception is an independent demo.

1 Like

Currently I’m following step 2, section 4.6 of “NN Tool FAQ (0.4)”. How should I proceed then?

@johndoe You can replace the compiled code to the inception directory, and the compiled code will become an executable file.

1 Like

Got you. I’m assuming rest of the steps would run fine as mentioned in the doc

Thanks @Frank