How to use Dlib Library in C++Builder

This is the forum for miscellaneous technical/programming questions.

Moderator: 2ffat

How to use Dlib Library in C++Builder

Postby MahmoudWali » Tue Oct 20, 2015 8:14 am

Hi,

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.
MahmoudWali
 
Posts: 1
Joined: Tue Oct 20, 2015 8:09 am

Return to Technical

Who is online

Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 6 guests

cron