ncnn icon indicating copy to clipboard operation
ncnn copied to clipboard

Could NOT find protobuf (missing: protobuf_DIR)

Open alexuechao opened this issue 1 year ago • 3 comments

detail | 详细描述 | 詳細な説明

-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE -- OpenCV library: /usr -- version: 4.2.0 -- libraries: opencv_core;opencv_highgui;opencv_imgproc;opencv_imgcodecs;opencv_videoio -- include path: /usr/include/opencv4 -- Could NOT find protobuf (missing: protobuf_DIR) -- Found Protobuf: /usr/local/lib/libprotobuf.so;-pthread (found version "3.20.0") -- Could NOT find protobuf (missing: protobuf_DIR) -- Configuring done -- Generating done

when I cmake .. , meet this error ,Could NOT find protobuf (missing: protobuf_DIR)

alexuechao avatar Oct 17 '24 02:10 alexuechao

the build system will try looking for protobuf with protobuf_DIR first, then the system-wide protobuf the error message is expected

nihui avatar Oct 17 '24 02:10 nihui

It means I can directly run make without worrying about this error? thanks

alexuechao avatar Oct 17 '24 03:10 alexuechao

thanks @nihui you something cleared up for me

enes-vural avatar May 12 '25 18:05 enes-vural