Compilation - genmanual.exe + Error 2

• Mar 28, 2018 - 15:19

Hi,
I succeed do the cmd procedure

After some time, an error appears (see image)
Results in note

Thanks
(sorry for the last post)

Attachment Size
1.jpg 17.95 KB
note.txt 53.96 KB

Comments

In reply to by Jojo-Schmitz

Scanning dependencies of target pluginDocumentation
manual\CMakeFiles\pluginDocumentation.dir\build.make:59: recipe for target 'pluginDocumentation' failed
mingw32-make.exe[2]: *** [pluginDocumentation] Error -1073741511
CMakeFiles\Makefile2:7686: recipe for target 'manual/CMakeFiles/pluginDocumentation.dir/all' failed
Makefile:150: recipe for target 'all' failed
mingw32-make.exe[1]: *** [manual/CMakeFiles/pluginDocumentation.dir/all] Error 2
mingw32-make.exe: *** [all] Error 2
17:01:11: Le processus "C:\Program Files\CMake\bin\cmake.exe" s'est terminé avec le code 2.
Erreur lors de la compilation/déploiement du projet mscore (kit : Desktop Qt 5.9.3 MinGW 32bit)
When executing step "CMake Build"
17:01:11: Temps écoulé : 24:15.

In reply to by Jojo-Schmitz

Failed:

AutoMoc warning:
"C:/MuseScore-master/thirdparty/poppler/qt5/poppler-optcontent.cc"
The file includes the moc file "poppler-optcontent.moc", but does not contain a Q_OBJECT, Q_GADGET or Q_NAMESPACE macro.

[ 39%] Built target poppler_autogen
[ 54%] Built target poppler
[ 54%] Automatic MOC for target mscore
[ 54%] Built target mscore_autogen
[100%] Built target mscore
[100%] Automatic MOC for target genManual
[100%] Built target genManual_autogen
[100%] Built target genManual
manual\CMakeFiles\pluginDocumentation.dir\build.make:59: recipe for target 'pluginDocumentation' failed
mingw32-make.exe[2]: *** [pluginDocumentation] Error -1073741515
CMakeFiles\Makefile2:7686: recipe for target 'manual/CMakeFiles/pluginDocumentation.dir/all' failed
Makefile:150: recipe for target 'all' failed
mingw32-make.exe[1]: *** [manual/CMakeFiles/pluginDocumentation.dir/all] Error 2
mingw32-make.exe: *** [all] Error 2
21:10:28: Le processus "C:\Program Files\CMake\bin\cmake.exe" s'est terminé avec le code 2.
Erreur lors de la compilation/déploiement du projet mscore (kit : Qt 5.9.3 MinGW 32bit)
When executing step "CMake Build"
21:10:28: Temps écoulé : 01:05.

Complete log in desc.

Attachment Size
fail.txt 27.36 KB

In reply to by Arcandius

Arcandius,

I had the same error (not compiling master thought, but a previous version). If you aren't interested in building the manual pages, just try building again, but editing first the top-level "CMakeLists.txt" , commenting a line as follows:

change

add_subdirectory(manual)

to

#add_subdirectory(manual)

and the last lines of the file too:

##
## Create and install the plugin framework manual
##

#add_custom_command(OUTPUT ${PROJECT_BINARY_DIR}/plugins
# COMMAND genManual ${PROJECT_SOURCE_DIR} ${PROJECT_BINARY_DIR}
# DEPENDS genManual
# )

make a "make clean" and try again

In reply to by mdi1972

At the end of the compilation there is still this message:
CMake Error at share/manual/cmake_install.cmake:40 (file):
file INSTALL cannot find
"D:/Programmes/MuseScore-master/build.qtc/share/manual/plugins".
Call Stack (most recent call first):
share/cmake_install.cmake:46 (include)
cmake_install.cmake:41 (include)

Makefile:126: recipe for target 'install' failed
mingw32-make.exe: *** [install] Error 1
23:21:59: Le processus "C:\Program Files\CMake\bin\cmake.exe" s'est terminé avec le code 2.
Erreur lors de la compilation/déploiement du projet mscore (kit : Desktop Qt 5.9.3 MinGW 32bit)
When executing step "CMake Build"
23:21:59: Temps écoulé : 25:43.

BUT now the application starts and I can test my files,
Thanks :)

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