Important: Please read the Qt Code of Conduct -

Compiling Program on My Mac

  • Hi,

    I am trying to compile a third party program called edfbrowser ( and am unable to do so.
    I was able to do it before on a previos Mac OSX. I am now running Mac OS X 10.7.5. I am using qt-mac-opensource-4.8.3 version of Qt.

    I get the following errors and warnings from Xcode:


    Check dependencies
    warning: The specified SDK “Current OS X” does not appear to have all
    of the necessary headers installed. Update your project to use a
    built-in SDK (“Latest OS X” is recommended) or install the system
    headers (included with the “Command Line Tools” package) from the
    “Downloads” pane in the Xcode preferences.


    Command /Applications/
    failed with exit code 1
    clang: error: no such file or directory: '/mainwindow.cpp'

    same error for main.cpp, popup_messagewindow.cpp
    and viewcurve.cpp

    Any help you might be able to give me would be really appreciated.


  • Moderators

    You need to switch to macx-g++ or macx-llvm makespecs. macx-xcode is broken for newest Xcode versions.

Log in to reply