Ask Your Question

error while compiling FREAK demo

asked 2013-01-07 07:43:02 -0600

Hi! I wanted to play around with the FREAK algorithm to see if I could use it for my app. When I tried to compile the demo example (the original freak_demo.cpp) I got error message:

[C++ Fatal Error] core.hpp(527): F1004 Internal compiler error at 0xc82191 with base 0xc10000

in string:

template <int l> Matx(const Matx<_Tp, m, l>& a, const Matx<_Tp, l, n>& b, Matx_MatMulOp)

I used: OpenCV version:2.4.3 C++ Builder 6 All necessary libraries were included.

Did anybody faced with the same problem? How to solve it..? The error occured when core.hpp was used so it may be the problem which is not directly connected to freak realisation... Thanks.

edit retag flag offensive close merge delete


Wow... I don't know for your particular case (sorry). However, the 2.4.3 version may not work with the original FREAK demo from github, because the BruteForceMatcher class is not defined in the same way. So it should be easier for you to try from OpenCV's FREAK version first (both are very close).

Emmanuel gravatar imageEmmanuel ( 2013-01-07 14:07:32 -0600 )edit

Well the original demo works, too, you just need to #include <ioencv2/legacy/legacy.hpp> and remove #include "freak.h" as it is already integrated in Opencv. However note that actually the BFMachter-Hamming is then used.

Guanta gravatar imageGuanta ( 2013-01-08 10:29:27 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2013-01-08 10:28:16 -0600

It is compiler error, not a problem in C++ code. Try to update compiler to the latest version or to look for workaround.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2013-01-07 07:43:02 -0600

Seen: 987 times

Last updated: Jan 08 '13