Compilation Gstreamer SDK on Windows

Eloi Bail eloi.bail at gmail.com
Fri May 10 14:40:32 PDT 2013


Andoni,

Thanks a lot for your answer.

For the error, we manage to have the build using the command you provided !
But we did not include any patch.

Actually we would like to :

- patch libav with the following patch :
http://ffmpeg.org/pipermail/ffmpeg-cvslog/2012-September/054768.html
- patch Gnonlin with
http://cgit.freedesktop.org/gstreamer/gnonlin/commit/?id=da3a5a5b2af498a2bc7f60814455088ade1049e1


For gnonlin we have to clone
http://anongit.freedesktop.org/git/gstreamer-sdk/gnonlin.git/

But I do not know which depot git to clone for libavcodec.

Could you please help us ?

Thanks,

Eloi






On Fri, May 10, 2013 at 11:09 AM, Andoni Morales <ylatuya at gmail.com> wrote:

>
>
>
> 2013/5/10 Eloi Bail <eloi.bail at gmail.com>
>
>> Hi all,
>>
>> We are trying to recompile Gstreamer SDK on windows to ad include some
>> patches in gnonlin and libavcodec.
>>
>> We were using Cerbero (with tag  sdk-release-sdk-2012.11).
>>
>> We compiling some hours (or days :) ) and had unexplained reboot of our
>> machine.
>>
>> We would like not to compile from the begining. When relaunching the
>> compilation we had the following issue :
>>
>
> I forgot to mention there is simpler way to rebuild a project with custom
> patches without having to rebuilding the complete SDK.
> It's explained in "Build a single project with the SDK" here:
> http://docs.gstreamer.com/display/GstSDK/Building+from+source+using+Cerbero
>
> Andoni
>
>
>>
>> ----------------------------------------
>> cerbero package gstreamer-libav
>>
>> ...
>>
>> [(66/70) winpthreads -> already built ]
>> [(67/70) libcroco -> fetch ]
>> -----> Step done
>> [(67/70) libcroco -> extract ]
>> -----> Step done
>> [(67/70) libcroco -> configure ]
>> -----> Step done
>> [(67/70) libcroco -> compile ]
>> Running command 'make'
>> make  all-recursive
>> make[1]: Entering directory
>> `/usr/home/alstom/cerbero/sources/windows_x86/libcro
>> co-0.6.5'
>> Making all in src
>> make[2]: Entering directory
>> `/usr/home/alstom/cerbero/sources/windows_x86/libcro
>> co-0.6.5/src'
>> /bin/sh ../libtool  --tag=CC   --mode=link i686-w64-mingw32-gcc
>> -mms-bitfields -
>> IC:/MinGW/msys/1.0/home/alstom/cerbero/dist/windows_x86/include/glib-2.0
>> -IC:/Mi
>> nGW/msys/1.0/home/alstom/cerbero/dist/windows_x86/lib/glib-2.0/include
>> -IC:/MinG
>> W/msys/1.0/home/alstom/cerbero/dist/windows_x86/include/libxml2    -g -O2
>> -DWINV
>> ER=0x0501 -Wall -Wextra -Wunused -Wreturn-type -Wswitch -Wcomment
>> -Wtrigraphs -W
>> char-subscripts -Wparentheses -Winline -Wredundant-decls
>> -Wformat-nonliteral -We
>> rror=format-security -Wsign-compare -Werror=implicit-function-declaration
>> -Wpoin
>> ter-arith -Wwrite-strings -Wstrict-prototypes -Waggregate-return
>> -Wcast-align -W
>> implicit -Wuninitialized -Wmissing-prototypes -Wmissing-declarations
>> -Wnested-ex
>> terns -Wpacked -Wmissing-format-attribute -Wshadow -Wstrict-aliasing=2
>> -Winit-se
>> lf -Wunsafe-loop-optimizations -Wdeclaration-after-statement
>> -Wold-style-definit
>> ion -Wno-missing-field-initializers -Wno-unused-parameter -fno-common
>> -Wno-switc
>> h-enum -version-info 3:1:0 -no-undefined -Wl,-Bsymbolic-functions
>>  -LC:/MinGW/ms
>> ys/1.0/home/alstom/cerbero/dist/windows_x86/lib  -o libcroco-0.6.la-rpath /C/Mi
>> nGW/msys/1.0/home/alstom/cerbero/dist/windows_x86/lib
>> libcroco_0_6_la-cr-utils.l
>> o libcroco_0_6_la-cr-input.lo libcroco_0_6_la-cr-enc-handler.lo
>> libcroco_0_6_la-
>> cr-num.lo libcroco_0_6_la-cr-rgb.lo libcroco_0_6_la-cr-token.lo
>> libcroco_0_6_la-
>> cr-tknzr.lo libcroco_0_6_la-cr-term.lo libcroco_0_6_la-cr-attr-sel.lo
>> libcroco_0
>> _6_la-cr-pseudo.lo libcroco_0_6_la-cr-additional-sel.lo
>> libcroco_0_6_la-cr-simpl
>> e-sel.lo libcroco_0_6_la-cr-selector.lo libcroco_0_6_la-cr-doc-handler.lo
>> libcro
>> co_0_6_la-cr-parser.lo libcroco_0_6_la-cr-declaration.lo
>> libcroco_0_6_la-cr-stat
>> ement.lo libcroco_0_6_la-cr-stylesheet.lo libcroco_0_6_la-cr-cascade.lo
>> libcroco
>> _0_6_la-cr-om-parser.lo libcroco_0_6_la-cr-style.lo
>> libcroco_0_6_la-cr-sel-eng.l
>> o libcroco_0_6_la-cr-fonts.lo libcroco_0_6_la-cr-prop-list.lo
>> libcroco_0_6_la-cr
>> -parsing-location.lo libcroco_0_6_la-cr-string.lo
>>  -LC:/MinGW/msys/1.0/home/alst
>> om/cerbero/dist/windows_x86/lib -lglib-2.0 -lintl -lxml2
>> libtool: link: `libcroco_0_6_la-cr-string.lo' is not a valid libtool
>> object
>> make[2]: *** [libcroco-0.6.la] Error 1
>> make[2]: Leaving directory *
>> `/usr/home/alstom/cerbero/sources/windows_x86/libcroc*
>> o-0.6.5/src'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory
>> `/usr/home/alstom/cerbero/sources/windows_x86/libcroc
>> o-0.6.5'
>> make: *** [all] Error 2
>> ***** Error running 'package' command:
>> Recipe 'libcroco' failed at the build step 'compile'
>>
>> -------------------------------------
>>
>> It looks like the path of libcroco is linux like and not windows.
>>
>> I have it in ./cerbero/sources/windows_x86/libcroco-0.6.5/
>>
>> Could you help us to resolve it ?
>>
>> Thanks,
>>
>> Eloi
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>>
>
>
> --
> Andoni Morales Alastruey
>
> LongoMatch:The Digital Coach
> http://www.longomatch.ylatuya.es
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130510/7afe27d4/attachment.html>


More information about the gstreamer-devel mailing list