Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building in OSX is broken #8

Open
abraiante opened this issue Apr 17, 2017 · 0 comments
Open

Building in OSX is broken #8

abraiante opened this issue Apr 17, 2017 · 0 comments

Comments

@abraiante
Copy link

Hi,

I've seen this reported several times but haven't found a solution for it, so in the spirit of helping to sort it out, I've decided to create a ticket here instead of the bug-tracker or the mailing-list that sometimes can be too dissapointing.

My environment is as follows:

  • Cmake 3.8.0 (homebrew)
  • pkg-config 0.29.2 (homebrew)
  • Gstreamer 0.10.4 (official packages)
  • Boost 1.63.0 (self-built)
  • QT 5.8.0 (official packages)

My shell environment:

PATH=/Volumes/DevelopHD/Qt5.8.0/5.8/clang_64/bin/:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/MacGPG2/bin:/usr/texbin
PKG_CONFIG_PATH=/Library/Frameworks/GStreamer.framework/Versions/1.0/lib/pkgconfig/:/usr/local/lib/pkgconfig:/usr/local/lib
This is the output of my building command:

abraiante-mac:build abraiante$ CMAKE_CXX_FLAGS="-std=c++11 -stdlib=libc++ " cmake .. -DCMAKE_BUILD_TYPE=Debug -DQT_VERSION=5 -DCMAKE_INSTALL_PREFIX=/Users/abraiante/qt-gstreamer -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_FLAGS="-std=c++11 -stdlib=libc++ " -DBoost_INCLUDE_DIR=/Users/abraiante/src/boost_1_63_0/
-- The C compiler identification is AppleClang 8.0.0.8000042
-- The CXX compiler identification is AppleClang 8.0.0.8000042
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/clang++
-- Check for working CXX compiler: /usr/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using Qt5 (min: 5.0.0)
CMake Warning at cmake/modules/FindQt4or5.cmake:69 (find_package):
  By not providing "FindQt5Declarative.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "Qt5Declarative", but CMake did not find one.

  Could not find a package configuration file provided by "Qt5Declarative"
  (requested version 5.0.0) with any of the following names:

    Qt5DeclarativeConfig.cmake
    qt5declarative-config.cmake

  Add the installation prefix of "Qt5Declarative" to CMAKE_PREFIX_PATH or set
  "Qt5Declarative_DIR" to a directory containing one of the above files.  If
  "Qt5Declarative" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:24 (find_package)


-- Found Qt4or5: 1  found components:  Core Gui Widgets OpenGL Quick2 Qml Test missing components:  Quick1
-- Boost version: 1.63.0
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.2")
-- Checking for module 'gstreamer-1.0'
--   Found gstreamer-1.0, version 1.10.4
-- Checking for module 'gstreamer-base-1.0'
--   Found gstreamer-base-1.0, version 1.10.4
-- Found GSTREAMER_BASE_LIBRARY: /Library/Frameworks/GStreamer.framework/Versions/1.0/lib/libgstbase-1.0.dylib
-- Found GSTREAMER_BASE_INCLUDE_DIR: /Library/Frameworks/GStreamer.framework/Headers
-- Found GStreamer: /Library/Frameworks/GStreamer.framework/Versions/1.0/lib/libgstreamer-1.0.dylib (Required is at least version "1.2.0")
-- Checking for module 'gstreamer-plugins-base-1.0'
--   Found gstreamer-plugins-base-1.0, version 1.10.4
-- Checking for module 'gstreamer-app-1.0'
--   Found gstreamer-app-1.0, version 1.10.4
-- Found GSTREAMER_APP_LIBRARY: /Library/Frameworks/GStreamer.framework/Versions/1.0/lib/libgstapp-1.0.dylib
-- Found GSTREAMER_APP_INCLUDE_DIR: /Library/Frameworks/GStreamer.framework/Headers
-- Checking for module 'gstreamer-audio-1.0'
--   Found gstreamer-audio-1.0, version 1.10.4
-- Found GSTREAMER_AUDIO_LIBRARY: /Library/Frameworks/GStreamer.framework/Versions/1.0/lib/libgstaudio-1.0.dylib
-- Found GSTREAMER_AUDIO_INCLUDE_DIR: /Library/Frameworks/GStreamer.framework/Headers
-- Checking for module 'gstreamer-video-1.0'
--   Found gstreamer-video-1.0, version 1.10.4
-- Found GSTREAMER_VIDEO_LIBRARY: /Library/Frameworks/GStreamer.framework/Versions/1.0/lib/libgstvideo-1.0.dylib
-- Found GSTREAMER_VIDEO_INCLUDE_DIR: /Library/Frameworks/GStreamer.framework/Headers
-- Checking for module 'gstreamer-pbutils-1.0'
--   Found gstreamer-pbutils-1.0, version 1.10.4
-- Found GSTREAMER_PBUTILS_LIBRARY: /Library/Frameworks/GStreamer.framework/Versions/1.0/lib/libgstpbutils-1.0.dylib
-- Found GSTREAMER_PBUTILS_INCLUDE_DIR: /Library/Frameworks/GStreamer.framework/Headers
-- Found GStreamerPluginsBase: TRUE (Required is at least version "1.2.0")
-- Checking for module 'glib-2.0'
--   Found glib-2.0, version 2.48.1
-- Found GLIB2: /Library/Frameworks/GStreamer.framework/Versions/1.0/lib/libglib-2.0.dylib
-- Checking for module 'gobject-2.0'
--   Found gobject-2.0, version 2.48.1
-- Found GObject: /Library/Frameworks/GStreamer.framework/Headers
-- Performing Test USE_OPENGLES
-- Performing Test USE_OPENGLES - Failed
-- Found OpenGL: /System/Library/Frameworks/OpenGL.framework
CMake Warning (dev) at examples/CMakeLists.txt:13 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target "examples_distcheck".
Call Stack (most recent call first):
  examples/CMakeLists.txt:22 (example_distcheck)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE)

