Compiling Program on My Mac



  • Hi,

    I am trying to compile a third party program called edfbrowser (http://www.teuniz.net/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:

    warning:

    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.

    error:

    Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
    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.

    Thanks


  • Moderators

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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.