Errors compiling on Mac
I'm using:
OSX Mavericks
cmake 2.8.12
qt 5.2.0
I've searched the forums for answers to the following error:
---------------------
CMake Error at /opt/local/share/cmake-2.8/Modules/FindQt4.cmake:1388 (message):
Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x
Call Stack (most recent call first):
build/FindQt5Transitional.cmake:88 (find_package)
CMakeLists.txt:32 (include)
-- Configuring incomplete, errors occurred!
See also "/Users/craig/MuseScore/build.release/CMakeFiles/CMakeOutput.log".
xcodebuild: error: 'mscore.xcodeproj' does not exist.
xcodebuild: error: 'mscore.xcodeproj' does not exist.
make: *** [release] Error 66
----------------------
Also, I get the following strange output when I run 'make clean':
rm -rf build.debug build.release
rm -rf win32build win32install
Should I be seeing 'win32' when I'm running a Mac? I recently migrated from a Windows PC, but I'm using a fresh download from github.
Also, what's wrong with my Qt version. Is Qt not being detected at all?
Comments
Still having the same problem.
I uninstalled and re-installed everything (this time using homebrew instead of Macports), but to no avail. To reiterate, I'm especially baffled by the following lines since I am not using Windows anymore:
rm -rf build.debug build.release
rm -rf win32build win32install
In reply to Still having the same by moonlake
Don't bother about those, the -f option takes care of not erroring out in these in case they don't exist. These are surely not your problem
In reply to Still having the same by moonlake
Don't bother about those, the -f option takes care of not erroring out on these in case they don't exist. These are surely not your problem
In reply to Still having the same by moonlake
You shouldn't run
make clean
butmake -f Makefile.osx clean
or make will use the default makefile, the one for linux which also try to remove cross compilation result for Windows...Regarding the Qt message, can you run
qmake -v
and make sure that you have Qt5.2.X installed ? if qmake is not found, you need to add it to your PATH.Why is cmake looking for Qt 4? We're using Qt 5.
Since it's been roughly another day without replies, I want to stress this line:
CMake Error at /opt/local/share/cmake-2.8/Modules/FindQt4.cmake:1388 (message):
Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x
I think I'm not alone. Another individual has posted the same error a few weeks ago on the developer forum, and they've also gotten no responses. http://dev-list.musescore.org/CMake-Error-at-usr-share-cmake-2-8-Module…
At the very least, is anyone looking into this problem? Thank you.
In reply to Since it's been roughly by moonlake
Our resident Mac guru is still on vacation...
My error turned out to be simple. I used the following in my path:
/Users/me/Qt5.2.0/5.2.0/clang_64/bin
but my directory structure actually looks like this:
/Users/me/Qt/5.2.0/clang_64/bin
In reply to My error turned out to be by moonlake
Cool! Looking forward to your first bug fix!