Compilation - genmanual.exe + Error 2
Hi,
I succeed do the cmd procedure
After some time, an error appears (see image)
Results in note
Thanks
(sorry for the last post)
Hi,
I succeed do the cmd procedure
After some time, an error appears (see image)
Results in note
Thanks
(sorry for the last post)
Do you still have an unanswered question? Please log in first to post your question.
Comments
Why don't you use QtCreator to build?
In reply to Why don't you use QtCreator… by Jojo-Schmitz
I had some difficulties with it; if cmd works, I'll use it
But I may retry QtCreator if I can't do other way
In reply to Why don't you use QtCreator… by Jojo-Schmitz
I tested it and currently, the toolchain error haven't come, I'll try continue there, following the tutorial
In reply to Why don't you use QtCreator… 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 Scanning dependencies of… by Arcandius
I'll see if it works anyway
In reply to Why don't you use QtCreator… by Jojo-Schmitz
don't work
no idea?
In reply to no idea? by Arcandius
No. Never had that problem and I can build just fine, having used (and partly written) the build instructions for Windows
I've never tried to do a release build; any reason you aren't using debug as per the instructions?
In reply to I've never tried to do a… by Marc Sabatella
in fact it was for my first try, after retry it, I had another error (different)
but I think I'm near the goal
In reply to in fact it was for my first… by Arcandius
That's a linker error, some C++ mangled symbol (probably from some standard library, looks like
vsnprintf()
) is missing. No Idea why though, but I'd just do amake clean
and try another buildIn reply to That's a linker error, some… 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.
In reply to Failed:… 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 Arcandius,… 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 :)
In reply to At the end of the… by Arcandius
yes, well, the "manual" INSTALL target is still active with the comments...well, I'm glad you got the build finally.