-----------------------------------------------------------------------------
-- 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
   * QtQuick2 (QtQuick) - Required for building QtQuick2 support
   * QtQml - Required for building QtQuick2 support
   * 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 audio library - Required to build QtGStreamer
   * GStreamer video library - Required to build QtGStreamer
   * 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

-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
-----------------------------------------------------------------------------
   * QtQuick1 (QtDeclarative) (5.0.0 or higher)  <http://qt-project.org/>
     Required for building QtQuick1 support
   * Doxygen  <http://www.doxygen.org/>
     Used to generate the API documentation

-----------------------------------------------------------------------------

-- Configuring done
CMake Warning (dev):
  Policy CMP0042 is not set: MACOSX_RPATH is enabled by default.  Run "cmake
  --help-policy CMP0042" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  MACOSX_RPATH is not specified for the following targets:

   Qt5GLib
   Qt5GStreamer
   Qt5GStreamerQuick
   Qt5GStreamerUi
   Qt5GStreamerUtils

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /Users/abraiante/src/qt-gstreamer/build

And now, the output for cmake VERBOSE=1

[ 12%] Linking CXX shared library libQt5GLib-2.0.dylib
cd /Users/abraiante/src/qt-gstreamer/build/src/QGlib && /usr/local/Cellar/cmake/3.8.0/bin/cmake -E cmake_link_script CMakeFiles/Qt5GLib.dir/link.txt --verbose=1
/usr/bin/clang++ -std=c++11 -stdlib=libc++  -g -dynamiclib -Wl,-headerpad_max_install_names -current_version 1.2.0 -o libQt5GLib-2.0.1.2.0.dylib -install_name /Users/abraiante/src/qt-gstreamer/build/src/QGlib/libQt5GLib-2.0.0.dylib CMakeFiles/Qt5GLib.dir/quark.cpp.o CMakeFiles/Qt5GLib.dir/type.cpp.o CMakeFiles/Qt5GLib.dir/paramspec.cpp.o CMakeFiles/Qt5GLib.dir/object.cpp.o CMakeFiles/Qt5GLib.dir/value.cpp.o CMakeFiles/Qt5GLib.dir/signal.cpp.o CMakeFiles/Qt5GLib.dir/error.cpp.o CMakeFiles/Qt5GLib.dir/connect.cpp.o CMakeFiles/Qt5GLib.dir/wrap.cpp.o CMakeFiles/Qt5GLib.dir/init.cpp.o CMakeFiles/Qt5GLib.dir/gen.cpp.o CMakeFiles/Qt5GLib.dir/Qt5GLib_autogen/moc_compilation.cpp.o -Wl,-rpath,/Volumes/DevelopHD/Qt5.8.0/5.8/clang_64/lib /Library/Frameworks/GStreamer.framework/Versions/1.0/lib/libgobject-2.0.dylib /Library/Frameworks/GStreamer.framework/Versions/1.0/lib/libgmodule-2.0.dylib /Library/Frameworks/GStreamer.framework/Versions/1.0/lib/libgthread-2.0.dylib /Library/Frameworks/GStreamer.framework/Versions/1.0/lib/libglib-2.0.dylib /Volumes/DevelopHD/Qt5.8.0/5.8/clang_64/lib/QtCore.framework/QtCore
cd /Users/abraiante/src/qt-gstreamer/build/src/QGlib && /usr/local/Cellar/cmake/3.8.0/bin/cmake -E cmake_symlink_library libQt5GLib-2.0.1.2.0.dylib libQt5GLib-2.0.0.dylib libQt5GLib-2.0.dylib
[ 12%] Built target Qt5GLib
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/QGst/CMakeFiles/Qt5GStreamer_autogen.dir/build.make src/QGst/CMakeFiles/Qt5GStreamer_autogen.dir/depend
cd /Users/abraiante/src/qt-gstreamer/build && /usr/local/Cellar/cmake/3.8.0/bin/cmake -E cmake_depends "Unix Makefiles" /Users/abraiante/src/qt-gstreamer /Users/abraiante/src/qt-gstreamer/src/QGst /Users/abraiante/src/qt-gstreamer/build /Users/abraiante/src/qt-gstreamer/build/src/QGst /Users/abraiante/src/qt-gstreamer/build/src/QGst/CMakeFiles/Qt5GStreamer_autogen.dir/DependInfo.cmake --color=
Dependee "/Users/abraiante/src/qt-gstreamer/build/src/QGst/CMakeFiles/Qt5GStreamer_autogen.dir/DependInfo.cmake" is newer than depender "/Users/abraiante/src/qt-gstreamer/build/src/QGst/CMakeFiles/Qt5GStreamer_autogen.dir/depend.internal".
Dependee "/Users/abraiante/src/qt-gstreamer/build/src/QGst/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/Users/abraiante/src/qt-gstreamer/build/src/QGst/CMakeFiles/Qt5GStreamer_autogen.dir/depend.internal".
Scanning dependencies of target Qt5GStreamer_autogen
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/QGst/CMakeFiles/Qt5GStreamer_autogen.dir/build.make src/QGst/CMakeFiles/Qt5GStreamer_autogen.dir/build
[ 13%] Automatic MOC for target Qt5GStreamer
cd /Users/abraiante/src/qt-gstreamer/build/src/QGst && /usr/local/Cellar/cmake/3.8.0/bin/cmake -E cmake_autogen /Users/abraiante/src/qt-gstreamer/build/src/QGst/CMakeFiles/Qt5GStreamer_autogen.dir/ Debug
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/init.cpp
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/objectstore.cpp
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/value.cpp
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/structure.cpp
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/caps.cpp
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/miniobject.cpp
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/object.cpp
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/pad.cpp
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/ghostpad.cpp
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/element.cpp
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/pluginfeature.cpp
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/elementfactory.cpp
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/bin.cpp
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/childproxy.cpp
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/pipeline.cpp
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/message.cpp
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/bus.cpp
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/parse.cpp
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/urihandler.cpp
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/videoorientation.cpp
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/videooverlay.cpp
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/streamvolume.cpp
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/colorbalance.cpp
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/query.cpp
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/clock.cpp
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/allocator.cpp
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/memory.cpp
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/buffer.cpp
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/event.cpp
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/clocktime.cpp
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/taglist.cpp
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/sample.cpp
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/bufferlist.cpp
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/discoverer.cpp
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/segment.cpp
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/allocator.h
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/bin.h
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/buffer.h
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/bufferlist.h
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/bus.h
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/caps.h
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/childproxy.h
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/clock.h
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/clocktime.h
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/colorbalance.h
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/discoverer.h
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/element.h
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/elementfactory.h
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/event.h
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/ghostpad.h
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/init.h
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/memory.h
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/message.h
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/miniobject.h
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/object.h
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/objectstore_p.h
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/pad.h
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/parse.h
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/pipeline.h
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/pluginfeature.h
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/query.h
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/sample.h
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/segment.h
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/streamvolume.h
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/structure.h
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/taglist.h
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/urihandler.h
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/videoorientation.h
AutoMoc: Checking /Users/abraiante/src/qt-gstreamer/src/QGst/videooverlay.h
Generating MOC compilation Qt5GStreamer_autogen/moc_compilation.cpp
[ 13%] Built target Qt5GStreamer_autogen
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/QGst/CMakeFiles/Qt5GStreamer.dir/build.make src/QGst/CMakeFiles/Qt5GStreamer.dir/depend
[ 13%] Copying gen.cpp to the build directory
cd /Users/abraiante/src/qt-gstreamer/build/src/QGst && /usr/local/Cellar/cmake/3.8.0/bin/cmake -E copy /Users/abraiante/src/qt-gstreamer/src/QGst/gen.cpp /Users/abraiante/src/qt-gstreamer/build/src/QGst/gen.cpp
cd /Users/abraiante/src/qt-gstreamer/build && /usr/local/Cellar/cmake/3.8.0/bin/cmake -E cmake_depends "Unix Makefiles" /Users/abraiante/src/qt-gstreamer /Users/abraiante/src/qt-gstreamer/src/QGst /Users/abraiante/src/qt-gstreamer/build /Users/abraiante/src/qt-gstreamer/build/src/QGst /Users/abraiante/src/qt-gstreamer/build/src/QGst/CMakeFiles/Qt5GStreamer.dir/DependInfo.cmake --color=
Dependee "/Users/abraiante/src/qt-gstreamer/build/src/QGst/CMakeFiles/Qt5GStreamer.dir/DependInfo.cmake" is newer than depender "/Users/abraiante/src/qt-gstreamer/build/src/QGst/CMakeFiles/Qt5GStreamer.dir/depend.internal".
Dependee "/Users/abraiante/src/qt-gstreamer/build/src/QGst/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/Users/abraiante/src/qt-gstreamer/build/src/QGst/CMakeFiles/Qt5GStreamer.dir/depend.internal".
Scanning dependencies of target Qt5GStreamer
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/QGst/CMakeFiles/Qt5GStreamer.dir/build.make src/QGst/CMakeFiles/Qt5GStreamer.dir/build
[ 14%] Building CXX object src/QGst/CMakeFiles/Qt5GStreamer.dir/init.cpp.o
cd /Users/abraiante/src/qt-gstreamer/build/src/QGst && /usr/bin/clang++  -DGST_DISABLE_LOADSAVE -DGST_DISABLE_XML -DQTGLVIDEOSINK_NAME=\"qt5glvideosink\" -DQTVIDEOSINK_NAME=\"qt5videosink\" -DQT_CORE_LIB -DQT_NO_KEYWORDS -DQWIDGETVIDEOSINK_NAME=\"qwidget5videosink\" -DQt5GStreamer_EXPORTS -D_REENTRANT -I/Users/abraiante/src/qt-gstreamer/build/src/QGst -I/Users/abraiante/src/qt-gstreamer/src/QGst -I/Users/abraiante/src/qt-gstreamer/build/src/QGst/Qt5GStreamer_autogen/include -I/Users/abraiante/src/qt-gstreamer/src -I/Users/abraiante/src/boost_1_63_0 -iframework /Volumes/DevelopHD/Qt5.8.0/5.8/clang_64/lib -isystem /Volumes/DevelopHD/Qt5.8.0/5.8/clang_64/lib/QtCore.framework/Headers -isystem /Volumes/DevelopHD/Qt5.8.0/5.8/clang_64/./mkspecs/macx-clang -I/Library/Frameworks/GStreamer.framework/Headers  -std=c++11 -stdlib=libc++  -g -fPIC   -I/Library/Frameworks/GStreamer.framework/Versions/1.0/include/gstreamer-1.0 -I/Library/Frameworks/GStreamer.framework/Versions/1.0/include/glib-2.0 -I/Library/Frameworks/GStreamer.framework/Versions/1.0/lib/glib-2.0/include -fPIC -std=gnu++11 -o CMakeFiles/Qt5GStreamer.dir/init.cpp.o -c /Users/abraiante/src/qt-gstreamer/src/QGst/init.cpp
In file included from /Users/abraiante/src/qt-gstreamer/src/QGst/init.cpp:17:
In file included from /Users/abraiante/src/qt-gstreamer/src/QGst/init.h:20:
In file included from /Users/abraiante/src/qt-gstreamer/src/QGst/global.h:25:
In file included from /Users/abraiante/src/qt-gstreamer/src/QGst/../QGlib/type.h:22:
In file included from /Users/abraiante/src/qt-gstreamer/src/QGst/../QGlib/global.h:25:
In file included from /Volumes/DevelopHD/Qt5.8.0/5.8/clang_64/lib/QtCore.framework/Headers/QtGlobal:1:
In file included from /Volumes/DevelopHD/Qt5.8.0/5.8/clang_64/lib/QtCore.framework/Headers/qglobal.h:108:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:628:
In file included from /Users/abraiante/src/qt-gstreamer/src/QGst/memory:1:
In file included from /Users/abraiante/src/qt-gstreamer/src/QGst/memory.h:21:
In file included from /Users/abraiante/src/qt-gstreamer/src/QGst/miniobject.h:21:
In file included from /Users/abraiante/src/qt-gstreamer/src/QGst/../QGlib/refpointer.h:24:
/Users/abraiante/src/qt-gstreamer/src/QGst/../QGlib/wrap.h:37:1: error: unknown type name 'QTGLIB_EXPORT'
QTGLIB_EXPORT RefCountedObject *constructWrapper(Type instanceType, void *instance);
^
/Users/abraiante/src/qt-gstreamer/src/QGst/../QGlib/wrap.h:37:31: error: expected ';' after top level declarator
QTGLIB_EXPORT RefCountedObject *constructWrapper(Type instanceType, void *instance);
                              ^
