-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
Closed
Description
System information (version)
- OpenCV => 3.2 master (fdba548)
- Operating System / Platform => OSX El Capitain 10.11.6 (15G1421)
- Compiler => Xcode Version 8.1 (8B62)
Detailed description
Java wrappers are not generated for dnn module. Enabling java for dnn leads to compilation errors related to the following issues:
- Google protobuf library headers are not visible to java cmake scripts so building dnn with java leads to errors like below:
fatal error: google/protobuf/stubs/common.h: No such file or directory
compilation terminated.
-
Some constants are defined using cross-references to constants in other namespace, which is not interpreted properly by java generator. Example:
CONST DataType_INT_MIN_SENTINEL_DO_NOT_USE_=::google::protobuf::kint32min -
CMake generates a lot of warnings when building dnn with java support. These warnings are harmless (ex non-used variable in protobuf headers) and can be skipped to ensure clean logs
Steps to reproduce
- Enable contrib modules
- Enable java wrappers generation for dnn module
- build opencv
Reactions are currently unavailable