RE: Some missing header files (Bug #3397)
Description
Hello
Thank you for helping me with my last issue, as I was able to successfully generate the libraries and set up my development environment. But now when I try to compile a simple test file, I get an error "../../../../../opencv/build/include/stdlib.h:10:28: fatal error: machine/ieeefp.h: No such file or directory"
I checked and ieeefp.h seems to be a core library in the compiler. I am using MinGW to compile the file, which is what I generated a make file for in CMake. But it seems that MinGW doesn't have that particular header file. I appreciate your help. Please see the code for my test file below
#include "opencv2/highgui/highgui.hpp"
#include <iostream>
using namespace cv;
using namespace std;
int main(int argc, char** argv)
{
Mat im = imread(argc == 2 ? argv1 : "lena.jpg", 1);
if (im.empty())
{
cout << "Cannot open image!" << endl;
return -1;
}
imshow("image", im);
waitKey(0);
return 0;
}
Associated revisions
Merge pull request #3397 from ElenaGvozdeva:ocl_WarpAffine_test
History
Updated by Victor Kocheganov over 11 years ago
Hello, Dan!
You are always welcome by the community :-)
Basing on the pull request https://github.com/Itseez/opencv/pull/1821 mentioned in your previous ticket, may be you have your suggestion on the fix? That would be great and highly appreciated!
Thank you in advance,
Victor.
- Assignee set to Roman Donchenko
- Category set to build/install
Updated by Victor Kocheganov over 11 years ago
- Status changed from New to Open
Updated by Roman Donchenko over 11 years ago
Why is there an stdlib.h
in what I assume to be your OpenCV build directory? OpenCV does not put it there.
- Status changed from Open to Incomplete
Updated by Alexander Smorkalov over 11 years ago
stdlib.h is a part of GCC compiler distribution. It is not OpenCV related issue. I cancel the ticket.
- Status changed from Incomplete to Cancelled