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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

柳胜兵
Hi,

I'm trying to build QtGstreamer on windows following the wiki:

http://gstreamer.freedesktop.org/wiki/QtGStreamer/BuildingOnWindows

all is fine until I compile QtGstreamer using the configure 
"cmake -G "Visual Studio 9 2008" -DCMAKE_INSTALL_PREFIX="E:/liushengbing/lab/hema/qt-gstreamer-0.10.2/qt-gstreamer-0.10.2/install" ^
   -DBOOST_ROOT="D:/dev/boost/boost_1_49_0"  -DCMAKE_INCLUDE_PATH="D:/dev/ossbuild/Shared/MSVC/Include" ^
   -DQTGSTREAMER_TESTS=ON ^ 
   -DGST_DISABLE_XML -DGST_DISABLE_LOADSAVE ^
   -DCMAKE_PREFIX_PATH="D:/dev/ossbuild/Build/Windows/Win32/Release;D:/dev/ossbuild/Shared/Build/Windows/Win32;C:/automoc/install" ..
" 
At the beginning ,the output is like 
"
'libxml/parser.h'
: No such file or directory
".
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)
"

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 ==========
"
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 

"

any hints?

thanks

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

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

George Kiagiadakis
On Mon, Jul 2, 2012 at 5:25 AM, 柳胜兵 <[hidden email]> 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...
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel