[Freeswitch-dev] About an error in compiling mod_cv

Bernd Kuhls bernd.kuhls at t-online.de
Wed Jun 8 21:57:11 MSD 2016


Am Tue, 07 Jun 2016 21:44:15 -0700 schrieb zhou Yu:

> Hi all
> 
> I came into an error in compiling mod_cv
> 
> mod_cv.cpp:723:112: error: ‘SWITCH_IMG_FMT_RGB24’ was not declared in this
> scope
>          switch_img_to_raw(frame->img, context->rawImage->imageData,
> context->rawImage->widthStep * context->h, SWITCH_IMG_FMT_RGB24);

Hi,

do you try to compile using opencv version 2.x or 3.x?
Afaics there is no support for 3.x, only 2.x works.

Regards, Bernd




Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-dev mailing list