Skip to content

Unable to compile in/for OS X 10.9.5 #20

@albsod

Description

@albsod

I tried to but failed to build pirateplayer in/for OS X 10.9.5. After running make, this happened:

clang++ -c -pipe -stdlib=libc++ -mmacosx-version-min=10.7 -O2 -arch x86_64 -Wall -W -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Cellar/qt/HEAD/mkspecs/unsupported/macx-clang-libc++ -I. -I/usr/local/Cellar/qt/HEAD/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Cellar/qt/HEAD/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Cellar/qt/HEAD/lib/QtNetwork.framework/Versions/4/Headers -I/usr/local/Cellar/qt/HEAD/lib/QtNetwork.framework/Versions/4/Headers -I/usr/local/Cellar/qt/HEAD/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Cellar/qt/HEAD/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Cellar/qt/HEAD/lib/QtOpenGL.framework/Versions/4/Headers -I/usr/local/Cellar/qt/HEAD/lib/QtOpenGL.framework/Versions/4/Headers -I/usr/local/Cellar/qt/HEAD/lib/QtDeclarative.framework/Versions/4/Headers -I/usr/local/Cellar/qt/HEAD/lib/QtDeclarative.framework/Versions/4/Headers -I/usr/local/Cellar/qt/HEAD/include -I/usr/local/include -Iqmlapplicationviewer -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers -I. -F/usr/local/Cellar/qt/HEAD/lib -o download.o src/network/download.cpp
clang++ -c -pipe -stdlib=libc++ -mmacosx-version-min=10.7 -O2 -arch x86_64 -Wall -W -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Cellar/qt/HEAD/mkspecs/unsupported/macx-clang-libc++ -I. -I/usr/local/Cellar/qt/HEAD/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Cellar/qt/HEAD/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Cellar/qt/HEAD/lib/QtNetwork.framework/Versions/4/Headers -I/usr/local/Cellar/qt/HEAD/lib/QtNetwork.framework/Versions/4/Headers -I/usr/local/Cellar/qt/HEAD/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Cellar/qt/HEAD/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Cellar/qt/HEAD/lib/QtOpenGL.framework/Versions/4/Headers -I/usr/local/Cellar/qt/HEAD/lib/QtOpenGL.framework/Versions/4/Headers -I/usr/local/Cellar/qt/HEAD/lib/QtDeclarative.framework/Versions/4/Headers -I/usr/local/Cellar/qt/HEAD/lib/QtDeclarative.framework/Versions/4/Headers -I/usr/local/Cellar/qt/HEAD/include -I/usr/local/include -Iqmlapplicationviewer -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers -I. -F/usr/local/Cellar/qt/HEAD/lib -o systemdownload.o src/network/systemdownload.cpp
clang++ -c -pipe -stdlib=libc++ -mmacosx-version-min=10.7 -O2 -arch x86_64 -Wall -W -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Cellar/qt/HEAD/mkspecs/unsupported/macx-clang-libc++ -I. -I/usr/local/Cellar/qt/HEAD/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Cellar/qt/HEAD/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Cellar/qt/HEAD/lib/QtNetwork.framework/Versions/4/Headers -I/usr/local/Cellar/qt/HEAD/lib/QtNetwork.framework/Versions/4/Headers -I/usr/local/Cellar/qt/HEAD/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Cellar/qt/HEAD/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Cellar/qt/HEAD/lib/QtOpenGL.framework/Versions/4/Headers -I/usr/local/Cellar/qt/HEAD/lib/QtOpenGL.framework/Versions/4/Headers -I/usr/local/Cellar/qt/HEAD/lib/QtDeclarative.framework/Versions/4/Headers -I/usr/local/Cellar/qt/HEAD/lib/QtDeclarative.framework/Versions/4/Headers -I/usr/local/Cellar/qt/HEAD/include -I/usr/local/include -Iqmlapplicationviewer -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers -I. -F/usr/local/Cellar/qt/HEAD/lib -o piratenetworkaccessmanager.o src/network/piratenetworkaccessmanager.cpp
In file included from src/network/piratenetworkaccessmanager.cpp:5:
In file included from src/network/piratenetworkreply.h:4:
src/network/rtmpsession.h:4:10: fatal error: 'librtmp/rtmp.h' file not found
#include <librtmp/rtmp.h>
         ^
1 error generated.
make: *** [piratenetworkaccessmanager.o] Error 1

I had previously installed Qt by entering brew install qt --HEAD, as suggested here.

qmake --version outputs:

QMake version 2.01a
Using Qt version 4.8.7 in /usr/local/Cellar/qt/HEAD/lib

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions