Errors tryin to odo Local build

• Jan 3, 2018 - 09:29

I have started to setup environment to do a local build of Master.
When I try to do a build from Qt, I get errors that seem to come from source code in aeolus directory

Examples:
Qlist does not name a type - from synthesizer.h
Qstring does not name a type - addsynth.h

Is this due to a wrong setup, or is there a way to get around?

I am new to this environment, so I may have missed something;

I have installed CMake, Qt and GitHub deskstop
Created a GitHub account
Made a fork and downloaded a clone
Finally I imported MuseScore into Qt as a CMake project


Comments

In reply to by Jojo-Schmitz

OS is Win10
I tried to follow the instructions for compilation with Qt 4.0x but they do not relate very well to Qt 5.8, which is the suggested version.

I have tried to import into Qt leaving out Aeolus but i still get errors that some of the header files can not be found. (i,e, sndfile.h, ladspaplugin.h)

Is there more details that I can try to collect to help pinpoint the problem?

In reply to by Marc Sabatella

Back again.
Managed to solve some of the problems.
I created the Qt.bat file as it is shown in the %PATH% summary
https://musescore.org/da/handbook/compile-instructions-windows-mingw-gi…
but failed to recognize that CMake was installed C:\Program Files\CMake --- (not (Program Files x86))

I chose to use GitHubDesktop, which does not install a PATH to git.exe. So I had to add that to Qt.bat.

2018-02-01 23_52_25-Qt.bat - Notesblok.png

I then started Qt and opened CmakeLists.txt
Configuration started automatically, but produced errors in line 432 and 568.

Error: string no output variable specified

432: string(TOUPPER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE)
568: string(TOUPPER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE)

Because of this the configuration failed.

Any suggestions, please?

In reply to by Jojo-Schmitz

Thanks for the help. I guess I should have read the manual more carefully ;)

After installing the dependency libraries, everything went fine, until meeting

include

I located types.h in ...\include\sec_api\sys. I tried copying it directly into ...\include
and changed the include statments to just #include

I assume that there may be a more correct way to solve this, but it seemed to work out fine, until the build process ended with just

[resfile.o] Error 1

and no further explanation.

Not much to go on, Any ideas?

Do you still have an unanswered question? Please log in first to post your question.