cannot find ncnn

0md85ypi  于 2022-10-22  发布在  其他
关注(0)|答案(1)|浏览(241)

i install ncnn
(base) chenxin@Nitro-AN515:~/Downloads/ncnn/examples$ ../build/examples/squeezenet ../images/256-ncnn.png
[0 Intel(R) UHD Graphics 630 (CFL GT2)] queueC=0[1] queueG=0[1] queueT=0[1]
[0 Intel(R) UHD Graphics 630 (CFL GT2)] bugsbn1=0 bugbilz=0 bugcopc=0 bugihfa=0
[0 Intel(R) UHD Graphics 630 (CFL GT2)] fp16-p/s/a=1/1/1 int8-p/s/a=1/1/1
[0 Intel(R) UHD Graphics 630 (CFL GT2)] subgroup=32 basic=1 vote=1 ballot=1 shuffle=1
532 = 0.165405
920 = 0.095764
716 = 0.060852

find ncnn library

find_package(ncnn REQUIRED)

-- Could NOT find NCNN (missing: NCNN_INCLUDE_DIR NCNN_LIBRARY)

ff29svar

ff29svar1#

Did you forget to install ncnn? Use make install to install. Before that you may need to run cmake command cmake -DCMAKE_INSTALL_PREFIX=/usr/local .. or open build/cmake_install.cmake and change line 5 to set(CMAKE_INSTALL_PREFIX "/usr/local") if you want to install ncnn into your system path.
You can also refer to use-ncnn-with-own-project .

相关问题