unresolved external symbol error when importing libraries for OpenCV2.3 in Visual Studios 2010 Express C++

后端 未结 6 1566
自闭症患者
自闭症患者 2020-11-30 09:12

first time posting a question here to stackoverflow. Sorry if I butcher the formatting!

I am attempting to follow a basic tutorial on openCV, namely this one: http:/

6条回答
  •  情话喂你
    2020-11-30 10:02

    for me, this error got resolved by adding two lib name explicitly under input (configuration properties-->linker-->input-->additional dependencies).

    when you install opencv , based on version it will have a number appended to it. For example I have opencv2.4.13 and it has 2413 appended to all its libraries, opencv_highgui2413.lib (opencv_highgui2413d.lib for debug build ).

    Now,check which libraries have the functions that were shown in errors. highgui has cvshowimage function --> you can get this by searing it online. http://docs.opencv.org/2.4/modules/highgui/doc/user_interface.html

    Then add that lib to input and build your solution.

提交回复
热议问题