Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could NOT find protobuf (missing: protobuf_DIR) #5743

Open
alexuechao opened this issue Oct 17, 2024 · 2 comments
Open

Could NOT find protobuf (missing: protobuf_DIR) #5743

alexuechao opened this issue Oct 17, 2024 · 2 comments

Comments

@alexuechao
Copy link

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)

@nihui
Copy link
Member

nihui commented Oct 17, 2024

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

@alexuechao
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants