[gst-devel] gstreamer ossbuild misssing pieces

Kulecz, Walter (JSC-SK)[WYLE INTEG. SCI. & ENG.] walter.kulecz-1 at nasa.gov
Wed Apr 7 21:53:03 CEST 2010


>From: Andoni Morales [ylatuya at gmail.com]
>Sent: Wednesday, April 07, 2010 10:50 AM
>To: Discussion of the development of GStreamer
>Subject: Re: [gst-devel] gstreamer ossbuild misssing pieces
>
>2010/4/7 Kulecz, Walter (JSC-SK)[WYLE INTEG. SCI. & ENG.]
><walter.kulecz-1 at nasa.gov>:
>> gcc HelloGstreamer.c -o HelloGstreamer `pkg-config --cflags --libs  gstreamer-0.10`
>>
> >Gives a large set of error messages suggesting the `pkg-config` stuff in  mingw32 is not 
>> set up correctly -- which I've not got a clue as to what defines correctly.
>
>You'll need to install GStreamerWinBuild-0.10.5-dev.exe and add
>'/c/gstreamer/lib/pkgconfig/' to PKG_CONFIG_PATH. or
>install the developers package in the same folder as your msys installation.
>
>Cheers,
>Andoni

Thanks, this is a start. I'd installed both the WinBuild and WinBuild-dev  0.10.5 packages after installing (un-zipping) the msys download.

I added the PKG_CONFIG_PATH and now my MINGW32 window  env command shows:

    GST_PLUGIN_PATH=c:\gstreamer\lib\gstreamer-0.10
    PKG_CONFIG_PATH=c:\gstreamer\lib\pkgconfig\
    MAKE_MODE=unix

but now the build command gives:
$ gcc HelloGstreamer.c -o HelloGstreamer `pkg-config --cflags --libs gstreamer-0.10`
In file included from c:/gstreamer/include/libxml2/libxml/parser.h:798,
                 from c:/gstreamer/include/gstreamer-0.10/gst/gstconfig.h:131,
                 from c:/gstreamer/include/gstreamer-0.10/gst/gstelement.h:51,
                 from c:/gstreamer/include/gstreamer-0.10/gst/gstbin.h:27,
                 from c:/gstreamer/include/gstreamer-0.10/gst/gst.h:34,
                 from HelloGstreamer.c:1:
c:/gstreamer/include/libxml2/libxml/encoding.h:28:19: error: iconv.h: No such file or directory
In file included from c:/gstreamer/include/libxml2/libxml/parser.h:798,
                 from c:/gstreamer/include/gstreamer-0.10/gst/gstconfig.h:131,
                 from c:/gstreamer/include/gstreamer-0.10/gst/gstelement.h:51,
                 from c:/gstreamer/include/gstreamer-0.10/gst/gstbin.h:27,
                 from c:/gstreamer/include/gstreamer-0.10/gst/gst.h:34,
                 from HelloGstreamer.c:1:
c:/gstreamer/include/libxml2/libxml/encoding.h:136: error: expected specifier-qualifier-list before 'iconv_t'



>PKG_CONFIG_PATH to include /c/gstreamer/lib/pkgconfg or installing the
>developers package under /c/msys/ should be enough to use pkg-config
>in the msys/mingw environment.

Obviously it did not.   I can test the install on my XP notebook but this is not really going to help since I don't have a video capture card for my notebook.

Frankly I wouldn't bet the farm on it working on XP either, as I copied the WS2_32.dll from my XP system to the gstreamer\bin directory and created an empty .local file, that got rid of one set of "Entry Point Not Found" errors but created another:

"The procedure entry point RtlIpv4StringToAddressW" not found in ntdll.dll

Grabbing the XP ntdll.dll and putting it in the gstreamer/bin directory didn't change anything.  Since I don't need to use any of the network related plugins, just getting past this might let me proceed.


Obviously if any of this about WinBuild not supporting Windows2000 was documented at  http://code.google.com/p/ossbuild/downloads/list I wouldn't have bothered downloading anything :(



More information about the gstreamer-devel mailing list