Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-28862

Qt library, version 5.0.0 is not buildable using 32-bit clang compiler on Mac OS X

    XMLWordPrintable

Details

    • macOS

    Description

      An error is encountered when building Qt 5.0.0 from source on Mac OS X 10.7.5 using 32-bit clang compiler. I've chosen clang instead of gcc, since I've noticed that the official Qt 5.0.0 binaries are build using clang. After configuring Qt using:

      ./configure -platform macx-clang-32

      ... and running:

      make

      ... the following errors occur:

      clang++ -headerpad_max_install_names -mmacosx-version-min=10.6 -arch i386 -single_module -dynamiclib -o libqqt7engine_debug.dylib .obj/debug-shared/qt7backend.o .obj/debug-shared/qt7serviceplugin.o .obj/debug-shared/qt7movieviewoutput.o .obj/debug-shared/qt7movierenderer.o .obj/debug-shared/qt7videooutput.o .obj/debug-shared/qt7ciimagevideobuffer.o .obj/debug-shared/qcvdisplaylink.o .obj/debug-shared/qt7movieviewrenderer.o .obj/debug-shared/qt7movievideowidget.o .obj/debug-shared/qt7playercontrol.o .obj/debug-shared/qt7playermetadata.o .obj/debug-shared/qt7playerservice.o .obj/debug-shared/qt7playersession.o .obj/debug-shared/moc_qt7videooutput.o .obj/debug-shared/moc_qt7serviceplugin.o -framework AppKit -framework AudioUnit -framework AudioToolbox -framework CoreAudio -framework QuartzCore -framework QTKit -F/Users/joro/Desktop/Qt_5.0.0_32bit/qt-everywhere-opensource-src-5.0.0/qtmultimedia/lib -framework QtMultimediaWidgets -F/Users/joro/Desktop/Qt_5.0.0_32bit/qt-everywhere-opensource-src-5.0.0/qtbase/lib -framework QtMultimedia -framework ApplicationServices -framework QtGui -framework QtCore -framework QtNetwork -framework QtWidgets -framework QtOpenGL -framework OpenGL -framework AGL
      Undefined symbols for architecture i386:
      "_GetMaxLoadedTimeInMovie", referenced from:
      QT7PlayerSession::availablePlaybackRanges() const in qt7playersession.o
      "_GetMovieTimeScale", referenced from:
      QT7PlayerSession::availablePlaybackRanges() const in qt7playersession.o
      "_QTCopyMovieMetaData", referenced from:
      QT7PlayerMetaDataControl::updateTags() in qt7playermetadata.o
      "_QTMetaDataGetItemProperty", referenced from:
      __ZL13readMetaValueP19OpaqueQTMetaDataRefymmPPvPm in qt7playermetadata.o
      "_QTMetaDataGetItemPropertyInfo", referenced from:
      __ZL13readMetaValueP19OpaqueQTMetaDataRefymmPPvPm in qt7playermetadata.o
      "_QTMetaDataGetNextItem", referenced from:
      __ZL17readFormattedDataP19OpaqueQTMetaDataRefmR9QMultiMapI7QStringS2_E in qt7playermetadata.o
      "_QTOpenGLTextureContextCreate", referenced from:
      QT7MovieRenderer::createGLVisualContext() in qt7movierenderer.o
      QT7MovieVideoWidget::createVisualContext() in qt7movievideowidget.o
      "_QTPixelBufferContextCreate", referenced from:
      QT7MovieRenderer::createPixelBufferVisualContext() in qt7movierenderer.o
      "_QTVisualContextCopyImageForTime", referenced from:
      QT7MovieRenderer::updateVideoFrame(CVTimeStamp const&) in qt7movierenderer.o
      QT7MovieVideoWidget::updateVideoFrame(CVTimeStamp const&) in qt7movievideowidget.o
      "_QTVisualContextIsNewImageAvailable", referenced from:
      QT7MovieRenderer::updateVideoFrame(CVTimeStamp const&) in qt7movierenderer.o
      QT7MovieVideoWidget::updateVideoFrame(CVTimeStamp const&) in qt7movievideowidget.o
      "_QTVisualContextRelease", referenced from:
      QT7MovieRenderer::createPixelBufferVisualContext() in qt7movierenderer.o
      QT7MovieRenderer::setupVideoOutput() in qt7movierenderer.o
      "_QTVisualContextTask", referenced from:
      QT7MovieRenderer::updateVideoFrame(CVTimeStamp const&) in qt7movierenderer.o
      QT7MovieVideoWidget::updateVideoFrame(CVTimeStamp const&) in qt7movievideowidget.o
      "_SetMovieVisualBrightness", referenced from:
      QT7MovieVideoWidget::updateColors() in qt7movievideowidget.o
      "_SetMovieVisualContext", referenced from:
      QT7MovieRenderer::setupVideoOutput() in qt7movierenderer.o
      QT7MovieRenderer::setMovie(void*) in qt7movierenderer.o
      QT7MovieVideoWidget::setupVideoOutput() in qt7movievideowidget.o
      QT7MovieVideoWidget::setMovie(void*) in qt7movievideowidget.o
      "_SetMovieVisualContrast", referenced from:
      QT7MovieVideoWidget::updateColors() in qt7movievideowidget.o
      "_SetMovieVisualHue", referenced from:
      QT7MovieVideoWidget::updateColors() in qt7movievideowidget.o
      "_SetMovieVisualSaturation", referenced from:
      QT7MovieVideoWidget::updateColors() in qt7movievideowidget.o
      "_kQTVisualContextOutputColorSpaceKey", referenced from:
      QT7MovieRenderer::createPixelBufferVisualContext() in qt7movierenderer.o
      QT7MovieVideoWidget::createVisualContext() in qt7movievideowidget.o
      QT7MovieRenderer::createPixelBufferVisualContext() in qt7movierenderer.o
      QT7MovieVideoWidget::createVisualContext() in qt7movievideowidget.o
      "_kQTVisualContextPixelBufferAttributesKey", referenced from:
      QT7MovieRenderer::createPixelBufferVisualContext() in qt7movierenderer.o
      ld: symbol(s) not found for architecture i386
      clang: error: linker command failed with exit code 1 (use -v to see invocation)
      make[5]: *** [../../../plugins/mediaservice/libqqt7engine_debug.dylib] Error 1
      make[4]: *** [debug-all] Error 2
      make[3]: *** [sub-qt7-make_first] Error 2
      make[2]: *** [sub-plugins-make_first] Error 2
      make[1]: *** [sub-src-make_first] Error 2
      make: *** [module-qtmultimedia-make_first] Error 2

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              sorvig Morten Sørvig
              caravanio Caravanio Napajejenunedkov
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes