[First compilation] Problems with QtCreator
Hi,
I follow the instructions to my first compilation but it still don't work
I don't understand :(
Images in description
Hi,
I follow the instructions to my first compilation but it still don't work
I don't understand :(
Images in description
Do you still have an unanswered question? Please log in first to post your question.
Comments
Looks very different from what the developers' handbook describes. Try to follow that to the letter
In reply to Looks very different from… by Jojo-Schmitz
I reinstalled it on another PC, following the instructions and install all the .dll and .h in the folders but nothing changed
In reply to I reinstalled it on another… by Arcandius
So you followed https://musescore.org/en/handbook/developers-handbook/compilation/compi… and also https://musescore.org/en/handbook/developers-handbook/compilation/compi… ?
In reply to So you followed https:/… by Jojo-Schmitz
only the first link in fact :o
I'll look the 2nd
In reply to So you followed https:/… by Jojo-Schmitz
I think I'm on the good way, I succeed to do all that was written but there was this message:
C:\Program Files\CMake\share\cmake-3.10\Modules\CMakeDetermineSystem.cmake:100: erreur : Could not find toolchain file: build/mingw32.mingw.cmake CMakeLists.txt:20 (project)
:-1: erreur : Configuration failed.
Also, on Build panel, there is the message "Configuraiton failed"
In reply to I think I'm on the good way,… by Arcandius
If you are building a recent master branch that file no longer is needed nor exists, and this fact is mention in the docs:
Note: as of 9caf157 (for the master branch) this CMAKE_TOOLCHAIN_FILE:FILEPATH=build/mingw32.mingw.cmake is no longer needed and needs to get removed from the config.
In reply to If you are building a recent… by Jojo-Schmitz
The line is removed but the error still happens :(
C:\Program Files\CMake\share\cmake-3.10\Modules\CMakeDetermineSystem.cmake:100: erreur : Could not find toolchain file: build/mingw32.mingw.cmake CMakeLists.txt:20 (project)
up
In reply to up by Arcandius
So you got it to work?
In reply to So you got it to work? by Jojo-Schmitz
The correction of the line don't change the problem,
C:\Program Files\CMake\share\cmake-3.10\Modules\CMakeDetermineSystem.cmake:100: erreur : Could not find toolchain file: build/mingw32.mingw.cmake CMakeLists.txt:20 (project)
:-1: erreur : Configuration failed.
In reply to The correction of the line… by Arcandius
.
In reply to The correction of the line… by Arcandius
Clear cmake config and rerun cmake
Where in the developers' handbook does it say you should modify that dialog from the image, except for that no longer needed CMAKE_TOOLCHAIN_FILE?
In reply to Clear cmake config and rerun… by Jojo-Schmitz
in fact just to remove the toolchain line
In reply to Clear cmake config and rerun… by Jojo-Schmitz
The problem still occurs, I think I'll drop it, it's way too complicated just to modify a file
Thanks for your help
In reply to The problem still occurs, I… by Arcandius
Modify one file? Which and why?
In reply to Modify one file? Which and… by Jojo-Schmitz
the following:
mscore_tab.sfd
mscoreTab.otf
mscoreTab.ttf
fonts_tablature.xml
it's for add shamisen font
In reply to the following:… by Arcandius
So the files from https://musescore.org/en/node/270063#comment-825171, right?
Why using an external hoster rather that attaching the file there directly?
And you want those changed and bundled into a build from the master branch?
In reply to And you want those changed… by Jojo-Schmitz
Lasconic told me on Discord to compile and gave me the handbook
In reply to And you want those changed… by Jojo-Schmitz
in fact I don't have any background in programming, but modify the code of a xml was simple enough, as to add the glyphs I made on Illustrator to the sfd;
So I hoped follow the instructions would be enough
Also the site don't allow me to post something else than jpgs or things like that
In reply to in fact I don't have any… by Arcandius
It may not allow .rar or .sfd, but will allow .zip or .7z
Those instructions should be good enough to build MuseScore yourself from the latest sources on the master branch and with some modifications also the 2.2 branch.
In reply to It may not allow .rar. but… by Jojo-Schmitz
maybe
In reply to maybe by Arcandius
in fact, some basic instructions don't even work
the cmd command "start qtcreator" lead to an error,
considering that I highly doubt I can succeed with the instructions
In reply to in fact, some basic… by Arcandius
Then you didn't follow the instructions, here the part about setting up PATH.
In reply to Then you didn't follow the… by Jojo-Schmitz
but type %path% lead me to C:, which have the following directories
C:\Qt\Tools\mingw530_32\bin;C:\Qt\Tools\mingw530_32\lib
C:\Qt\5.9.3\mingw53_32\bin
C:\Qt\Tools\QtCreator\bin
In reply to but type %path% lead me to C… by Arcandius
So? %PATH% needs to contain all those, and more, separated by ;
Just use that at file mentioned in the docs
In reply to So? %PATH% needs to contain… by Jojo-Schmitz
but type %path% lead me to my folder "C:";
there is no place to enter anything :v
In reply to but type %path% lead me to… by Arcandius
image
In reply to but type %path% lead me to… by Arcandius
Where do the docs mentioned to enter 'type %path%'?
In reply to Where does the docs… by Jojo-Schmitz
it was the only thing I thought, also the step is indicated as "optionnal"
In reply to it was the only thing I… by Arcandius
'type %path%' is not mentioned at all.
In reply to It is not mentioned at all. by Jojo-Schmitz
(optional) Add the following to your %PATH%
C:\Qt\Tools\mingw530_32\bin;C:\Qt\Tools\mingw530_32\lib
C:\Qt\5.9.3\mingw53_32\bin
C:\Qt\Tools\QtCreator\bin
In reply to (optional) Add the following… by Arcandius
Right, but where does it say 'type %path%'?
Whatever, just take that qt.bat file and use that
In reply to Right, but where does it say… by Jojo-Schmitz
it say "add to your %path%",
the following lines are, in theory in my path, no?
since %path% = C:/ and the repertories are in it
In reply to it say "add to your %path%",… by Arcandius
the batch file opens a window which close itself just after opening
but it don't matter, I tried since 2 days so I think I'll give up
In reply to it say "add to your %path%",… by Arcandius
No, if %path% = C:/ then only that is in, no directory under that.