Error when compiling core.hpp

asked 2016-10-04 18:59:16 -0600

SergeClause gravatar image

Hi! Wildly sorry! Help a beginner.

I install BCC55 - test cases were normal. I unzip the OpenCV-2.3.1-win-superpack.exe into the main directory of BCC55. I specify path where everything is include-files and other.

main.cpp get from: http://robocraft.ru/blog/computervisi...

But compiling say me 'error in 512 line'

Fatal F1004 C: \ Borland \ BCC55 \ opencv \ modules \ core \ include \ opencv2 / core / core.hpp 512: Internal compiler error at 0x48581a with base 0x400000

Fatal F1004 C: \ Borland \ BCC55 \ opencv \ modules \ core \ include \ opencv2 / core / core.hpp 512: Internal compiler error

512 line in core.hpp-file:

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

In this file, I have not touched or changed, the file in the application This template line, but I have not yet strong Please help!

Excuse me In 512 line of core.hpp-file after l not ="" Site added this itself

edit retag flag offensive close merge delete

Comments

1

i do not think, borland is supported at all, and opencv2.3.1 is terribly outdated. also, that blog is using the deprecated c-api (opencv moved away from that in 2010 already)

you seem to have a knack for outdated things ;(

berak gravatar imageberak ( 2016-10-04 20:36:18 -0600 )edit

I am a beginner. I have OpenCV 3.1.0, but this version take me more errors. I want start with 2.3.1, than go to 3.1.0

Thank you!

SergeClause gravatar imageSergeClause ( 2016-10-05 04:07:32 -0600 )edit
1

please do not try with opencv2.3.1, the world has changed significally.

also, please get another compiler (VS comunity, or mingw64) , you won't be able to do anything with bcc.

berak gravatar imageberak ( 2016-10-05 04:29:17 -0600 )edit