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)
1条答案
按热度按时间ff29svar1#
Did you forget to install ncnn? Use
make install
to install. Before that you may need to run cmake commandcmake -DCMAKE_INSTALL_PREFIX=/usr/local ..
or openbuild/cmake_install.cmake
and change line 5 toset(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 .