Well does the file "c:/Dev-Cpp/OpenCV/otherlib/highgui/highgui.h" exist or
not!? (The answer is no by the way). Find the file, and modify the path
accordingly.
Always post the log from the Compile Log" tab, not the "Compiler" tab - that
filters out important diagnostic information. And use code tag mark-up for
code.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Always post the log from the Compile Log" tab, not the "Compiler" tab - that
filters out important diagnostic information. And use code tag mark-up for
code.
I am trying to rund an example from the boo "Learning Open CV" by Bradski.
I have down loaded the library and other files under c:/Dev-C++/OpenCV.
I am trying to run the following file:
include <c:/Dev-Cpp/OpenCV/otherlib/highgui/highgui.h>
int main( int argc, char* argv ) {
IplImage img = cvLoadImage( argv[1] );
cvNamedWindow( “Example1”, CV_WINDOW_AUTOSIZE );
cvShowImage( “Example1”, img );
cvWaitKey(0);
cvReleaseImage( &img );
cvDestroyWindow( “Example1” );
}
I get the following error :
56 C:\Dev-Cpp\My Programs\Image load.cpp:1
c:/Dev-Cpp/OpenCV/otherlib/highgui/highgui.h: No such file or directory.
I am running version 4.9.8.0 on windows XP
Why don't you add C:\Dev-Cpp\OpenCV\otherlib as a directory to search for
headers?
The reason, by the way, is angled brackets <> only search within given header
directories. Use quotes "":
Well does the file "c:/Dev-Cpp/OpenCV/otherlib/highgui/highgui.h" exist or
not!? (The answer is no by the way). Find the file, and modify the path
accordingly.
Always post the log from the Compile Log" tab, not the "Compiler" tab - that
filters out important diagnostic information. And use code tag mark-up for
code.
hi,
Always post the log from the Compile Log" tab, not the "Compiler" tab - that
filters out important diagnostic information. And use code tag mark-up for
code.
regards,
phe9oxis,
http://www.guidebuddha.com