Compiling on Mac

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

Compiling on Mac

chen lung
It began to build fine, but then this happened:

...
used as include directory in directory /Users/scottnapier/musescore/trunk/mscore/aeolus/aeolus

-- Configuring incomplete, errors occurred!
xcodebuild: Error: the project mscore.xcodeproj does not exist in this directory.

Any idea what this could be?
Scott
Reply | Threaded
Open this post in threaded view
|

Re: Compiling on Mac

chen lung
(I had tried to compile 4514.)

I think it's a problem with CMake 2.8.5 - I installed 2.8.4. Make release was successful, make install wasn't:

CMake Error at mscore/cmake_install.cmake:297 (FILE):
  file INSTALL cannot find
  "/Users/scottnapier/musescore/trunk/mscore/mscore/fonts/gonville-20.otf".
Call Stack (most recent call first):
  cmake_install.cmake:32 (INCLUDE)


make[1]: *** [install_buildpart_0] Error 1
Command /bin/sh failed with exit code 2
Command /bin/sh failed with exit code 2
** BUILD FAILED **


The following build commands failed:
install:
        PhaseScriptExecution "CMake PostBuild Rules" /Users/scottnapier/musescore/trunk/build/mscore.build/Debug/install.build/Script-12CB48012CB48012CB480000.sh
(1 failure)


There was a relocation of fonts recently, according to the log. The location of the gonville-20 is actually: /Users/scottnapier/musescore/trunk/mscore/fonts/gonville-20.otf

Anyway, because 2.8.5 failed, this would be a bug with CMake (or they've changed something) - any suggestions? It would be ideal if this was investigated, rather than continually rely on the earlier version.
Scott
Reply | Threaded
Open this post in threaded view
|

Re: Compiling on Mac

lasconic
Administrator
What's wrong with relying on a older version?

If you still have reference to a directory that has been deleted you might need to make clean and make release again.

lasconic

2011/7/12 chen lung <[hidden email]>
(I had tried to compile 4514.)

I think it's a problem with CMake 2.8.5 - I installed 2.8.4. Make release
was successful, make install wasn't:

/CMake Error at mscore/cmake_install.cmake:297 (FILE):
 file INSTALL cannot find
 "/Users/scottnapier/musescore/trunk/mscore/mscore/fonts/gonville-20.otf".
Call Stack (most recent call first):
 cmake_install.cmake:32 (INCLUDE)


make[1]: *** [install_buildpart_0] Error 1
Command /bin/sh failed with exit code 2
Command /bin/sh failed with exit code 2
** BUILD FAILED **


The following build commands failed:
install:
       PhaseScriptExecution "CMake PostBuild Rules"
/Users/scottnapier/musescore/trunk/build/mscore.build/Debug/install.build/Script-12CB48012CB48012CB480000.sh
(1 failure)/

There was a relocation of fonts recently, according to the log. The location
of the gonville-20 is actually:
/Users/scottnapier/musescore/trunk/mscore/fonts/gonville-20.otf

Anyway, because 2.8.5 failed, this would be a bug with CMake (or they've
changed something) - any suggestions? It would be ideal if this was
investigated, rather than continually rely on the earlier version.

-----
Scott
--
View this message in context: http://musescore-developer.685061.n2.nabble.com/Compiling-on-Mac-tp6572568p6574752.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: Compiling on Mac

chen lung
This post was updated on .
The new versions will have improvements - also for the sake of keeping up-to date with any changes (compatibility) in the future, etc.

cd ~/musescore/trunk
make clean
make -f Makefile.osx release
make -f Makefile.osx install

Result: Same.
Scott
Reply | Threaded
Open this post in threaded view
|

Re: Compiling on Mac

chen lung
I deleted the folder and did everything again from download to make install.

Is it not something at the control of MS?
Scott
Reply | Threaded
Open this post in threaded view
|

Re: Compiling on Mac

chen lung
I tried 2.8.2 - build claims to have succeeded, but:

Scott-Napiers-MacBook:trunk scottnapier$ make -f Makefile.osx install
cd build;xcodebuild -project mscore.xcodeproj -configuration Debug -target install;
objc[86160]: task_thread failed (result 268435472)

/bin/sh: line 1: 86160 Illegal instruction     xcodebuild -project mscore.xcodeproj -configuration Debug -target install
make: *** [install] Error 132
Scott-Napiers-MacBook:trunk scottnapier$ make -f Makefile.osx package
mscore/packaging/package_mac;
rm: applebuild/MuseScore-2.0.dmg: No such file or directory
hdiutil: create failed - Invalid argument
hdiutil: attach failed - No such file or directory
hdiutil: attach failed - No such file or directory
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
cp: applebuild/mscore.app: No such file or directory
Error: Could not find app bundle "/mscore.app"
mv: rename /mscore.app to /MuseScore.app: No such file or directory
ln: /Applications/: File exists
execution error: Can’t make POSIX file "" of application "Finder" into type alias. (-1700)
mv: rename /Pictures to /.Pictures/Pictures: Directory not empty
hdiutil: detach: no device name specified
Usage: hdiutil detach [options] <devname>
        hdiutil detach -help
hdiutil: convert failed - No such file or directory
rm: applebuild/MuseScore-2.0Uncompressed.dmg: No such file or directory
make: *** [package] Error 1



The Compile page makes no mention of Doxygen - supposedly required.
Scott
Reply | Threaded
Open this post in threaded view
|

Re: Compiling on Mac

lasconic
Administrator
Doxygen is not required. It's used to build the source code documentation like on http://code.musescore.org
Read more about Doxygen here : http://en.wikipedia.org/wiki/Doxygen

You should read more about make as well. If "make install" fails,it's not useful to do "make package".

So regarding the following error on make install. 
objc[86160]: task_thread failed (result 268435472)

It seems XCode failed and there is no more explanation... Did you run make release before make install?





2011/7/13 chen lung <[hidden email]>
I tried 2.8.2 - build claims to have succeeded, but:

/Scott-Napiers-MacBook:trunk scottnapier$ make -f Makefile.osx install
cd build;xcodebuild -project mscore.xcodeproj -configuration Debug -target
install;
objc[86160]: task_thread failed (result 268435472)

/bin/sh: line 1: 86160 Illegal instruction     xcodebuild -project
mscore.xcodeproj -configuration Debug -target install
make: *** [install] Error 132
Scott-Napiers-MacBook:trunk scottnapier$ make -f Makefile.osx package
mscore/packaging/package_mac;
rm: applebuild/MuseScore-2.0.dmg: No such file or directory
hdiutil: create failed - Invalid argument
hdiutil: attach failed - No such file or directory
hdiutil: attach failed - No such file or directory
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
cp: applebuild/mscore.app: No such file or directory
Error: Could not find app bundle "/mscore.app"
mv: rename /mscore.app to /MuseScore.app: No such file or directory
ln: /Applications/: File exists
execution error: Can’t make POSIX file "" of application "Finder" into type
alias. (-1700)
mv: rename /Pictures to /.Pictures/Pictures: Directory not empty
hdiutil: detach: no device name specified
Usage:  hdiutil detach [options] <devname>
       hdiutil detach -help
hdiutil: convert failed - No such file or directory
rm: applebuild/MuseScore-2.0Uncompressed.dmg: No such file or directory
make: *** [package] Error 1/


The Compile page makes no mention of Doxygen - supposedly required.

-----
Scott
--
View this message in context: http://musescore-developer.685061.n2.nabble.com/Compiling-on-Mac-tp6572568p6580074.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the creator of the Lean Startup Methodology on "Lean Startup
Secrets Revealed." This video shows you how to validate your ideas,
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the creator of the Lean Startup Methodology on "Lean Startup
Secrets Revealed." This video shows you how to validate your ideas,
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: Compiling on Mac

chen lung
Yes, I ran Make release (successful) before Make install.

Not sure why I ran Make package.
Scott
Reply | Threaded
Open this post in threaded view
|

Re: Compiling on Mac

chen lung
Anyway - regarding the font, is it a problem at MuseScore's end?

Someone else had the same problem.
Scott
Reply | Threaded
Open this post in threaded view
|

Re: Compiling on Mac

chen lung
I tested some CMakes (from 2.8.2 to 2.8.5) and attached the results - hoping we can inform them of the problems.
CMake_Results.rtf
Scott
Reply | Threaded
Open this post in threaded view
|

Re: Compiling on Mac

chen lung
This post was updated on .
I managed to compile 4553 (CMake 2.8.2 - not tried others). However, the Transport Tools and Synthesiser are greyed out (like the last time).

I've attached the log if someone could please take a look at it (note the errors at the end).

Terminal_Saved_Output_%282.8.2_-_4553%29.txt.zip

I also tried the app (largely different file size - 223.6 MB compared to version beside the DMG, which is 102.5 MB) within the DMG, but it says 'MuseScore quit unexpectedly' - attached log for that.

MS_Quit_Unexpectedly.rtf
Scott
Reply | Threaded
Open this post in threaded view
|

Re: Compiling on Mac

chen lung
Someone else had the same problem (lack of Transport Tools) - maybe a difference between the 'home' builds and the ones you make Nicolas?
Scott