Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

fatal error LNK1181: cannot open input file 'opencv_world311.lib'

Hi,

I have followed the official tutorial by OpenCV regarding installing 3.0.0 with VS13 and trying to make my OpenCV 3.3.1 work but no luck, looked for 2 hours for a remedy, followed tons of tutorials but I keep getting the same error. I am using VS13 and Windows 10 64 bit.

fatal error LNK1181: cannot open input file 'opencv_world311.lib'

Before you ask: yes, I have added

C:\opencv\build\x64\vc14\bin

to my PATH. If that is the only thing to do there, this should be fine. (Haven't add anything to user variables, FYI)

fatal error LNK1181: cannot open input file 'opencv_world311.lib'

Hi,

I have followed the official this tutorial by OpenCV regarding installing 3.0.0 with VS13 and trying to make my OpenCV 3.3.1 work but no luck, looked for 2 hours for a remedy, followed tons of tutorials but I keep getting the same error. I am using VS13 and Windows 10 64 bit.

fatal error LNK1181: cannot open input file 'opencv_world311.lib'

Before you ask: yes, I have added

C:\opencv\build\x64\vc14\bin

to my PATH. If that is the only thing to do there, this should be fine. (Haven't add anything to user variables, FYI)

fatal error LNK1181: cannot open input file 'opencv_world311.lib'

Hi,

I have followed this tutorial by OpenCV regarding installing 3.0.0 with VS13 and trying to make my OpenCV 3.3.1 work but no luck, looked for 2 hours for a remedy, followed tons of tutorials but I keep getting the same error. I am using VS13 and Windows 10 64 bit.bit.

fatal error LNK1181: cannot open input file 'opencv_world311.lib'

Before you ask: yes, I have added

C:\opencv\build\x64\vc14\bin

to my PATH. If that is the only thing to do there, this should be fine. (Haven't add anything to user variables, FYI)

fatal error LNK1181: cannot open input file 'opencv_world311.lib'

Hi,

I have followed this tutorial by OpenCV regarding installing 3.0.0 with VS13 and trying to make my OpenCV 3.3.1 work but no luck, looked for 2 hours for a remedy, followed tons of tutorials but I keep getting the same error. I am using VS13 and Windows 10 64 bit.

fatal error LNK1181: cannot open input file 'opencv_world311.lib'

Before you ask: yes, I have added

C:\opencv\build\x64\vc14\bin

to my PATH. If that is the only thing to do there, this should be fine. (Haven't add anything to user variables, FYI)

fatal error LNK1181: cannot open input file 'opencv_world311.lib'

Hi,

I have followed this tutorial regarding installing OpenCV 3.0.0 with VS13 and I am trying to make my OpenCV 3.3.1 work but no luck, looked for 2 hours for a remedy, followed tons of tutorials but I keep getting the same error. I am using VS13 and Windows 10 64 bit.

fatal error LNK1181: cannot open input file 'opencv_world311.lib'

Before you ask: yes, I have added

C:\opencv\build\x64\vc14\bin

to my PATH. If that is the only thing to do there, this should be fine. (Haven't add anything to user variables, FYI)

fatal error LNK1181: cannot open input file 'opencv_world311.lib'

Hi,

I have followed this tutorial regarding installing OpenCV 3.0.0 with VS13 and I am trying to make my OpenCV 3.3.1 work but no luck, looked for 2 hours for a remedy, followed tons of tutorials but I keep getting the same error. I am using VS13 and Windows 10 64 bit.

fatal error LNK1181: cannot open input file 'opencv_world311.lib'

Before you ask: yes, I have added

C:\opencv\build\x64\vc14\bin

to my PATH. If that is the only thing to do there, this should be fine. (Haven't add added anything to user variables, FYI)

fatal error LNK1181: cannot open input file 'opencv_world311.lib'

Hi,

I have followed this tutorial regarding installing OpenCV 3.0.0 with VS13 and I am trying to make my OpenCV 3.3.1 work but no luck, looked for 2 hours for a remedy, followed tons of tutorials but I keep getting the same error. I am using VS13 and Windows 10 64 bit.

fatal error LNK1181: cannot open input file 'opencv_world311.lib'

Before you ask: yes, I have added

C:\opencv\build\x64\vc14\bin

to my PATH. If that is the only thing to do there, this should be fine. (Haven't added anything to user variables, FYI)

UPDATE!

So I built everything from the source which I got from official Github page of OpenCV. I used CMAKE and VS to build and install. No error here at all.

Then, I set the following as it was in every tutorial:

image description image description image description

And finally, this is the piece of code I am trying to build (yes, I need GPU support):

#include <iostream>
#include "opencv2/opencv.hpp"
#include "opencv2/gpu/gpu.hpp"

int main(int argc, char* argv[])
{
    try
    {
        cv::Mat src_host = cv::imread("hdd.png", CV_LOAD_IMAGE_GRAYSCALE);
        cv::gpu::GpuMat dst, src;
        src.upload(src_host);

        cv::gpu::threshold(src, dst, 128.0, 255.0, CV_THRESH_BINARY);

        cv::Mat result_host;
        dst.download(result_host);

        cv::imshow("Result", result_host);
        cv::waitKey();
    }
    catch (const cv::Exception& ex)
    {
        std::cout << "Error: " << ex.what() << std::endl;
    }
    return 0;
}

And this time getting:

fatal error C1083: Cannot open include file: 'opencv2/opencv_modules.hpp': No such file or directory

fatal error LNK1181: cannot open input file 'opencv_world311.lib'

Hi,

I have followed this tutorial regarding installing OpenCV 3.0.0 with VS13 and I am trying to make my OpenCV 3.3.1 work but no luck, looked for 2 hours for a remedy, followed tons of tutorials but I keep getting the same error. I am using VS13 and Windows 10 64 bit.

fatal error LNK1181: cannot open input file 'opencv_world311.lib'

Before you ask: yes, I have added

C:\opencv\build\x64\vc14\bin

to my PATH. If that is the only thing to do there, this should be fine. (Haven't added anything to user variables, FYI)

UPDATE!

So I built everything from the source which I got from official Github page of OpenCV. I used CMAKE and VS to build and install. No error here at all.

all.

I added the following to my environment variable and PATH, respectively:

C:\opencv\build\install\x64\vc12
%OPENCV_DIR%/bin

Then, I set the following as it was in every tutorial:

image description image description image description

And finally, this is the piece of code I am trying to build (yes, I need GPU support):

#include <iostream>
#include "opencv2/opencv.hpp"
#include "opencv2/gpu/gpu.hpp"

int main(int argc, char* argv[])
{
    try
    {
        cv::Mat src_host = cv::imread("hdd.png", CV_LOAD_IMAGE_GRAYSCALE);
        cv::gpu::GpuMat dst, src;
        src.upload(src_host);

        cv::gpu::threshold(src, dst, 128.0, 255.0, CV_THRESH_BINARY);

        cv::Mat result_host;
        dst.download(result_host);

        cv::imshow("Result", result_host);
        cv::waitKey();
    }
    catch (const cv::Exception& ex)
    {
        std::cout << "Error: " << ex.what() << std::endl;
    }
    return 0;
}

And this time getting:

fatal error C1083: Cannot open include file: 'opencv2/opencv_modules.hpp': No such file or directory

fatal error LNK1181: cannot open input file 'opencv_world311.lib'

Hi,

I have followed this tutorial regarding installing OpenCV 3.0.0 with VS13 and I am trying to make my OpenCV 3.3.1 work but no luck, looked for 2 hours for a remedy, followed tons of tutorials but I keep getting the same error. I am using VS13 and Windows 10 64 bit.

fatal error LNK1181: cannot open input file 'opencv_world311.lib'

Before you ask: yes, I have added

C:\opencv\build\x64\vc14\bin

to my PATH. If that is the only thing to do there, this should be fine. (Haven't added anything to user variables, FYI)

UPDATE!

So I built everything from the source which I got from official Github page of OpenCV. I used CMAKE and VS to build and install. No error here at all.

I added the following to my environment variable and PATH, respectively:

C:\opencv\build\install\x64\vc12
%OPENCV_DIR%/bin

Then, I set the following as it was in every tutorial:

image description image description image description

And finally, this is the piece of code I am trying to build (yes, I need GPU support):

#include <iostream>
#include "opencv2/opencv.hpp"
#include "opencv2/gpu/gpu.hpp"

int main(int argc, char* argv[])
{
    try
    {
        cv::Mat src_host = cv::imread("hdd.png", CV_LOAD_IMAGE_GRAYSCALE);
        cv::gpu::GpuMat dst, src;
        src.upload(src_host);

        cv::gpu::threshold(src, dst, 128.0, 255.0, CV_THRESH_BINARY);

        cv::Mat result_host;
        dst.download(result_host);

        cv::imshow("Result", result_host);
        cv::waitKey();
    }
    catch (const cv::Exception& ex)
    {
        std::cout << "Error: " << ex.what() << std::endl;
    }
    return 0;
}

And this time getting:

fatal error C1083: Cannot open include file: 'opencv2/opencv_modules.hpp': No such file or directory

fatal error LNK1181: cannot open input file 'opencv_world311.lib'

Hi,

I have followed this tutorial regarding installing OpenCV 3.0.0 with VS13 and I am trying to make my OpenCV 3.3.1 work but no luck, looked for 2 hours for a remedy, followed tons of tutorials but I keep getting the same error. I am using VS13 and Windows 10 64 bit.

fatal error LNK1181: cannot open input file 'opencv_world311.lib'

Before you ask: yes, I have added

C:\opencv\build\x64\vc14\bin

to my PATH. If that is the only thing to do there, this should be fine. (Haven't added anything to user variables, FYI)

UPDATE!

So I built everything from the source which I got from official Github page of OpenCV. I used CMAKE and VS to build and install. No error here at all.

I added the following to my environment variable and PATH, respectively:

C:\opencv\build\install\x64\vc12
%OPENCV_DIR%/bin

Then, I set the following as it was in every tutorial:

image description image description image description

And finally, this is the piece of code I am trying to build (yes, I need GPU support):

#include <iostream>
#include "opencv2/opencv.hpp"
#include "opencv2/gpu/gpu.hpp"

int main(int argc, char* argv[])
{
    try
    {
        cv::Mat src_host = cv::imread("hdd.png", CV_LOAD_IMAGE_GRAYSCALE);
        cv::gpu::GpuMat dst, src;
        src.upload(src_host);

        cv::gpu::threshold(src, dst, 128.0, 255.0, CV_THRESH_BINARY);

        cv::Mat result_host;
        dst.download(result_host);

        cv::imshow("Result", result_host);
        cv::waitKey();
    }
    catch (const cv::Exception& ex)
    {
        std::cout << "Error: " << ex.what() << std::endl;
    }
    return 0;
}

And this time getting:

fatal error C1083: Cannot open include file: 'opencv2/opencv_modules.hpp': No such file or directory
click to hide/show revision 11
retagged

updated 2017-12-20 12:42:44 -0600

berak gravatar image

fatal error LNK1181: cannot open input file 'opencv_world311.lib'

Hi,

I have followed this tutorial regarding installing OpenCV 3.0.0 with VS13 and I am trying to make my OpenCV 3.3.1 work but no luck, looked for 2 hours for a remedy, followed tons of tutorials but I keep getting the same error. I am using VS13 and Windows 10 64 bit.

fatal error LNK1181: cannot open input file 'opencv_world311.lib'

Before you ask: yes, I have added

C:\opencv\build\x64\vc14\bin

to my PATH. If that is the only thing to do there, this should be fine. (Haven't added anything to user variables, FYI)

UPDATE!

So I built everything from the source which I got from official Github page of OpenCV. I used CMAKE and VS to build and install. No error here at all.

I added the following to my environment variable and PATH, respectively:

C:\opencv\build\install\x64\vc12
%OPENCV_DIR%/bin

Then, I set the following as it was in every tutorial:

image description image description image description

And finally, this is the piece of code I am trying to build (yes, I need GPU support):

#include <iostream>
#include "opencv2/opencv.hpp"
#include "opencv2/gpu/gpu.hpp"

int main(int argc, char* argv[])
{
    try
    {
        cv::Mat src_host = cv::imread("hdd.png", CV_LOAD_IMAGE_GRAYSCALE);
        cv::gpu::GpuMat dst, src;
        src.upload(src_host);

        cv::gpu::threshold(src, dst, 128.0, 255.0, CV_THRESH_BINARY);

        cv::Mat result_host;
        dst.download(result_host);

        cv::imshow("Result", result_host);
        cv::waitKey();
    }
    catch (const cv::Exception& ex)
    {
        std::cout << "Error: " << ex.what() << std::endl;
    }
    return 0;
}

And this time getting:

fatal error C1083: Cannot open include file: 'opencv2/opencv_modules.hpp': No such file or directory