/Users/abraiante/src/qt-gstreamer/src/QGst/../QGlib/wrap.h:68:1: error: unknown type name 'QTGLIB_EXPORT'
QTGLIB_EXPORT RefCountedObject *wrapObject(void *gobject);
^
/Users/abraiante/src/qt-gstreamer/src/QGst/../QGlib/wrap.h:68:31: error: expected ';' after top level declarator
QTGLIB_EXPORT RefCountedObject *wrapObject(void *gobject);
                              ^
/Users/abraiante/src/qt-gstreamer/src/QGst/../QGlib/wrap.h:69:1: error: unknown type name 'QTGLIB_EXPORT'
QTGLIB_EXPORT RefCountedObject *wrapParamSpec(void *param);
^
/Users/abraiante/src/qt-gstreamer/src/QGst/../QGlib/wrap.h:69:31: error: expected ';' after top level declarator
QTGLIB_EXPORT RefCountedObject *wrapParamSpec(void *param);
                              ^
/Users/abraiante/src/qt-gstreamer/src/QGst/../QGlib/wrap.h:70:1: error: unknown type name 'QTGLIB_EXPORT'
QTGLIB_EXPORT RefCountedObject *wrapInterface(Type interfaceType, void *gobject);
^
/Users/abraiante/src/qt-gstreamer/src/QGst/../QGlib/wrap.h:70:31: error: expected ';' after top level declarator
QTGLIB_EXPORT RefCountedObject *wrapInterface(Type interfaceType, void *gobject);
                              ^
