Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

need help debug with no error, but error on release

Hi all, i am need to openCV and i need some guidance.

I am on the path of learning through online youtubing, when i build the file in debugging, there is no error, but when i tried to build it in error, there is error.

The Error: 1>C:\opencv243\include\opencv\cv.h(63): fatal error C1083: Cannot open include file: 'opencv2/core/core_c.h': No such file or directory 1> 1>Build FAILED.

Program:

include <c:\opencv243\include\opencv\cv.h>

include <c:\opencv243\include\opencv\highgui.h>

using namespace cv;

int main(){

//create Matrix to store image

Mat image;

// initialize capture

VideoCapture cap; cap.open(0);

// create window to show image namedWindow(“window”, CV_WINDOW_AUTOSIZE); namedWindow("window",1); while(1){

// copy webcam stream to image

cap>>image;

// print image to screen imshow(“window”, image); imshow("window",image); // delay 33ms waitKey(33); waitKey(33);

}

return 0; }

Thank you very much if you can help me. I need to finish this for my final year project and till this period, i am still in a mist. i have tried ubuntu but i have no luck in it, so i jump visual studio as i am more familiar in this platform.

click to hide/show revision 2
No.2 Revision

need help debug with no error, but error on release

Hi all, i am need to openCV and i need some guidance.

I am on the path of learning through online youtubing, when i build the file in debugging, there is no error, but when i tried to build it in error, there is error.

The Error:

1>C:\opencv243\include\opencv\cv.h(63): fatal error C1083: Cannot open include file: 'opencv2/core/core_c.h': No such file or directory
1>
1>Build FAILED.

FAILED.

Program:

include <c:\opencv243\include\opencv\cv.h>

include <c:\opencv243\include\opencv\highgui.h>

#include <C:\opencv243\include\opencv\cv.h>
#include <C:\opencv243\include\opencv\highgui.h>

using namespace cv;

cv; int main(){

main() { //create Matrix to store image

image Mat image;

image; // initialize capture

capture VideoCapture cap; cap.open(0);

cap.open(0); // create window to show image namedWindow(“window”, CV_WINDOW_AUTOSIZE); namedWindow("window",1); while(1){

while(1) { // copy webcam stream to image

cap>>image;

image cap>>image; // print image to screen imshow(“window”, image); imshow("window",image); // delay 33ms waitKey(33); waitKey(33);

}

waitKey(33); } return 0; }

}

Thank you very much if you can help me. I need to finish this for my final year project and till this period, i am still in a mist. i have tried ubuntu but i have no luck in it, so i jump visual studio as i am more familiar in this platform.

click to hide/show revision 3
No.3 Revision

need help debug with no error, but error on release

Hi all, i am need to openCV and i need some guidance.

I am on the path of learning through online youtubing, when i build the file in debugging, there is no error, but when i tried to build it in error, release, there is error.

The Error:

1>C:\opencv243\include\opencv\cv.h(63): fatal error C1083: Cannot open include file: 'opencv2/core/core_c.h': No such file or directory
1>
1>Build FAILED.

Program:

#include <C:\opencv243\include\opencv\cv.h>
#include <C:\opencv243\include\opencv\highgui.h>

using namespace cv;

int main()
{
    //create Matrix to store image
    Mat image;

    // initialize capture

    VideoCapture cap;
    cap.open(0);

    // create window to show image namedWindow(“window”, CV_WINDOW_AUTOSIZE);
    namedWindow("window",1);
    while(1)
    {    
        // copy webcam stream to image

        cap>>image;

        // print image to screen imshow(“window”, image);
        imshow("window",image);

        // delay 33ms waitKey(33);
        waitKey(33);    
    }

    return 0; 
}

Thank you very much if you can help me. I need to finish this for my final year project and till this period, i am still in a mist. i have tried ubuntu but i have no luck in it, so i jump visual studio as i am more familiar in this platform.

click to hide/show revision 4
No.4 Revision

need help debug with no error, but error on release

Hi all, i am need to openCV and i need some guidance.

I am on the path of learning through online youtubing, when i build the file in debugging, there is no error, but when i tried to build it in release, there is error.

The Error:

1>C:\opencv243\include\opencv\cv.h(63): fatal error C1083: Cannot open include file: 'opencv2/core/core_c.h': No such file or directory
1>
1>Build FAILED.

Program:

#include <C:\opencv243\include\opencv\cv.h>
#include <C:\opencv243\include\opencv\highgui.h>

using namespace cv;

int main()
{
    //create Matrix to store image
    Mat image;
     // initialize capture
     VideoCapture cap;
    cap.open(0);
     // create window to show image namedWindow(“window”, CV_WINDOW_AUTOSIZE);
    namedWindow("window",1);
    while(1)
    {    
        // copy webcam stream to image
         cap>>image;
         // print image to screen imshow(“window”, image);
        imshow("window",image);
         // delay 33ms waitKey(33);
        waitKey(33);    
    }
     return 0; 
}

Thank you very much if you can help me. I need to finish this for my final year project and till this period, i am still in a mist. i have tried ubuntu Ubuntu but i have no luck in it, so i jump visual studio as i am more familiar in this platform.