On 01/04/2018 12:05, Joachim Schmitz wrote:
Compiling master worked for me the other day.
are you using mingw, or MSVC++ ?I made another try today double-checking all steps, I seem to have everything properly in place, but the compiled MuseScore.exe refuses to run.
I also tried to compile with cygwin and the standard Makefile I use under Linux (in the root MuseScore sources folder), but I had to fix a tiny issue due to some "Program Files..." and "Program Files (x86)" pathnames (e.g., JDK :-) ), as per attached patch, otherwise it wasn't even starting (anyway, I removed those from my PATH just to be sure during my further tries today). And, anyway, it fails to find Qt5 and any library installed within the mingw32* folder(s) from the C:\Qt5 ..... (made several tries, used /cygdrive/c/Qt/... pathnames, setting the env var QT_INSTALL_PREFIX, etc... just nothing seems to work here!)
FYI, I'm just struggling to compile and run the piano-tutor-win32 branch I just sketched out for the PianoTutor+Arduino+LEDs toy
https://www.linkedin.com/feed/update/urn:li:activity:6385963147068526592/ https://github.com/tomcucinotta/MuseScore/tree/piano-tutor-win32 as I've got a few ones asking about availability of the patch on this weird platform ;-P... T.
---- Tommaso Cucinotta schrieb ---- forgot to add: I'm on master, is it known to have issues on Win ? T. On 01/04/2018 11:46, Tommaso Cucinotta wrote: > On 01/04/2018 09:24, Joachim Schmitz wrote: >> Did you follow all the steps that are outlined in the developers' handbook, the part for Windows? You need to install >> jack, and none of libvorbis, libogg, portaudio or lame need to get compiled, and all those are available directly from >> the handbook. > > Hi, > > yes, I'm following that guide > > https://musescore.org/en/handbook/developers-handbook/compilation/compile-instructions-windows-mingw-git > > but it is turning quite cumbersome: on Linux I can do "apt-get build-dep MuseScore" and I'm ready to compile (ok, > almost), but here it's becoming a hell, consider I've just set-up a C/C++ compilation environment on Windows 10 from > scratch. > > As an example of things I'm not getting: > > 1) compilation with QtCreator, guess supposed to be the easy way, doesn't work: I launch QtCreator, follow the steps, > "open file/project" the CMakeLists.txt from the root MuseScore sources folder, then the menu' voice Build is NOT active; > if I select the menu' voice "Run CMake", then nothing happens :(! No error messages whatsoever, just nothing! Yes, I > have installed CMake as from your MuseScore compilation on Windows Handbook web page > > 2) in the mingw32 command-line compilation way, I'm getting always this error about "Cannot find an entry point > _Z9qt_assertPKcS0_i within the dynamic library C:\HigHub\MuseScore\build.debug\manual\genManual.exe"; for now, I'm just > working around that by letting make keep going (-k), but I'm not sure it's a blocking problem. For what it matters, I > don't care about building any manual! > > 3) I just installed Jack (binaries), as you said, and I've got to the end of the MuseScore.exe compilation (albeit, the > genManual.exe error is always there). However, when I launch this build.debug\mscore\MuseScore.exe, I get "Impossible to > start correctly the application (0xc0000022). Click OK to close the application." > > Any clue ? > > Thanks again, > > T. -- Tommaso Cucinotta Home Page: http://retis.sssup.it/~tommaso LinkedIn: http://www.linkedin.com/in/tommasocucinotta ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Mscore-developer mailing list Mscore-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mscore-developer
-- Tommaso Cucinotta Home Page: http://retis.sssup.it/~tommaso LinkedIn: http://www.linkedin.com/in/tommasocucinotta
>From 8f8889bc240268bdef5e2d93601a954c15fc1a70 Mon Sep 17 00:00:00 2001 From: Tommaso Cucinotta <tommaso.cucino...@gmail.com> Date: Sun, 1 Apr 2018 19:32:47 +0200 Subject: [PATCH] Fix quoting problems when paths with spaces or () characters are (unfortunately) used. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 43713bbb7..1c637cfb1 100644 --- a/Makefile +++ b/Makefile @@ -48,7 +48,7 @@ BINPATH = ${PATH} release: if test ! -d build.release; then mkdir build.release; fi; \ cd build.release; \ - export PATH=${BINPATH}; \ + export PATH="${BINPATH}"; \ cmake -DCMAKE_BUILD_TYPE=RELEASE \ -DCMAKE_TOOLCHAIN_FILE="${CMAKE_TOOLCHAIN_FILE}" \ -DCMAKE_INSTALL_PREFIX="${PREFIX}" \ @@ -75,7 +75,7 @@ release: debug: if test ! -d build.debug; then mkdir build.debug; fi; \ cd build.debug; \ - export PATH=${BINPATH}; \ + export PATH="${BINPATH}"; \ cmake -DCMAKE_BUILD_TYPE=DEBUG \ -DCMAKE_INSTALL_PREFIX="${PREFIX}" \ -DMSCORE_INSTALL_SUFFIX="${SUFFIX}" \ -- 2.14.1
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Mscore-developer mailing list Mscore-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mscore-developer