[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-developers] g729 in windows
From: |
Guillaume Beraudo |
Subject: |
Re: [Linphone-developers] g729 in windows |
Date: |
Mon, 25 Mar 2013 13:02:35 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hi Henrik,
I think your issue is due to the msbcg729 mediastreamer module not being
built.
Please git pull in bcg729.git.
Cheers,
Guillaume Beraudo
On Fri, Mar 22, 2013 at 05:06:01PM +0100, Henrik Pauli wrote:
> 2013.03.21. 10:50 keltezéssel, Guillaume Beraudo írta:
> >Hi,
> >
> >Could you precisely describe which steps you have followed?
> >
>
> I'll try, but brace yourself, it's a bit complicated.
>
> == Directory structure ==
>
> I have a few directories involved in the build, which is done with
> whatever MinGW and MSYS was available at the time I created my build
> system. It's a bit messy, legacy reasons :D
>
> GCC is 4.6.2
>
> C:\dev\MinGW -- MinGW
> C:\dev\MinGW\msys -- MSYS
> C:\dev\MinGW\msys\1.0\opt\perl -- ActivePerl 5.12.4, also `which perl`
> C:\dev\alles -- Various dependencies, incl. GTK+
>
> C:\git\ -- Git checkouts of Linphone stuff.
>
> I run MSYS's bash to build, otherwise make will just die somewhere early.
>
> I have to use Linux to automake things though: releases have
> ./configure et al, but the git checkouts obviously don't contain
> those dynamically created files. On Windows, autoreconf, autoconf,
> whatever, those horrible things, they don't run. So I create these
> bits from Linux and then I get back to Windows and then I can
> happily run ./configure
>
> == Linphone ==
>
> /c/git/linphone.git -- raw checkout, do not touch :)
> /c/git/linphone-master-BUILD -- here lie dragons and Automake's mess
> /c/git/Linphone.install -- install target
> /c/git/bcg729.git -- git checkout, build and install
> I just copy things over anyway.
>
> l-m-B$ ./configure --disable-x11 --enable-gtk_ui=no
> --enable-notify=no --disable-video --enable-relativeprefix
> --prefix=/c/git/Linphone.install
> l-m-B$ make
> l-m-B$ make install
>
> Runs and installs a nice set of files into the install dir:
>
> <linphone.tree.txt>
>
> Linphone runs just great, I can talk to it via linphonecsh, and
> that's great :)
>
> I'll then collect all the stuff from C:\dev\alles that linphoned.exe
> wants to open (intl.dll, zlib.dll, that kind of stuff), remove
> unneeded stuff (include, lib), etc. into C:\git\Linphone. So that
> will be a directory that'll only contain a very stripped down
> version of Linphone.
>
> == BCG729 ==
>
> So then I go on and build bcg729, using the Linphone.install
> directory as CFLAGS and LDFLAGS etc. sources.
>
> bcg729.git$ ./configure
> ORTP_CFLAGS="-Ic:/git/Linphone.install/include"
> ORTP_LIBS="-Lc:/git/Linphone.install/lib"
> MEDIASTREAMER_CFLAGS="-Ic:/git/Linphone.install/include"
> MEDIASTREAMER_LIBS="-
> Lc:/git/Linphone.install/lib" --disable-static
> bcg729.git$ make
>
> Will simply skip the msbcg729 subdir, even though ORTP and
> MEDIASTREAMER report yes during ./configure.
>
> Here's the output:
>
> <bcg729.make.txt>
>
> == Released versions ==
>
> Linphone 3.5.2 with BCG729 1.0 (with my previously submitted
> patches) builds properly. My guess is that BCG729 (or, MS-BCG729)
> gets confused about the newly split MediaStreamer libs. I'm not
> good enough at Automake and C to figure out what to change to make
> it build though.
>
> I think that's all I can come up with.
>
> C:.
> │ .linphonerc
> │
> ├───bin
> │ liblinphone-5.dll
> │ liblpc2xml-0.dll
> │ libmediastreamer_base-3.dll
> │ libmediastreamer_voip-3.dll
> │ libortp-9.dll
> │ libxml2lpc-0.dll
> │ linphonec.exe
> │ linphonecsh.exe
> │ linphoned.exe
> │ lpc2xml_test.exe
> │ mediastream.exe
> │ xml2lpc_test.exe
> │
> ├───include
> │ ├───linphone
> │ │ linphonecore.h
> │ │ linphonecore_utils.h
> │ │ linphonefriend.h
> │ │ lpconfig.h
> │ │ sipsetup.h
> │ │
> │ ├───mediastreamer2
> │ │ allfilters.h
> │ │ bitratecontrol.h
> │ │ dsptools.h
> │ │ dtmfgen.h
> │ │ ice.h
> │ │ mediastream.h
> │ │ msaudiomixer.h
> │ │ mschanadapter.h
> │ │ mscodecutils.h
> │ │ mscommon.h
> │ │ msconference.h
> │ │ msequalizer.h
> │ │ mseventqueue.h
> │ │ msextdisplay.h
> │ │ msfileplayer.h
> │ │ msfilerec.h
> │ │ msfilter.h
> │ │ msinterfaces.h
> │ │ msitc.h
> │ │ msjava.h
> │ │ msjpegwriter.h
> │ │ msqueue.h
> │ │ msrtp.h
> │ │ mssndcard.h
> │ │ mstee.h
> │ │ msticker.h
> │ │ mstonedetector.h
> │ │ msv4l.h
> │ │ msvideo.h
> │ │ msvideoout.h
> │ │ msvolume.h
> │ │ mswebcam.h
> │ │ qualityindicator.h
> │ │ rfc3984.h
> │ │ upnp_igd.h
> │ │
> │ └───ortp
> │ b64.h
> │ event.h
> │ logging.h
> │ ortp.h
> │ ortp_srtp.h
> │ payloadtype.h
> │ port.h
> │ rtcp.h
> │ rtp.h
> │ rtpprofile.h
> │ rtpsession.h
> │ rtpsignaltable.h
> │ sessionset.h
> │ str_utils.h
> │ stun.h
> │ stun_udp.h
> │ telephonyevents.h
> │ zrtp.h
> │
> ├───lib
> │ │ liblinphone.dll.a
> │ │ liblinphone.la
> │ │ liblpc2xml.dll.a
> │ │ liblpc2xml.la
> │ │ libmediastreamer_base.dll.a
> │ │ libmediastreamer_base.la
> │ │ libmediastreamer_voip.dll.a
> │ │ libmediastreamer_voip.la
> │ │ libortp.dll.a
> │ │ libortp.la
> │ │ libxml2lpc.dll.a
> │ │ libxml2lpc.la
> │ │
> │ ├───locale
> │ │ ├───cs
> │ │ │ └───LC_MESSAGES
> │ │ │ mediastreamer.mo
> │ │ │
> │ │ ├───de
> │ │ │ └───LC_MESSAGES
> │ │ │ mediastreamer.mo
> │ │ │
> │ │ ├───es
> │ │ │ └───LC_MESSAGES
> │ │ │ mediastreamer.mo
> │ │ │
> │ │ ├───fr
> │ │ │ └───LC_MESSAGES
> │ │ │ mediastreamer.mo
> │ │ │
> │ │ ├───hu
> │ │ │ └───LC_MESSAGES
> │ │ │ mediastreamer.mo
> │ │ │
> │ │ ├───it
> │ │ │ └───LC_MESSAGES
> │ │ │ mediastreamer.mo
> │ │ │
> │ │ ├───ja
> │ │ │ └───LC_MESSAGES
> │ │ │ mediastreamer.mo
> │ │ │
> │ │ ├───nl
> │ │ │ └───LC_MESSAGES
> │ │ │ mediastreamer.mo
> │ │ │
> │ │ ├───pl
> │ │ │ └───LC_MESSAGES
> │ │ │ mediastreamer.mo
> │ │ │
> │ │ ├───pt_BR
> │ │ │ └───LC_MESSAGES
> │ │ │ mediastreamer.mo
> │ │ │
> │ │ ├───ru
> │ │ │ └───LC_MESSAGES
> │ │ │ mediastreamer.mo
> │ │ │
> │ │ ├───sv
> │ │ │ └───LC_MESSAGES
> │ │ │ mediastreamer.mo
> │ │ │
> │ │ └───zh_CN
> │ │ └───LC_MESSAGES
> │ │ mediastreamer.mo
> │ │
> │ └───pkgconfig
> │ linphone.pc
> │ mediastreamer.pc
> │ ortp.pc
> │
> └───share
> ├───applications
> │ linphone.desktop
> │
> ├───gnome
> │ └───help
> │ └───linphone
> │ ├───C
> │ ├───fr
> │ ├───it
> │ └───ja
> ├───images
> │ nowebcamCIF.jpg
> │
> ├───linphone
> │ rootca.pem
> │
> ├───locale
> │ ├───cs
> │ │ └───LC_MESSAGES
> │ │ linphone.mo
> │ │
> │ ├───de
> │ │ └───LC_MESSAGES
> │ │ linphone.mo
> │ │
> │ ├───es
> │ │ └───LC_MESSAGES
> │ │ linphone.mo
> │ │
> │ ├───fr
> │ │ └───LC_MESSAGES
> │ │ linphone.mo
> │ │
> │ ├───he
> │ │ └───LC_MESSAGES
> │ │ linphone.mo
> │ │
> │ ├───hu
> │ │ └───LC_MESSAGES
> │ │ linphone.mo
> │ │
> │ ├───it
> │ │ └───LC_MESSAGES
> │ │ linphone.mo
> │ │
> │ ├───ja
> │ │ └───LC_MESSAGES
> │ │ linphone.mo
> │ │
> │ ├───nb_NO
> │ │ └───LC_MESSAGES
> │ │ linphone.mo
> │ │
> │ ├───nl
> │ │ └───LC_MESSAGES
> │ │ linphone.mo
> │ │
> │ ├───pl
> │ │ └───LC_MESSAGES
> │ │ linphone.mo
> │ │
> │ ├───pt_BR
> │ │ └───LC_MESSAGES
> │ │ linphone.mo
> │ │
> │ ├───ru
> │ │ └───LC_MESSAGES
> │ │ linphone.mo
> │ │
> │ ├───sv
> │ │ └───LC_MESSAGES
> │ │ linphone.mo
> │ │
> │ ├───zh_CN
> │ │ └───LC_MESSAGES
> │ │ linphone.mo
> │ │
> │ └───zh_TW
> │ └───LC_MESSAGES
> │ linphone.mo
> │
> ├───man
> │ ├───cs
> │ │ └───man1
> │ │ linphone.1
> │ │ linphonec.1
> │ │ sipomatic.1
> │ │
> │ └───man1
> │ linphone.1
> │ linphonec.1
> │ linphonecsh.1
> │ sipomatic.1
> │
> ├───pixmaps
> │ └───linphone
> │ active_chat.png
> │ addcall-green.png
> │ call.png
> │ call_status_incoming.png
> │ call_status_outgoing.png
> │ chat.png
> │ chat_message_delivered.png
> │ chat_message_inprogress.png
> │ chat_message_not_delivered.png
> │ contact-orange.png
> │ contact_starred.png
> │ contact_unstarred.png
> │ dialer-orange.png
> │ dialer.png
> │ history-orange.png
> │ hold_off.png
> │ hold_on.png
> │ linphone-banner.png
> │ linphone.icns
> │ linphone.png
> │ mic_active.png
> │ mic_muted.png
> │ notok.png
> │ ok.png
> │ speaker.png
> │ startcall-green.png
> │ startcall-small.png
> │ status-green.png
> │ status-offline.png
> │ status-orange.png
> │ status-red.png
> │ stopcall-red.png
> │ stopcall-small.png
> │
> ├───sounds
> │ └───linphone
> │ │ hello16000.wav
> │ │ hello8000.wav
> │ │ ringback.wav
> │ │
> │ └───rings
> │ bigben.wav
> │ oldphone-mono-30s.caf
> │ oldphone-mono.wav
> │ oldphone.wav
> │ orig.wav
> │ rock.wav
> │ sweet.wav
> │ synth.wav
> │ tapping.wav
> │ toy-mono.wav
> │
> └───tutorials
> └───linphone
> /c/git/bcg729.git$ make
> Making all in src
> make[1]: Entering directory `/c/git/bcg729.git/src'
> CC LP2LSPConversion.lo
> CC LPSynthesisFilter.lo
> CC LSPQuantization.lo
> CC adaptativeCodebookSearch.lo
> CC codebooks.lo
> CC computeAdaptativeCodebookGain.lo
> CC computeLP.lo
> CC computeWeightedSpeech.lo
> CC decodeAdaptativeCodeVector.lo
> CC decodeFixedCodeVector.lo
> CC decodeGains.lo
> CC decodeLSP.lo
> CC decoder.lo
> CC encoder.lo
> CC findOpenLoopPitchDelay.lo
> CC fixedCodebookSearch.lo
> CC gainQuantization.lo
> CC interpolateqLSP.lo
> CC postFilter.lo
> CC postProcessing.lo
> CC preProcessing.lo
> CC qLSP2LP.lo
> CC utils.lo
> CCLD libbcg729.la
> Creating library file: .libs/libbcg729.dll.a
> make[1]: Leaving directory `/c/git/bcg729.git/src'
> Making all in include
> make[1]: Entering directory `/c/git/bcg729.git/include'
> Making all in bcg729
> make[2]: Entering directory `/c/git/bcg729.git/include/bcg729'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/c/git/bcg729.git/include/bcg729'
> make[2]: Entering directory `/c/git/bcg729.git/include'
> make[2]: Nothing to be done for `all-am'.
> make[2]: Leaving directory `/c/git/bcg729.git/include'
> make[1]: Leaving directory `/c/git/bcg729.git/include'
> Making all in test
> make[1]: Entering directory `/c/git/bcg729.git/test'
> Making all in bin
> make[2]: Entering directory `/c/git/bcg729.git/test/bin'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/c/git/bcg729.git/test/bin'
> make[2]: Entering directory `/c/git/bcg729.git/test'
> make[2]: Nothing to be done for `all-am'.
> make[2]: Leaving directory `/c/git/bcg729.git/test'
> make[1]: Leaving directory `/c/git/bcg729.git/test'
> make[1]: Entering directory `/c/git/bcg729.git'
> make[1]: Nothing to be done for `all-am'.
> make[1]: Leaving directory `/c/git/bcg729.git'
> /c/git/bcg729.git$
> _______________________________________________
> Linphone-developers mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/linphone-developers
- Re: [Linphone-developers] g729 in windows, Henrik Pauli, 2013/03/06
- Re: [Linphone-developers] g729 in windows, Henrik Pauli, 2013/03/06
- Re: [Linphone-developers] g729 in windows, Henrik Pauli, 2013/03/06
- Re: [Linphone-developers] g729 in windows, Henrik Pauli, 2013/03/21
- Re: [Linphone-developers] g729 in windows, Guillaume Beraudo, 2013/03/21
- Re: [Linphone-developers] g729 in windows, Henrik Pauli, 2013/03/22
- Re: [Linphone-developers] g729 in windows,
Guillaume Beraudo <=
- Re: [Linphone-developers] g729 in windows, Henrik Pauli, 2013/03/27
- Re: [Linphone-developers] g729 in windows, Henrik Pauli, 2013/03/27
- Re: [Linphone-developers] g729 in windows, Guillaume Beraudo, 2013/03/27
- Re: [Linphone-developers] g729 in windows, Henrik Pauli, 2013/03/27