登录
本论坛汇聚了来自世界各地的人们,因此大家使用英文交流。

Building on MacOS error

分类:错误与安装
  • LY 1 0
    消息来自 lyk,发表于
    Hi
    I just downloaded source polyphone to build in MacOs and downloaded Qt too.

    In Qt I opned polyphone.pro and build (also unchecked shadow build) the project

    but the Qt shows building error :-1: error: No rule to make target `DEBUG/.obj/sfarkextractor1.o', needed by `DEBUG/polyphone.app/Contents/MacOS/polyphone'. Stop.

    and I found that there was no folder named MacOS In Contents folder

    How can I build successfully, what should I do for building when the error found?
    please reply my question,

    thanks
  • 429 1
    消息来自 Davy,发表于
    Hi,

    I had the same problem to build Polyphone on Mac OS X (High Sierra). I don't know why but the variable "QMAKE_CXX" is not set while it should have been "clang++".

    In order to compile, in polyphone.pro I changedwin32 { ExtraCompiler.commands = $${QMAKE_CXX} -D__LITTLE_ENDIAN__ -MD -arch:IA32 -D_CRT_SECURE_NO_WARNINGS $(INCPATH) -c ${QMAKE_FILE_IN} -Fo${QMAKE_FILE_OUT} } equals(QMAKE_CXX, g++) { ExtraCompiler.commands = $${QMAKE_CXX} -fPIC -D__LITTLE_ENDIAN__ -mfpmath=387 $(INCPATH) -c ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT} } equals(QMAKE_CXX, clang++) { ExtraCompiler.commands = $${QMAKE_CXX} $(CXXFLAGS) -D__LITTLE_ENDIAN__ -mno-sse -mfpmath=387 $(INCPATH) -c ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT} }into

    ExtraCompiler.commands = $${QMAKE_CXX} $(CXXFLAGS) -D__LITTLE_ENDIAN__ -mno-sse -mfpmath=387 $(INCPATH) -c ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT}This is ugly but it works

登录或注册后即可参与讨论。

Polyphone 需要您!

Polyphone 是免费的,但其网站和开发都会产生费用。一笔小小的捐赠就能帮上大忙。

捐赠
学习基础知识 试试教程
返回
顶部