Ask Your Question

uncle_craper's profile - activity

2019-03-02 04:21:36 -0600 received badge  Supporter (source)
2019-03-02 04:18:31 -0600 marked best answer Unresolved externals cv::flip cv::imshow

Can not set OpenCV in VS 2017. What do I do wrong?

CODE:

 #include "opencv2/highgui/highgui.hpp"

    using namespace cv;

    void main() {
    Mat src;
    VideoCapture cap;
    cap.open(0);

    while (true)
    {
        cap >> src;
        flip(src, src, 2);
        imshow("dd", src);

        waitKey(0);
    }}

LIBS I included:

  • opencv_highgui401.lib
  • opencv_core401.lib
  • opencv_videoio401.lib

LIB DEPENDEICES:

  • C:\OpenCV\OpneCV_bin\install\x64\vc15\bin
  • C:\OpenCV\OpneCV_bin\install\x64\vc15\lib

ADDITIONAL INCLUDE DIRS

  • C:\OpenCV\OpneCV_bin\install\include
  • C:\OpenCV\opencv\build\include

AND still I have errors:

unresolved external symbol "void __cdecl cv::flip(class cv::debug_build_guard::_InputArray const &,class cv::debug_build_guard::_OutputArray const &,int)"

unresolved external symbol "void __cdecl cv::imshow(class std::basic_string,class std::allocator const &,class cv::debug_build_guard::_InputArray const &)"

What am I missing?

2019-03-02 04:18:31 -0600 received badge  Scholar (source)
2019-03-02 03:06:56 -0600 asked a question Unresolved externals cv::flip cv::imshow

Unresolved externals cv::flip cv::imshow Can not set OpenCV in VS 2017. What do I do wrong? CODE: #include "opencv2/h