opencv_highgui.lib(window_w32.obj) : error LNK2019: unresolved external symbol __imp__CreateToolbarE

原因:缺少windows依赖库:comctl32.lib

1、项目-—>属性-—>链接器-—>输入-—>附加依赖项:填写附加依赖库 comctl32.lib 回车或分号间隔多项

2、项目-—>属性-—>链接器-—>常规-—>附加库目录:填写附加依赖库所在目录  

posted @ 2022-03-12 22:05  xiaomodecnblogs  阅读(24)  评论(0编辑  收藏  举报