Struggling to build musescore on Windows through VS Community 2017.
I've looked all around for help but I can't seem to find anything for my issue. I have all of the dependencies installed and the paths correct, but the cmake is not building successfully. It says it cannot find the components listed in the FindQt5.cmake file. It's the components as defined below.
set(_components
Core
Gui
#Designer
Network
Test
Qml
Quick
QuickWidgets
Xml
XmlPatterns
Svg
Sql
Widgets
PrintSupport
Concurrent
OpenGL
LinguistTools
Help
)
It can't find the files for any of these components. As as example "Qt5Core.cmake" which isn't in the build folder. What am I doing wrong? Thank you!
Comments
And you followed all the steps from https://musescore.org/en/handbook/developers-handbook/compilation/compi…?
In reply to And you followed all the… by Jojo-Schmitz
Thank you, I was following those steps but for some reason I scrolled down to the detailed instructions thinking that the top was the summary. I neglected to check all the steps at the top. Looks like everything is working now!
I'm also having issues getting things to build on Windows. It seems to be related to the "dependencies". The instructions say "Extract the contents into the base dir. (This will create a new dependencies folder in that base dir.)", which is very ambiguous (ie, "base dir" of WHAT?). I've tried putting them in C:, in the GitHub folder, and in the GitHub/MuseScore folder - in each case, in a subfolder named "dependencies". When I first run CMake I get errors such as LAME_INCLUDE_DIR is NOTFOUND. So clearly it's not finding these dependency files. What am I doing wrong here?
In reply to I'm also having issues… by rsudama
The dependencies folder should be in the folder named "MuseScore" I'm not quite sure why it doesn't work in that situation though.
In reply to I'm also having issues… by rsudama
By the way, the first error I get is "Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)" - which may be the source of all the subsequent errors.