build QtGstreamer on windows: gst_message_new_qos could not be located in libgstreamer-0.10.dll

George Kiagiadakis kiagiadakis.george at gmail.com
Mon Jul 2 00:53:22 PDT 2012


On Mon, Jul 2, 2012 at 5:25 AM, 柳胜兵 <colin.liu1988 at gmail.com> wrote:
> Hi,
>
> I'm trying to build QtGstreamer on windows following the wiki:
>
> At the beginning ,the output is like
> "
>
> 'libxml/parser.h'
> : No such file or directory

This is because ossbuild hasn't updated its gstconfig.h since ages...
Commenting the line out is the right thing to do.

> After commenting the including of the file in gstconfig.h,the output
> contains
> "
> 35>Compiling...
> 35>openglsurfacepainter.cpp
> 35>..\..\..\elements\gstqtvideosink\openglsurfacepainter.cpp(209) : error
> C2065:
>  'GL_CLAMP_TO_EDGE' : undeclared identifier
> 35>..\..\..\elements\gstqtvideosink\openglsurfacepainter.cpp(210) : error
> C2065:
>  'GL_CLAMP_TO_EDGE' : undeclared identifier
> 35>Build log was saved at
> "file://e:\liushengbing\lab\hema\qt-gstreamer-0.10.2\q
> t-gstreamer-0.10.2\build\elements\gstqtvideosink\gstqtvideosink.dir\Debug\BuildL
> og.htm"
> 35>gstqtvideosink - 2 error(s), 0 warning(s)
> 36>------ Build started: Project: qtvideosink_autotest, Configuration: Debug
> Win
> 32 ------
> 36>Compiling...
> 36>openglsurfacepainter.cpp
> 34>..\..\..\examples\qmlplayer\main.cpp(35) : error C3861: 'setenv':
> identifier
> not found
> 34>Build log was saved at
> "file://e:\liushengbing\lab\hema\qt-gstreamer-0.10.2\q
> t-gstreamer-0.10.2\build\examples\qmlplayer\qmlplayer.dir\Debug\BuildLog.htm"
> 34>qmlplayer - 1 error(s), 0 warning(s)
> 36>..\..\..\elements\gstqtvideosink\openglsurfacepainter.cpp(209) : error
> C2065:
>  'GL_CLAMP_TO_EDGE' : undeclared identifier
> 36>..\..\..\elements\gstqtvideosink\openglsurfacepainter.cpp(210) : error
> C2065:
>  'GL_CLAMP_TO_EDGE' : undeclared identifier
> 36>Build log was saved at
> "file://e:\liushengbing\lab\hema\qt-gstreamer-0.10.2\q
> t-gstreamer-0.10.2\build\elements\gstqtvideosink\qtvideosink_autotest.dir\Debug\
> BuildLog.htm"
> 36>qtvideosink_autotest - 2 error(s), 0 warning(s)
> "

This looks like a bug. To be honest, I haven't tested this code on
windows. It's possible that the OpenGL headers there are a bit old, I
don't know...

> I ignored these error , typed "cmake --build . --target install" ,and get
> the output like
> "
>
> 37>-- Up-to-date:
> D:/QtSDK/Desktop/Qt/4.7.4/msvc2008/imports/QtGStreamer/qmldir
> 37>CMake Error at elements/gstqtvideosink/cmake_install.cmake:34 (FILE):
> 37>  file INSTALL cannot find
> 37>
> "E:/liushengbing/lab/hema/qt-gstreamer-0.10.2/qt-gstreamer-0.10.2/build/ele
> ments/gstqtvideosink/Debug/gstqtvideosink.dll".
> 37>Call Stack (most recent call first):
> 37>  elements/cmake_install.cmake:32 (INCLUDE)
> 37>  cmake_install.cmake:33 (INCLUDE)
> 37>Project : error PRJ0019: A tool returned an error code from "Performing
> Post-
> Build Event..."
> 37>Build log was saved at
> "file://e:\liushengbing\lab\hema\qt-gstreamer-0.10.2\q
> t-gstreamer-0.10.2\build\INSTALL.dir\Debug\BuildLog.htm"
> 37>INSTALL - 1 error(s), 0 warning(s)
> ========== Build: 33 succeeded, 4 failed, 32 up-to-date, 0 skipped
> ==========

Expected, since the compilation failed.

> when I launch the example  build\examples\player\Debug\player.exe   ,
> Windows pops up the error window
> "
>
>   the procedure entry point gst_message_new_qos could not be located in the
> dynamic link library libgstreamer-0.10.dll
>

This looks like a bug in ossbuild...


More information about the gstreamer-devel mailing list