Error on switch_vpx.h while building custom module
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. libvpx2: 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\ \"\/usr\/include\/vpx2\/vpx\/vpx\_image\.h\"/g' /usr/local/freeswitch/include/freeswitch/switch_vpx.h perl -i -pe 's/#include\ \"vpx\/vpx\_integer\.h\"/\#include\ \"\/usr\/include\/vpx2\/vpx\/vpx\_integer\.h\"/g' /usr/local/freeswitch/include/freeswitch/switch_vpx.h 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 @VMCibersys
You installed the package after running configure On Monday, June 15, 2015, Victor Medina <victor.medina@cibersys.com> wrote:
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.
libvpx2: 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\ \"\/usr\/include\/vpx2\/vpx\/vpx\_image\.h\"/g' /usr/local/freeswitch/include/freeswitch/switch_vpx.h perl -i -pe 's/#include\ \"vpx\/vpx\_integer\.h\"/\#include\ \"\/usr\/include\/vpx2\/vpx\/vpx\_integer\.h\"/g' /usr/local/freeswitch/include/freeswitch/switch_vpx.h
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 @VMCibersys
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 box. 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@jerris.com>:
You installed the package after running configure
On Monday, June 15, 2015, Victor Medina <victor.medina@cibersys.com> wrote:
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.
libvpx2: 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\ \"\/usr\/include\/vpx2\/vpx\/vpx\_image\.h\"/g' /usr/local/freeswitch/include/freeswitch/switch_vpx.h perl -i -pe 's/#include\ \"vpx\/vpx\_integer\.h\"/\#include\ \"\/usr\/include\/vpx2\/vpx\/vpx\_integer\.h\"/g' /usr/local/freeswitch/include/freeswitch/switch_vpx.h
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 @VMCibersys
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Víctor E. Medina M. Platform Architect / Chief Infrastructure +58424 291 4561 BB #79A8AFA2 @VMCibersys
It is a big deal if it doesn't work. Ideally you should find the cause: You should be able to test with: pkg-config vpx2 --cflags it should return -I/usr/include/vpx2 Also look in your config.log for vpx2 and you should find something like: configure:25337: checking for vpx2 >= 1.4.0 configure:25341: result: yes configure:25345: checking VPX_CFLAGS configure:25348: result: -I/usr/include/vpx2 configure:25351: checking VPX_LIBS configure:25354: result: -lvpx2 -lm If not you may have something out of place in your system or maybe you don't really have our package for vpx2 and vpx2-dev dpkg -l | grep vpx2 ii libvpx2:amd64 1.4.0-45~1-jessie+1 amd64 VP8 and VP9 video codec (shared library) ii libvpx2:i386 1.4.0-45~1-jessie+1 i386 VP8 and VP9 video codec (shared library) ii libvpx2-dev:amd64 1.4.0-45~1-jessie+1 amd64 VP8 and VP9 video codec (development files) On Mon, Jun 15, 2015 at 9:50 AM, Victor Medina <victor.medina@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 box. 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@jerris.com>:
You installed the package after running configure
On Monday, June 15, 2015, Victor Medina <victor.medina@cibersys.com> wrote:
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.
libvpx2: 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\ \"\/usr\/include\/vpx2\/vpx\/vpx\_image\.h\"/g' /usr/local/freeswitch/include/freeswitch/switch_vpx.h perl -i -pe 's/#include\ \"vpx\/vpx\_integer\.h\"/\#include\ \"\/usr\/include\/vpx2\/vpx\/vpx\_integer\.h\"/g' /usr/local/freeswitch/include/freeswitch/switch_vpx.h
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 @VMCibersys
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
--
Víctor E. Medina M. Platform Architect / Chief Infrastructure +58424 291 4561 BB #79A8AFA2 @VMCibersys
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬ ☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞ http://twitter.com/FreeSWITCH ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+ <http://freeswitch.org/g+>* ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
Probably Im calling it static some where.... I also tried hacking on others third party modules, like bc_g729 and also on mod_fail2ban... and had to do the same on bc_g729. I already check pkg-config, and its just fine... =/ pkg-config vpx2 --cflags -I/usr/include/vpx2 # pkg-config file from libvpx2 v1.4.0 prefix=/usr exec_prefix=${prefix} libdir=${prefix}/lib includedir=${prefix}/include/vpx2 Name: vpx2 Description: WebM Project VPx codec implementation Version: 1.4.0 Requires: Conflicts: Libs: -L${libdir} -lvpx2 -lm Libs.private: -lm -lpthread Cflags: -I${includedir} Im definitely doing something very wrong some where je je je... let me do a deeper check. Thanks, 2015-06-15 10:31 GMT-04:30 Anthony Minessale <anthony.minessale@gmail.com>:
It is a big deal if it doesn't work. Ideally you should find the cause:
You should be able to test with:
pkg-config vpx2 --cflags
it should return -I/usr/include/vpx2
Also look in your config.log for vpx2 and you should find something like:
configure:25337: checking for vpx2 >= 1.4.0
configure:25341: result: yes
configure:25345: checking VPX_CFLAGS
configure:25348: result: -I/usr/include/vpx2
configure:25351: checking VPX_LIBS
configure:25354: result: -lvpx2 -lm
If not you may have something out of place in your system or maybe you don't really have our package for vpx2 and vpx2-dev
dpkg -l | grep vpx2
ii libvpx2:amd64 1.4.0-45~1-jessie+1 amd64 VP8 and VP9 video codec (shared library)
ii libvpx2:i386 1.4.0-45~1-jessie+1 i386 VP8 and VP9 video codec (shared library)
ii libvpx2-dev:amd64 1.4.0-45~1-jessie+1 amd64 VP8 and VP9 video codec (development files)
On Mon, Jun 15, 2015 at 9:50 AM, Victor Medina <victor.medina@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 box. 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@jerris.com>:
You installed the package after running configure
On Monday, June 15, 2015, Victor Medina <victor.medina@cibersys.com> wrote:
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.
libvpx2: 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\ \"\/usr\/include\/vpx2\/vpx\/vpx\_image\.h\"/g' /usr/local/freeswitch/include/freeswitch/switch_vpx.h perl -i -pe 's/#include\ \"vpx\/vpx\_integer\.h\"/\#include\ \"\/usr\/include\/vpx2\/vpx\/vpx\_integer\.h\"/g' /usr/local/freeswitch/include/freeswitch/switch_vpx.h
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 @VMCibersys
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
--
Víctor E. Medina M. Platform Architect / Chief Infrastructure +58424 291 4561 BB #79A8AFA2 @VMCibersys
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬
☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞ http://twitter.com/FreeSWITCH ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+ <http://freeswitch.org/g+>*
ClueCon Weekly Development Call [image: ☎] sip:888@conference.freeswitch.org [image: ☎] +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Víctor E. Medina M. Platform Architect / Chief Infrastructure +58424 291 4561 BB #79A8AFA2 @VMCibersys
Highly suggest you check the config.log, which will tell you what configure found. On 15 June 2015 at 16:17, Victor Medina <victor.medina@cibersys.com> wrote:
Probably Im calling it static some where.... I also tried hacking on others third party modules, like bc_g729 and also on mod_fail2ban... and had to do the same on bc_g729.
I already check pkg-config, and its just fine... =/
pkg-config vpx2 --cflags -I/usr/include/vpx2
# pkg-config file from libvpx2 v1.4.0 prefix=/usr exec_prefix=${prefix} libdir=${prefix}/lib includedir=${prefix}/include/vpx2
Name: vpx2 Description: WebM Project VPx codec implementation Version: 1.4.0 Requires: Conflicts: Libs: -L${libdir} -lvpx2 -lm Libs.private: -lm -lpthread Cflags: -I${includedir}
Im definitely doing something very wrong some where je je je... let me do a deeper check.
Thanks,
2015-06-15 10:31 GMT-04:30 Anthony Minessale <anthony.minessale@gmail.com> :
It is a big deal if it doesn't work. Ideally you should find the cause:
You should be able to test with:
pkg-config vpx2 --cflags
it should return -I/usr/include/vpx2
Also look in your config.log for vpx2 and you should find something like:
configure:25337: checking for vpx2 >= 1.4.0
configure:25341: result: yes
configure:25345: checking VPX_CFLAGS
configure:25348: result: -I/usr/include/vpx2
configure:25351: checking VPX_LIBS
configure:25354: result: -lvpx2 -lm
If not you may have something out of place in your system or maybe you don't really have our package for vpx2 and vpx2-dev
dpkg -l | grep vpx2
ii libvpx2:amd64 1.4.0-45~1-jessie+1 amd64 VP8 and VP9 video codec (shared library)
ii libvpx2:i386 1.4.0-45~1-jessie+1 i386 VP8 and VP9 video codec (shared library)
ii libvpx2-dev:amd64 1.4.0-45~1-jessie+1 amd64 VP8 and VP9 video codec (development files)
On Mon, Jun 15, 2015 at 9:50 AM, Victor Medina < victor.medina@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 box. 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@jerris.com>:
You installed the package after running configure
On Monday, June 15, 2015, Victor Medina <victor.medina@cibersys.com> wrote:
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.
libvpx2: 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\ \"\/usr\/include\/vpx2\/vpx\/vpx\_image\.h\"/g' /usr/local/freeswitch/include/freeswitch/switch_vpx.h perl -i -pe 's/#include\ \"vpx\/vpx\_integer\.h\"/\#include\ \"\/usr\/include\/vpx2\/vpx\/vpx\_integer\.h\"/g' /usr/local/freeswitch/include/freeswitch/switch_vpx.h
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 @VMCibersys
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
--
Víctor E. Medina M. Platform Architect / Chief Infrastructure +58424 291 4561 BB #79A8AFA2 @VMCibersys
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬
☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞ http://twitter.com/FreeSWITCH ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+ <http://freeswitch.org/g+>*
ClueCon Weekly Development Call [image: ☎] sip:888@conference.freeswitch.org [image: ☎] +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
--
Víctor E. Medina M. Platform Architect / Chief Infrastructure +58424 291 4561 BB #79A8AFA2 @VMCibersys
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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 box. 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@jerris.com <javascript:_e(%7B%7D,'cvml','mike@jerris.com');>>:
You installed the package after running configure
On Monday, June 15, 2015, Victor Medina <victor.medina@cibersys.com <javascript:_e(%7B%7D,'cvml','victor.medina@cibersys.com');>> wrote:
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.
libvpx2: 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\ \"\/usr\/include\/vpx2\/vpx\/vpx\_image\.h\"/g' /usr/local/freeswitch/include/freeswitch/switch_vpx.h perl -i -pe 's/#include\ \"vpx\/vpx\_integer\.h\"/\#include\ \"\/usr\/include\/vpx2\/vpx\/vpx\_integer\.h\"/g' /usr/local/freeswitch/include/freeswitch/switch_vpx.h
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 @VMCibersys
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org');> http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org');> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
--
Víctor E. Medina M. Platform Architect / Chief Infrastructure +58424 291 4561 BB #79A8AFA2 @VMCibersys
participants (4)
-
Anthony Minessale
-
Michael Jerris
-
Steven Ayre
-
Victor Medina