Compiling QtGstreamer on Mac OS X 10.6.8

George Kiagiadakis kiagiadakis.george at gmail.com
Mon Dec 5 05:08:35 PST 2011


On Sat, Dec 3, 2011 at 5:53 AM, Karl Phillip <maxphil at gmail.com> wrote:
> Linking CXX shared library libQtGLib-2.0.dylib
> cd /Users/karlphillip/installers/qt-gstreamer/build/src/QGlib &&
> /usr/local/Cellar/cmake/2.8.6/bin/cmake -E cmake_link_script
> CMakeFiles/QtGLib.dir/link.txt --verbose=1
> /usr/bin/c++   -Wall -Wextra -Wformat-security -Wundef -Wpointer-arith
> -Wcast-align -fno-common -fvisibility=hidden -fvisibility-inlines-hidden
> -dynamiclib -Wl,-headerpad_max_install_names   -current_version 0.10.1 -o
> libQtGLib-2.0.0.10.1.1.dylib -install_name
> /Users/karlphillip/installers/qt-gstreamer/build/src/QGlib/libQtGLib-2.0.0.dylib
> CMakeFiles/QtGLib.dir/QtGLib_automoc.cpp.o CMakeFiles/QtGLib.dir/quark.cpp.o
> CMakeFiles/QtGLib.dir/type.cpp.o CMakeFiles/QtGLib.dir/paramspec.cpp.o
> CMakeFiles/QtGLib.dir/object.cpp.o CMakeFiles/QtGLib.dir/value.cpp.o
> CMakeFiles/QtGLib.dir/signal.cpp.o CMakeFiles/QtGLib.dir/error.cpp.o
> CMakeFiles/QtGLib.dir/connect.cpp.o CMakeFiles/QtGLib.dir/wrap.cpp.o
> CMakeFiles/QtGLib.dir/init.cpp.o CMakeFiles/QtGLib.dir/gen.cpp.o
> -F/usr/local/Cellar/qt/4.7.4/lib -framework QtCore -lgobject-2.0
> -lgthread-2.0 -lglib-2.0 -lintl
> ld: library not found for -lintl
> collect2: ld returned 1 exit status
> make[2]: *** [src/QGlib/libQtGLib-2.0.0.10.1.1.dylib] Error 1
> make[1]: *** [src/QGlib/CMakeFiles/QtGLib.dir/all] Error 2
> make: *** [all] Error 2
>
> It seems that CMake failed to add the right library path for intl, which in
> my case is "/usr/local/Cellar/gettext/0.18.1.1/lib".
>
> The library itself is compiled for x86_64 and so are the other libraries
> that QtGstreamer depends.
>
> Where is the proper place to make this fix?
>
> Thanks.

Hi,

Can you try this patch?

http://cgit.collabora.com/git/user/gkiagia/libqtgstreamer.git/commit/?h=cmake-fixes&id=8f73894014f1c6524e488aa64b78c1dbdf0c8766

Regards,
George


More information about the gstreamer-devel mailing list