MahmoudWali
Programmer
I am trying to use Dlib Library in C++Builder, but when I compile the program, the compiler gives a lot of errors.
This is compiler errors:
[bcc32 Error] algs.h(780): E2238 Multiple declaration for 'tmaxx),void>::type>'
[bcc32 Error] algs.h(778): E2344 Earlier declaration of 'tmaxx),void>::type>'
[bcc32 Error] algs.h(780): E2428 Templates must be classes or functions
[bcc32 Error] algs.h(795): E2238 Multiple declaration for 'tmin::type>'
[bcc32 Error] algs.h(793): E2344 Earlier declaration of 'tmin::type>'
[bcc32 Error] algs.h(795): E2428 Templates must be classes or functions
[bcc32 Error] complex(158): E2238 Multiple declaration for '_Ctraits::_Cosh(long double,long double)'
[bcc32 Error] complex(65): E2344 Earlier declaration of '_Ctraits::_Cosh(long double,long double)'
.
.
.
.
[bcc32 Error] complex(95): E2228 Too many error or warning messages
I create empty Console Project, adding just include path of the main folder of Dlib as mentioned in website page “How to Compile” to the project include directory.
I tried all compiler options for compatibility with ANSI C/C++, MFC, .... but with no useful.
I tried both Borland C++Builder 6 and Embarcadero RAD Studio XE7.
Any help will be highly appreciated.
This is compiler errors:
[bcc32 Error] algs.h(780): E2238 Multiple declaration for 'tmaxx),void>::type>'
[bcc32 Error] algs.h(778): E2344 Earlier declaration of 'tmaxx),void>::type>'
[bcc32 Error] algs.h(780): E2428 Templates must be classes or functions
[bcc32 Error] algs.h(795): E2238 Multiple declaration for 'tmin::type>'
[bcc32 Error] algs.h(793): E2344 Earlier declaration of 'tmin::type>'
[bcc32 Error] algs.h(795): E2428 Templates must be classes or functions
[bcc32 Error] complex(158): E2238 Multiple declaration for '_Ctraits::_Cosh(long double,long double)'
[bcc32 Error] complex(65): E2344 Earlier declaration of '_Ctraits::_Cosh(long double,long double)'
.
.
.
.
[bcc32 Error] complex(95): E2228 Too many error or warning messages
I create empty Console Project, adding just include path of the main folder of Dlib as mentioned in website page “How to Compile” to the project include directory.
I tried all compiler options for compatibility with ANSI C/C++, MFC, .... but with no useful.
I tried both Borland C++Builder 6 and Embarcadero RAD Studio XE7.
Any help will be highly appreciated.