Building MuseScore (todays trunk) using "make -f Makefile.osx release" on Mac
OS X fails for me when building the precompiled all.h. Relevant part of the
output:


=== BUILD AGGREGATE TARGET mops2 OF PROJECT mscore WITH CONFIGURATION
Release ===
Check dependencies

PhaseScriptExecution "CMake Rules"
build.release/mscore.build/Release/mops2.build/Script-BEE74FE7E89E4F4B94C7EC39.sh
    cd /Users/lvi/iii/musescore
    /bin/sh -c
/Users/lvi/iii/musescore/build.release/mscore.build/Release/mops2.build/Script-BEE74FE7E89E4F4B94C7EC39.sh
cd /Users/lvi/iii/musescore/build.release && clang++ -x c++-header -g
-std=c++0x -stdlib=libc++ -O2 -DNDEBUG
-I/Library/Frameworks/QtDesigner.framework/Headers
-I/Library/Frameworks/QtDeclarative.framework/Headers
-I/Library/Frameworks/QtScriptTools.framework/Headers
-I/Library/Frameworks/QtDBus.framework/Headers
-I/Library/Frameworks/QtDesigner.framework/Headers
-I/Library/Frameworks/QtXml.framework/Headers
-I/Library/Frameworks/QtSql.framework/Headers
-I/Library/Frameworks/QtOpenGL.framework/Headers
-I/Library/Frameworks/QtMultimedia.framework/Headers
-I/Library/Frameworks/QtNetwork.framework/Headers
-I/Library/Frameworks/phonon.framework/Headers
-I/Library/Frameworks/QtXmlPatterns.framework/Headers
-I/Library/Frameworks/QtWebKit.framework/Headers
-I/Library/Frameworks/QtHelp.framework/Headers -I/usr/include/QtUiTools
-I/Library/Frameworks/QtTest.framework/Headers
-I/Library/Frameworks/QtScript.framework/Headers
-I/Library/Frameworks/QtSvg.framework/Headers
-I/Library/Frameworks/Qt3Support.framework/Headers
-I/Library/Frameworks/QtGui.framework/Headers
-I/Library/Frameworks/QtCore.framework/Headers
-I/usr/local/Qt4.8/mkspecs/default -I/usr/include
-I/Library/Frameworks/QtCore.framework
-I/Library/Frameworks/QtCore.framework/Headers -DQT_DESIGNER_LIB
-DQT_DECLARATIVE_LIB -DQT_SVG_LIB -DQT_WEBKIT_LIB -DQT_XMLPATTERNS_LIB
-DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NO_DEBUG -o
all.h.gch all.h
In file included from all.h:32:
/Library/Frameworks/QtGui.framework/Headers/QtGui:3:10: fatal error:
'QtCore/QtCore' file not found
#include <QtCore/QtCore>
         ^
1 error generated.
make[1]: *** [/Users/lvi/iii/musescore/build.release/all.h.gch] Error 1

This is on Mac OS X 10.7.5, using cmake version 2.8.8 and Qt 4.8.4
(qt-mac-opensource-4.8.4.dmg from qt-project.org, installed in
/Library/Frameworks). Using this system, other Qt application build without
problems, even when using cmake and #including <QtGui>.

As I have spent significant time but failed to find the cause, does anyone
know what is causing the problem or where I should look ?

Thanks, Leon.



--
View this message in context: 
http://dev-list.musescore.org/Build-error-Mac-OS-X-include-file-not-found-tp7578127.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Mscore-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mscore-developer

Reply via email to