# Module opencv\_dnn\_objdetect disabled because opencv\_dnn dependency can't be resolved!

**URL:** <https://forum.opencv.org/t/module-opencv-dnn-objdetect-disabled-because-opencv-dnn-dependency-cant-be-resolved/1200>\
**Category:** Uncategorized\
**Tags:** dnn, build, yocto\
**Created:** [January 29, 2021, 11:10am UTC](https://forum.opencv.org/t/module-opencv-dnn-objdetect-disabled-because-opencv-dnn-dependency-cant-be-resolved/1200 "2021-01-29T11:10:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xkx\_hn](https://avatars.discourse-cdn.com/v4/letter/x/a8b319/32.png) [@xkx\_hn](https://forum.opencv.org/u/xkx_hn)\
**Post date:** [January 29, 2021, 11:10am UTC](https://forum.opencv.org/t/module-opencv-dnn-objdetect-disabled-because-opencv-dnn-dependency-cant-be-resolved/1200/1 "2021-01-29T11:10:41Z")

</div>

Hi all,

I want to compiled the DNN module in openCV3.4.3, but build log remind me:  
Module opencv\_dnn\_objdetect disabled because opencv\_dnn dependency can’t be resolved!

This is the config for DNN in opencv\_3.4.3.bb:  
PACKAGECONFIG[dnn] = “-DBUILD\_opencv\_dnn=ON -DPROTOBUF\_UPDATE\_FILES=ON -DBUILD\_PROTOBUF=OFF,-DBUILD\_opencv\_dnn=OFF,protobuf protobuf-native,”

DNN append in opencv\_3.4.3.bbappend:  
PACKAGECONFIG\_append = “dnn”

What does “protobuf protobuf-native” mean?  
Please tell me how to provide dependencies for opencv\_dnn.

Thanks in advance.
