-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Labels
question (invalid tracker)ask questions and other "no action" items here: https://forum.opencv.org/ask questions and other "no action" items here: https://forum.opencv.org/
Description
Hello,
I am building opencv_contrib dnn module. But in cmake command getting below error.
You have called ADD_LIBRARY for library libprotobuf without any source files. This typically indicates a problem with your CMakeLists.txt file
-- Performing Test HAVE_CXX_WNO_ENUM_COMPARE
-- Performing Test HAVE_CXX_WNO_ENUM_COMPARE - Success
CMake Error: CMake can not determine linker language for target: libprotobuf
CMake Error in opencv_contrib/modules/dnn/3rdparty/protobuf/CMakeLists.txt:
Exporting the target "libprotobuf" is not allowed since its linker language
cannot be determined
CMake Error: CMake can not determine linker language for target: libprotobuf
CMake Error in opencv_contrib/modules/dnn/3rdparty/protobuf/CMakeLists.txt:
Exporting the target "libprotobuf" is not allowed since its linker language
cannot be determined
If I disable dnn then cmake command is successful.
Metadata
Metadata
Assignees
Labels
question (invalid tracker)ask questions and other "no action" items here: https://forum.opencv.org/ask questions and other "no action" items here: https://forum.opencv.org/