help compiling with xcode

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

help compiling with xcode

Jim Newton
I'm pretty new to xcode (and to C++ for that matter).
I've setup my environment on my Mac to use xcode to compile musescore as a developer.
This works great usually.
In musescore there are "targets" which I can select with the mouse.  In particular there is a "mscore" target.
Normally when I press the Play button while the mscore target is selected, the program compiles and either shows me the compilation errors, or if no errors launches the musescore GUI.  I conclude from this that the environment is indeed basically setup correctly.

However, sometimes the Play button causes the program to apparently compile successfully (as indicated by a Compiled-Successfully flash screen popup), but then I get the following message in the output window.

Any idea what's causing this or how to fix it?

MuseScore: Music Score Editor
Unstable Prerelease for Version 2.1.0; Build 3543170
Usage: mscore flags scorefile
   Flags:
   -v        print version
   -d        debug mode
   -L        layout debug
   -s        no internal synthesizer
   -m        no midi
   -a driver use audio driver: jack alsa pulse portaudio
   -n        start with new score
   -I        dump midi input
   -O        dump midi output
   -o file   export to 'file'; format depends on file extension
   -r dpi    set output resolution for image export
   -T margin trim exported image with specified margin (in pixels)
   -x factor set scaling factor for GUI elements
   -S style  load style file
   -p name   execute named plugin
   -F        use factory settings
   -R        revert to default preferences
   -i        load icons from INSTALLPATH/icons
   -e        enable experimental features
   -c dir    override config/settings folder
   -t        set testMode flag for all files
   -M file   specify MIDI import operations file
Reply | Threaded
Open this post in threaded view
|

Re: help compiling with xcode

lasconic
Administrator
"In Xcode 5 and 6, you might need to uncheck “Allow debugging when using document Versions Browser” in Product-->Edit Scheme .. -->Run mscore.app. Otherwise --NSDocumentRevisionsDebugMode YES gets passed to MuseScore, and it doesn't know how to handle it."


lasconic

2015-04-14 9:56 GMT+02:00 Jim Newton <[hidden email]>:
I'm pretty new to xcode (and to C++ for that matter).
I've setup my environment on my Mac to use xcode to compile musescore as a
developer.
This works great usually.
In musescore there are "targets" which I can select with the mouse.  In
particular there is a "mscore" target.
Normally when I press the Play button while the mscore target is selected,
the program compiles and either shows me the compilation errors, or if no
errors launches the musescore GUI.  I conclude from this that the
environment is indeed basically setup correctly.

However, sometimes the Play button causes the program to apparently compile
successfully (as indicated by a Compiled-Successfully flash screen popup),
but then I get the following message in the output window.

Any idea what's causing this or how to fix it?

MuseScore: Music Score Editor
Unstable Prerelease for Version 2.1.0; Build 3543170
Usage: mscore flags scorefile
   Flags:
   -v        print version
   -d        debug mode
   -L        layout debug
   -s        no internal synthesizer
   -m        no midi
   -a driver use audio driver: jack alsa pulse portaudio
   -n        start with new score
   -I        dump midi input
   -O        dump midi output
   -o file   export to 'file'; format depends on file extension
   -r dpi    set output resolution for image export
   -T margin trim exported image with specified margin (in pixels)
   -x factor set scaling factor for GUI elements
   -S style  load style file
   -p name   execute named plugin
   -F        use factory settings
   -R        revert to default preferences
   -i        load icons from INSTALLPATH/icons
   -e        enable experimental features
   -c dir    override config/settings folder
   -t        set testMode flag for all files
   -M file   specify MIDI import operations file



--
View this message in context: http://dev-list.musescore.org/help-compiling-with-xcode-tp7579168.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: help compiling with xcode

Jim Newton
Thanks.  I’m using xcode 6.3.  And I don’t see Product->Edit Scheme..
I did find the following
It is actually Product -> Scheme ->Edit Scheme
Then if I select the Options tab I see the form shown below.
Perhaps the wiki page needs to be updated???

Anyway when I unchecked the box you suggested,  my problem seems to be fixed. 

Thanks.






On 14 Apr 2015, at 10:00, lasconic [via MuseScore Developer] <[hidden email]> wrote:

"In Xcode 5 and 6, you might need to uncheck “Allow debugging when using document Versions Browser” in Product-->Edit Scheme .. -->Run mscore.app. Otherwise --NSDocumentRevisionsDebugMode YES gets passed to MuseScore, and it doesn't know how to handle it."


lasconic

2015-04-14 9:56 GMT+02:00 Jim Newton <<a href="x-msg://15/user/SendEmail.jtp?type=node&amp;node=7579169&amp;i=0" target="_top" rel="nofollow" link="external" class="">[hidden email]>:
I'm pretty new to xcode (and to C++ for that matter).
I've setup my environment on my Mac to use xcode to compile musescore as a
developer.
This works great usually.
In musescore there are "targets" which I can select with the mouse.  In
particular there is a "mscore" target.
Normally when I press the Play button while the mscore target is selected,
the program compiles and either shows me the compilation errors, or if no
errors launches the musescore GUI.  I conclude from this that the
environment is indeed basically setup correctly.

However, sometimes the Play button causes the program to apparently compile
successfully (as indicated by a Compiled-Successfully flash screen popup),
but then I get the following message in the output window.

Any idea what's causing this or how to fix it?

MuseScore: Music Score Editor
Unstable Prerelease for Version 2.1.0; Build 3543170
Usage: mscore flags scorefile
   Flags:
   -v        print version
   -d        debug mode
   -L        layout debug
   -s        no internal synthesizer
   -m        no midi
   -a driver use audio driver: jack alsa pulse portaudio
   -n        start with new score
   -I        dump midi input
   -O        dump midi output
   -o file   export to 'file'; format depends on file extension
   -r dpi    set output resolution for image export
   -T margin trim exported image with specified margin (in pixels)
   -x factor set scaling factor for GUI elements
   -S style  load style file
   -p name   execute named plugin
   -F        use factory settings
   -R        revert to default preferences
   -i        load icons from INSTALLPATH/icons
   -e        enable experimental features
   -c dir    override config/settings folder
   -t        set testMode flag for all files
   -M file   specify MIDI import operations file



--
View this message in context: http://dev-list.musescore.org/help-compiling-with-xcode-tp7579168.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Mscore-developer mailing list
<a href="x-msg://15/user/SendEmail.jtp?type=node&amp;node=7579169&amp;i=1" target="_top" rel="nofollow" link="external" class="">[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Mscore-developer mailing list
<a href="x-msg://15/user/SendEmail.jtp?type=node&amp;node=7579169&amp;i=2" target="_top" rel="nofollow" link="external" class="">[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer



If you reply to this email, your message will be added to the discussion below:
http://dev-list.musescore.org/help-compiling-with-xcode-tp7579168p7579169.html
To unsubscribe from help compiling with xcode, click here.
NAML