cs-make Error 1 in Sourcery CodeBench IDE (Bug #3398)
Description
Hello,
I'm new in Eclipse, I'm new in Linux and I'm new in OpenCV. I have to design project which uses OpenCV libraries.
In order to carry out this project, I want to develop my code in Sourcery CodeBench IDE (Eclipse) in Windows with OpenCV, build the project, and then copy the output file to my target board (this is Terra from ACME SYSTEMS http://www.acmesystems.it/terra)which contains a Linux embedded and run the code there.
Currently, I've installed the Sourcery CodeBench, in fact we paid the License, and now I try to build the typical example from OpenCV:
@@#include "cv.h"
#include "highgui.h"
using namespace cv;
int main( int argc, char** argv ) {
Mat image;
image = imread( argv[1], 1 );
if( argc != 2 || !image.data )
{
printf( "No image data \n" );
return -1;
}
namedWindow( "Display Image", CV_WINDOW_AUTOSIZE );
imshow( "Display Image", image );
waitKey(0);
return 0;
}@@
But I have 11 errors, there are 2 importants, and the other 9 I think they are result from the first two.
The first two are:
cs-make: *** [src/Prova3.o] Error 1
fatal error: opencv2/core/core_c.h: No such file or directory
I attach the screenshoot of it.
I suppose I have something misconfigured, but after search and search in google I don't find out what it is..
History
Updated by Victor Kocheganov over 11 years ago
Hello Roser!
Thank you for interest to OpenCV library.
I think this question better to ask on http://answers.opencv.org/questions/ forum. There are a lot of eager people, desiring to help somebody with any kind of question :-)
Best regards,
Victor.
- Status changed from New to Cancelled