OpenCV 4 in Visual Studio 2018

0

I'm trying to use the OpenCV library in Visual Studio, however I get the following error message:

  

LINK: fatal error LNK1104: Can not open file   'opencv_calib3d400.lib'

The lib is in the C: \ opencv4 \ build \ lib \ Release location and I'm not using it.

Follow the print:

Simpleimplementationwithoutsyntaxerrorfollows:

OpenCV4.cpp

#include"pch.h"
#include <iostream>
#include <opencv2/core.hpp>
#include <opencv2/highgui.hpp>


int main()
{
    cv::String path = "C:/opencv4/OpenCV4VS2018/OpenCV4VS2018/xicara.jpg";
    cv::Mat src = cv::imread(path);
    cv::imshow("test", src);
    cv::waitKey(10000);
    return 0;
    // std::cout << "De quem é esse Jegue?!\n"; 
}
    
asked by anonymous 21.12.2018 / 05:44

0 answers