Compile Master on Windows gives [pluginDocumentation] Error -1073741515
Builder output:
20:32:36: Running steps for project mscore...
20:32:36: Starting: "C:\Program Files\CMake\bin\cmake.exe" --build . --target all
[ 0%] Automatic MOC for target mscore_freetype
[ 0%] Built target mscore_freetype_autogen
[ 5%] Built target mscore_freetype
[ 5%] Built target mops2
[ 5%] Built target mops1
[ 5%] Automatic MOC for target fluid
[ 5%] Built target fluid_autogen
[ 8%] Built target fluid
[ 8%] Automatic MOC for target midi
[ 8%] Built target midi_autogen
[ 9%] Built target midi
[ 9%] Automatic MOC for target audiofile
[ 9%] Built target audiofile_autogen
[ 9%] Built target audiofile
[ 9%] Automatic MOC for target awl
[ 9%] Built target awl_autogen
[ 11%] Built target awl
[ 11%] Automatic MOC for target qzip
[ 11%] Built target qzip_autogen
[ 11%] Built target qzip
[ 11%] Automatic MOC for target beatroot
[ 11%] Built target beatroot_autogen
[ 11%] Built target beatroot
[ 11%] Automatic MOC for target libmscore
[ 11%] Built target libmscore_autogen
[ 29%] Built target libmscore
[ 29%] Automatic MOC for target synthesizer
[ 29%] Built target synthesizer_autogen
[ 29%] Built target synthesizer
[ 29%] Automatic MOC for target bww
[ 29%] Built target bww_autogen
[ 30%] Built target bww
[ 30%] Automatic MOC for target rtf2html
[ 30%] Built target rtf2html_autogen
[ 30%] Built target rtf2html
[ 30%] Automatic MOC for target effects
[ 30%] Built target effects_autogen
[ 32%] Built target effects
[ 32%] Automatic MOC for target diff_match_patch
[ 32%] Built target diff_match_patch_autogen
[ 32%] Built target diff_match_patch
[ 32%] Automatic MOC for target kqoauth
[ 32%] Built target kqoauth_autogen
[ 33%] Built target kqoauth
[ 35%] Automatic MOC for target qtsingleapp
[ 35%] Built target qtsingleapp_autogen
[ 35%] Built target qtsingleapp
[ 35%] Automatic MOC for target omr
[ 35%] Built target omr_autogen
[ 35%] Built target omr
[ 36%] Automatic MOC for target zerberus
[ 36%] Built target zerberus_autogen
[ 36%] Built target zerberus
[ 36%] Automatic MOC for target poppler
AutoMoc warning
"C:/Users/secuser/Desktop/_/MuseScore/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.
[ 36%] Built target poppler_autogen
[ 52%] Built target poppler
[ 52%] Automatic MOC for target portmidi
[ 52%] Built target portmidi_autogen
[ 53%] Built target portmidi
[ 54%] Automatic MOC for target ofqf
[ 54%] Built target ofqf_autogen
[ 54%] Built target ofqf
[ 54%] Automatic MOC for target mscore
[ 54%] Built target mscore_autogen
[ 54%] Linking CXX executable MuseScore.exe
[100%] Built target mscore
Scanning dependencies of target genManual_autogen
[100%] Automatic MOC for target genManual
[100%] Built target genManual_autogen
Scanning dependencies of target genManual
[100%] Building CXX object manual/CMakeFiles/genManual.dir/genManual.cpp.obj
[100%] Building CXX object manual/CMakeFiles/genManual.dir/genManual_autogen/mocs_compilation.cpp.obj
[100%] Linking CXX executable genManual.exe
[100%] Built target genManual
Scanning dependencies of target pluginDocumentation
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
mingw32-make.exe[1]: *** [manual/CMakeFiles/pluginDocumentation.dir/all] Error 2
Makefile:150: recipe for target 'all' failed
mingw32-make.exe: *** [all] Error 2
20:33:37: The process "C:\Program Files\CMake\bin\cmake.exe" exited with code 2.
Error while building/deploying project mscore (kit: Desktop Qt 5.10.1 MinGW 32bit)
When executing step "CMake Build"
20:33:37: Elapsed time: 01:01.
Comments
If I try to put this line in comment:
add_subdirectory(manual)
and these ones:
add_custom_command(OUTPUT ${PROJECT_BINARY_DIR}/plugins
COMMAND genManual ${PROJECT_SOURCE_DIR} ${PROJECT_BINARY_DIR}
DEPENDS genManual
)
as suggested here: https://musescore.org/en/node/270806
then it seems to compile but debug says:
Executable failed During startup program exited with 0xc0000135