未定义标识符 "CV_EVENT_LBUTTONDOWN"
时间: 2023-09-21 12:03:52 浏览: 182
在你提供的引用内容中,出现了一个关于"CV_EVENT_LBUTTONDOWN"标识符未定义的错误。这个错误的原因是在不同的OpenCV版本中,该标识符的名称发生了改变。在最新版本的OpenCV中,将该标识符更名为"EVENT_LBUTTONDOWN"。因此,你可以将所有的"CV_EVENT_LBUTTONDOWN"替换为"EVENT_LBUTTONDOWN"来解决这个问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [use of undeclared identifier ‘CV_EVENT_LBUTTONDOWN‘; did you mean ‘EVENT_LBUTTONDOWN‘?](https://blog.csdn.net/weixin_42156097/article/details/108919523)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *3* [CV_EVENT_LBUTTONDOWN未定义标识符报错](https://blog.csdn.net/qq_43207709/article/details/113541361)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文