Unresolved external symbol with openCV

梦想的初衷 提交于 2019-12-25 01:56:22

问题


I'm trying to initialize OpenNI sensors using OpenCV in order to get depth map from depth sensor of my kinect.

The code I used to get one depth image:

and The output I get:

LNK2019: unresolved external symbol "int __cdelc cv::waitKey(int)" (?waitKey@cv@@YAHH@Z) reference in function _main

In the .pro file I have:

QT += widgets
WITH_OPENNI = ON

来源:https://stackoverflow.com/questions/16038602/unresolved-external-symbol-with-opencv

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!