gcc46 missing header required for ARM (Bug #1547)
Description
This missing header was not experienced on x86 but only on ARM for now.
This is because of expl usage that requires <math.h>
Successful build for armv5tel and arm7hl:
http://arm.koji.fedoraproject.org/koji/buildinfo?buildID=43180
diff up OpenCV-2.2.0/modules/ml/src/gbt.cpp.gcc46 OpenCV-2.2.0/modules/ml/src/gbt.cpp OpenCV-2.2.0/modules/ml/src/gbt.cpp.gcc46 2010-12-05 04:35:25.000000000 0100
--
++ OpenCV-2.2.0/modules/ml/src/gbt.cpp 2012-01-13 10:35:49.724487556 0100@ -1,6 +1,7
@
^M
#include "precomp.hpp"^M
#include <string>^M
#include <math.h>^M
#include <time.h>^M
^M
using namespace std;^M
Associated revisions
Merge pull request #1547 from SpecLad:gtest-1.7
History
Updated by Andrey Kamaev about 13 years ago
Thanks for reporting, but building OpenCV 2.2 for ARM is not supported. Please upgrade to 2.3 or newer.
Regarding your error:- expl was removed from gbt.cpp about a year ago.
- math.h should be already included into the gbt.cpp due to the following include chain:
#include "precomp.hpp" -> #include "opencv2/core/core_c.h" -> #include "opencv2/core/types_c.h" -> #include <math.h>
- Status changed from Open to Done
- (deleted custom field) set to wontfix
Updated by Andrey Kamaev about 13 years ago
- Status changed from Done to Cancelled
Updated by Andrey Kamaev almost 13 years ago
- Target version set to 2.4.0