Перейти к содержимому
Compvision.ru

Kay

Пользователи
  • Количество публикаций

    2
  • Зарегистрирован

  • Посещение

Сообщения, опубликованные пользователем Kay


  1. Hi Guys,

    Thanks for taking the time to read my post.

    I have been trying to iron this problem out for weeks now and it is positively killing me - i'm sure you all know the feeling!

    I am using OpenCV and have converted Microsoft Visual Studio libs to C++ Builder ones and I thought things were going well; except for all my efforts I cannot get XE to compile with OpenCV Libs.

    I am using the OpenCV Libs and dlls in the normal way, i.e. #include "opencv2\opencv.hpp", which is the header file for just about everything. so when I hit compile, with no code (i just want to see if it runs) I get:

    [bCC32 Error] complex(204): E2316 '_fm_expl' is not a member of 'std'

    if i expand this error is says:

    Full parser context

    Unit1.cpp(8): #include opencv2\opencv.hpp

    opencv.hpp(47): #include opencv2/core/core.hpp

    core.hpp(59): #include c:\program files\embarcadero\rad studio\8.0\include\dinkumware\complex

    complex(47): namespace std

    complex(153): class _Ctraits<long double>

    complex(236): decision to instantiate: long double _Ctraits<long double>::_fm_exp(long double)

    --- Resetting parser context for instantiation...

    complex(203): parsing: long double _Ctraits<long double>::_fm_exp(long double)

    I get two more type of error which is:

    [bCC32 Error] complex(245): E2238 Multiple declaration for '_Ctraits<double>::_Cosh(double,double)'

    ( and when expanded)

    Full parser context

    Unit1.cpp(8): #include opencv2\opencv.hpp

    opencv.hpp(47): #include opencv2/core/core.hpp

    core.hpp(59): #include c:\program files\embarcadero\rad studio\8.0\include\dinkumware\complex

    complex(47): namespace std

    complex(240): class _Ctraits<double>

    and

    [bCC32 Error] complex(65): E2344 Earlier declaration of '_Ctraits<double>::_Cosh(double,double)'

    (expanded)

    Full parser context

    Unit1.cpp(8): #include opencv2\opencv.hpp

    opencv.hpp(47): #include opencv2/core/core.hpp

    core.hpp(59): #include c:\program files\embarcadero\rad studio\8.0\include\dinkumware\complex

    complex(47): namespace std

    complex(240): class _Ctraits<double>

    could anyone point me in the direction of a fix or a good tutorial? or am I missing something basic? I know some of you guys have successfully done this.

    I have seen the thread started by Smorodov with the OpenCV 2.3 files in, but I want to learn myself how to do this!

    I'm using OpenCV 2.4.2 if that makes a difference. I can supply the converted libs and dll's if that helps.

    Many thanks for your time guys!

    Kay

×