Compiling qt-gstreamer master on Windows under CYGWIN

PiyushAgarwal piyush.agarwal at ll.mit.edu
Thu Apr 10 12:16:02 PDT 2014


Hi Everyone,

Was wondering if I could get some help. I'm trying to compile qt-gstreamer
using QT 5.2.1 32bit w/opengl within a CYGWIN enviornment.

The CMAKE command seems to be successful, but running into an issue after
running MAKE:

 /qt-gstreamer/build
$ cmake .. -DCMAKE_INSTALL_PREFIX=../install -DQT_VERSION=5
-DQTGSTREAMER_TESTS=ON -DQTGSTREAMER_CODEGEN=OFF -DQTGSTREAMER_EXAMPLES=ON
-DCMAKE_PREFIX_PATH=/Qt/Qt5.2.1/5.2.1/msvc2012_32_opengl/
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Defining WIN32 under Cygwin due to CMAKE_LEGACY_CYGWIN_WIN32
-- Check for working C compiler: /usr/bin/gcc.exe
-- Check for working C compiler: /usr/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++.exe
-- Check for working CXX compiler: /usr/bin/c++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Using Qt5 (min: 5.0.0)
-- Found Qt4or5: 1  found components:  Core Gui Widgets OpenGL Quick1 Test
-- Boost version: 1.53.0
-- GCC 4.5 or later detected. Enabling C++0x support in QTGSTREAMER_FLAGS.
-- Found PkgConfig: /usr/bin/pkg-config.exe (found version "0.23")
-- checking for module 'gstreamer-0.10'
--   found gstreamer-0.10, version 0.10.36
-- checking for module 'gstreamer-base-0.10'
--   found gstreamer-base-0.10, version 0.10.36
-- Found GSTREAMER_BASE_LIBRARY: /usr/lib/libgstbase-0.10.dll.a
-- Found GSTREAMER_BASE_INCLUDE_DIR: /usr/include/gstreamer-0.10
-- Found GStreamer: /usr/lib/libgstreamer-0.10.dll.a (Required is at least
version "0.10.33")
-- checking for module 'gstreamer-plugins-base-0.10'
--   found gstreamer-plugins-base-0.10, version 0.10.36
-- checking for module 'gstreamer-app-0.10'
--   found gstreamer-app-0.10, version 0.10.36
-- Found GSTREAMER_APP_LIBRARY: /usr/lib/libgstapp-0.10.dll.a
-- Found GSTREAMER_APP_INCLUDE_DIR: /usr/include/gstreamer-0.10
-- checking for module 'gstreamer-interfaces-0.10'
--   found gstreamer-interfaces-0.10, version 0.10.36
-- Found GSTREAMER_INTERFACES_LIBRARY: /usr/lib/libgstinterfaces-0.10.dll.a
-- Found GSTREAMER_INTERFACES_INCLUDE_DIR: /usr/include/gstreamer-0.10
-- checking for module 'gstreamer-video-0.10'
--   found gstreamer-video-0.10, version 0.10.36
-- Found GSTREAMER_VIDEO_LIBRARY: /usr/lib/libgstvideo-0.10.dll.a
-- Found GSTREAMER_VIDEO_INCLUDE_DIR: /usr/include/gstreamer-0.10
-- checking for module 'gstreamer-pbutils-0.10'
--   found gstreamer-pbutils-0.10, version 0.10.36
-- Found GSTREAMER_PBUTILS_LIBRARY: /usr/lib/libgstpbutils-0.10.dll.a
-- Found GSTREAMER_PBUTILS_INCLUDE_DIR: /usr/include/gstreamer-0.10
-- Found GStreamerPluginsBase: TRUE (Required is at least version "0.10.36")
-- Found GLIB2: /usr/lib/libglib-2.0.dll.a
-- Found GObject: /usr/include/glib-2.0
-- Performing Test USE_OPENGLES
-- Performing Test USE_OPENGLES - Failed
-- Found OpenGL: /usr/lib/w32api/libopengl32.a
-- Found Doxygen: /usr/bin/doxygen.exe (found version "1.8.6")
-- Found DOXYFILE_IN: /qt-gstreamer/Doxyfile.in

-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these
packages.
-----------------------------------------------------------------------------
   * Qt - Required for building everything
   * QtOpenGL - Required for OpenGL acceleration in qtvideosink and
QtGStreamerUi
   * QtQuick1 (QtDeclarative) - Required for building QtQuick1 support
   * QtTest - Required for building unit tests
   * Boost - Required for building QtGLib
   * GStreamer - Required to build QtGStreamer
   * GStreamer base library - Used for building the qt5videosink element
   * GStreamer app library - Required to build QtGStreamerUtils
   * GStreamer interfaces library - Required to build QtGStreamer
   * GStreamer video library - Used for building the qt5videosink element
   * GStreamer pbutils library - Used for building the Discoverer API
   * GLib - Required to build QtGLib
   * GObject - Required to build QtGLib
   * OpenGL - Required for OpenGL rendering support in qt5videosink
   * Doxygen - Used to generate the API documentation

-----------------------------------------------------------------------------
-- Congratulations! All external packages have been found.
-----------------------------------------------------------------------------

-- Configuring done
-- Generating done
-- Build files have been written to: /qt-gstreamer/build



 make
Scanning dependencies of target Qt5GLib_automoc
[  0%] Automoc for target Qt5GLib
Generating connect.moc
moc: /qt-gstreamer/src/QGlib/connect.cpp: No such file
AUTOMOC: error: process for /qt-gstreamer/build/src/QGlib/connect.moc
failed:
moc: /qt-gstreamer/src/QGlib/connect.cpp: No such file

moc failed...
src/QGlib/CMakeFiles/Qt5GLib_automoc.dir/build.make:52: recipe for target
'src/QGlib/CMakeFiles/Qt5GLib_automoc' failed
make[2]: *** [src/QGlib/CMakeFiles/Qt5GLib_automoc] Error 1
CMakeFiles/Makefile2:228: recipe for target
'src/QGlib/CMakeFiles/Qt5GLib_automoc.dir/all' failed
make[1]: *** [src/QGlib/CMakeFiles/Qt5GLib_automoc.dir/all] Error 2
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2



I don't really understand why it's giving a No such file error, because I
can navigate to that path and those files do exist there...

If anyone had some thoughts/things to try that would be really helpful.

Thanks,
Piyush





--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Compiling-qt-gstreamer-master-on-Windows-under-CYGWIN-tp4666416.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list