In file included from /Users/abraiante/src/qt-gstreamer/src/QGst/init.cpp:17:
In file included from /Users/abraiante/src/qt-gstreamer/src/QGst/init.h:20:
In file included from /Users/abraiante/src/qt-gstreamer/src/QGst/global.h:25:
In file included from /Users/abraiante/src/qt-gstreamer/src/QGst/../QGlib/type.h:22:
In file included from /Users/abraiante/src/qt-gstreamer/src/QGst/../QGlib/global.h:25:
In file included from /Volumes/DevelopHD/Qt5.8.0/5.8/clang_64/lib/QtCore.framework/Headers/QtGlobal:1:
In file included from /Volumes/DevelopHD/Qt5.8.0/5.8/clang_64/lib/QtCore.framework/Headers/qglobal.h:108:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:628:
In file included from /Users/abraiante/src/qt-gstreamer/src/QGst/memory:1:
In file included from /Users/abraiante/src/qt-gstreamer/src/QGst/memory.h:21:
In file included from /Users/abraiante/src/qt-gstreamer/src/QGst/miniobject.h:21:
In file included from /Users/abraiante/src/qt-gstreamer/src/QGst/../QGlib/refpointer.h:26:
In file included from /Users/abraiante/src/boost_1_63_0/boost/type_traits.hpp:93:
In file included from /Users/abraiante/src/boost_1_63_0/boost/type_traits/is_complex.hpp:11:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/complex:247:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/sstream:174:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ostream:138:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ios:216:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__locale:15:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:983:16: error: no member named '__search' in namespace 'std::__1'
        _VSTD::__search(__p + __pos, __p + __sz,
        ~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:1018:20: error: no member named 'min' in namespace 'std::__1'
    __pos = _VSTD::min(__pos, __sz);
            ~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:1023:32: error: no member named '__find_end' in namespace 'std::__1'
    const _CharT* __r = _VSTD::__find_end(
                        ~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:1039:32: error: no member named '__find_first_of_ce' in namespace 'std::__1'
    const _CharT* __r = _VSTD::__find_first_of_ce
                        ~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:1139:12: error: use of undeclared identifier '__murmur2_or_cityhash'
    return __murmur2_or_cityhash<size_t>()(__p, (__e-__p)*sizeof(value_type));
           ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:1139:34: error: unexpected type name 'size_t': expected expression
    return __murmur2_or_cityhash<size_t>()(__p, (__e-__p)*sizeof(value_type));
                                 ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:1139:42: error: expected expression
    return __murmur2_or_cityhash<size_t>()(__p, (__e-__p)*sizeof(value_type));
                                         ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:1228:13: error: unknown type name 'allocator_traits'; did you mean
      'allocator_arg_t'?
    typedef allocator_traits<allocator_type>             __alloc_traits;
            ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__functional_base:629:30: note: 'allocator_arg_t' declared here
struct _LIBCPP_TYPE_VIS_ONLY allocator_arg_t { };
                             ^
In file included from /Users/abraiante/src/qt-gstreamer/src/QGst/init.cpp:17:
In file included from /Users/abraiante/src/qt-gstreamer/src/QGst/init.h:20:
In file included from /Users/abraiante/src/qt-gstreamer/src/QGst/global.h:25:
In file included from /Users/abraiante/src/qt-gstreamer/src/QGst/../QGlib/type.h:22:
In file included from /Users/abraiante/src/qt-gstreamer/src/QGst/../QGlib/global.h:25:
In file included from /Volumes/DevelopHD/Qt5.8.0/5.8/clang_64/lib/QtCore.framework/Headers/QtGlobal:1:
In file included from /Volumes/DevelopHD/Qt5.8.0/5.8/clang_64/lib/QtCore.framework/Headers/qglobal.h:108:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:628:
In file included from /Users/abraiante/src/qt-gstreamer/src/QGst/memory:1:
In file included from /Users/abraiante/src/qt-gstreamer/src/QGst/memory.h:21:
In file included from /Users/abraiante/src/qt-gstreamer/src/QGst/miniobject.h:21:
In file included from /Users/abraiante/src/qt-gstreamer/src/QGst/../QGlib/refpointer.h:26:
In file included from /Users/abraiante/src/boost_1_63_0/boost/type_traits.hpp:93:
In file included from /Users/abraiante/src/boost_1_63_0/boost/type_traits/is_complex.hpp:11:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/complex:247:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/sstream:174:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ostream:138:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ios:216:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__locale:15:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:1228:29: error: expected member name or ';' after declaration specifiers
    typedef allocator_traits<allocator_type>             __alloc_traits;
    ~~~~~~~~~~~~~~~~~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:1229:22: error: use of undeclared identifier '__alloc_traits'
    typedef typename __alloc_traits::size_type           size_type;
                     ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:1229:38: error: expected a qualified name after 'typename'
    typedef typename __alloc_traits::size_type           size_type;
                                     ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [src/QGst/CMakeFiles/Qt5GStreamer.dir/init.cpp.o] Error 1
make[1]: *** [src/QGst/CMakeFiles/Qt5GStreamer.dir/all] Error 2
make: *** [all] Error 2

This ticket reported a similar issue a couple of years ago, but there is no activity there.

Any ideas on how to solve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant