[Freeswitch-users] Error on switch_vpx.h while building custom module
mike at jerris.com
Mon Jun 15 19:06:48 MSD 2015
what you want to look at is the pkg-config detection, and the VPX_CFLAGS
var. You can grep confit.status. If you don't see the right include path
there, there is something wrong with the vpx2.pc not being installed
On Monday, June 15, 2015, Victor Medina <victor.medina at cibersys.com> wrote:
> um.... (thinking) =)
> No I don't think so.
> In fact this machine runs daily builds of FS. So when configure (fs's
> configure I mean) is executed libvpbx is already there. Its my development
> But as I told you no big deal man.. I added a perl script that temporally
> changes headers locations, builds, then changes back.
> I wanted to see how difficult is to build a custom module in case I needed
> one. I want to contribute somehow.
> 2015-06-15 9:49 GMT-04:30 Michael Jerris <mike at jerris.com
>> You installed the package after running configure
>> On Monday, June 15, 2015, Victor Medina <victor.medina at cibersys.com
>>> Hi guys!
>>> First of all good morning, hope everyone had a nice weekend.
>>> On weekend I starded trying to build a new custom build just to educate
>>> on how to build one.
>>> I noted that every time I tried to build against switch_vpx.h it failed.
>>> Upon inspecting it I found that:
>>> #include "vpx/vpx_image.h"
>>> #include "vpx/vpx_integer.h"
>>> But there is really no vpx headers on default locations. And Im
>>> currently using libvpx2 provided by freeswitch on Debian Jessie.
>>> Installed: 1.4.0-46~1-jessie+1
>>> Candidate: 1.4.0-46~1-jessie+1
>>> Version table:
>>> *** 1.4.0-46~1-jessie+1 0
>>> 500 http://files.freeswitch.org/repo/deb/debian/ jessie/main
>>> amd64 Packages
>>> 100 /var/lib/dpkg/status
>>> Headers are located on /usr/include/vpx2/
>>> I did a small change
>>> perl -i -pe 's/#include\ \"vpx\/vpx\_image\.h\"/\#include\
>>> perl -i -pe 's/#include\ \"vpx\/vpx\_integer\.h\"/\#include\
>>> It compiled and works just fine.
>>> Is this a minor glitch or a bug worth reporting?
>>> Víctor E. Medina M.
>>> Platform Architect / Chief Infrastructure
>>> +58424 291 4561
>>> BB #79A8AFA2
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> Official FreeSWITCH Sites
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
> Víctor E. Medina M.
> Platform Architect / Chief Infrastructure
> +58424 291 4561
> BB #79A8AFA2
-------------- next part --------------
An HTML attachment was scrubbed...
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users