On Fri, 13 Jul 2018, Samuel DA MOTA wrote:
Hi Martin, Thanks for the feedback. Unfortunately since it always was a side project I didn't get much time to polish it like I wanted. In any case, feel free to clone it and improve upon. I kept the build system simple on purpose so that fixing these issues shouldn't be too hard. Had I more time I would have used Meson. Out of curiosity, what is the error you get?
When trying to compile lilydumper: make -C ./src "lilydumper" make[1]: Entering directory '/home/m.tarenskeen/rpmbuild/SOURCES/GIT/lilydumper/src' make[1]: *** No rule to make target 'lilydumper'. Stop. make[1]: Leaving directory '/home/m.tarenskeen/rpmbuild/SOURCES/GIT/lilydumper/src' make: *** [Makefile:4: lilydumper] Error 2 When trying to compile lilyplayer: make -C ./src "all" make[1]: Entering directory '/home/m.tarenskeen/rpmbuild/SOURCES/GIT/lilyplayer/src' "/usr/lib64/qt4/bin/uic" -o "ui_mainwindow.hh" "mainwindow.ui" && \ sed -i '1i // Avoid warnings on generated headers\n#if !defined(__clang__)\n #pragma GCC system_header\n#endif\n' "ui_mainwindow.hh" g++ -std=c++1z -Werror -fno-rtti -fstrict-enums -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -fcf-protection=full -fstack-clash-protection -Werror -Wno-pedantic -Wpointer-arith -Wall -Wextra -Wformat=2 -Wnonnull -Winit-self -Wmissing-include-dirs -Wswitch-default -Wswitch-enum -Wuninitialized -fstrict-aliasing -Wstrict-overflow=5 -Warray-bounds -Wfloat-equal -Wundef -Wshadow -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-conversion -Wmissing-declarations -Wpacked -Wredundant-decls -Winvalid-pch -Wlong-long -Wvarargs -Wvla -funsafe-loop-optimizations -Wunsafe-loop-optimizations -Wdouble-promotion -Wsuggest-attribute=pure -Wsuggest-attribute=const -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wtrampolines -Wzero-as-null-pointer-constant -Wuseless-cast -Wlogical-op -Wvector-operation-performance -Wabi=11 -Wctor-dtor-privacy -Wnoexcept -Weffc++ -Wstrict-null-sentinel -Wold-style-cast -Woverloaded-virtual -Wsign-promo -Wswitch-bool -Wlogical-not-parentheses -Wsizeof-array-argument -Wbool-compare -Wodr -Wsuggest-final-types -Wsuggest-final-methods -Wsuggest-override -Wnull-dereference -fdelete-null-pointer-checks -Wduplicated-cond -Wplacement-new=2 -Wconditionally-supported -fsized-deallocation -Wsized-deallocation -Wduplicated-branches -Wrestrict -Wregister -Wdangling-else -Walloc-size-larger-than=1073741824 -Walloc-zero -Walloca -Wformat-overflow=2 -Wformat-truncation=2 -Wstringop-overflow=4 -Waligned-new -Wmultistatement-macros -Wcast-align=strict -fsanitize=address -fsanitize=undefined -fbounds-check -DQT_NO_DEBUG -D_REENTRANT -DQT_WIDGETS_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SVG_LIB -O0 -ggdb3 -isystem "/usr/include" -isystem "/usr/include/QtWidgets" -isystem "/usr/include/QtCore" -isystem "/usr/include/QtGui" -isystem "/usr/include/QtSvg" -isystem "**Unknown**/mkspecs/**Unknown**" -I ./ -MD -c -o "main.o" "main.cc" cc1plus: error: /usr/include/QtWidgets: No such file or directory [-Werror=missing-include-dirs] cc1plus: error: **Unknown**/mkspecs/**Unknown**: No such file or directory [-Werror=missing-include-dirs] In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2450, from /usr/include/c++/8/iosfwd:38, from /usr/include/c++/8/ios:38, from /usr/include/c++/8/ostream:38, from main.cc:1: /usr/include/features.h:381:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from /usr/include/c++/8/ext/string_conversions.h:41, from /usr/include/c++/8/bits/basic_string.h:6361, from /usr/include/c++/8/string:52, from /usr/include/c++/8/bits/locale_classes.h:40, from /usr/include/c++/8/bits/ios_base.h:41, from /usr/include/c++/8/ios:42, from /usr/include/c++/8/ostream:38, from main.cc:1: /usr/include/c++/8/cstdlib:75:15: fatal error: stdlib.h: No such file or directory #include_next <stdlib.h> ^~~~~~~~~~ cc1plus: all warnings being treated as errors compilation terminated. make[1]: *** [Makefile:429: main.o] Error 1 rm ui_mainwindow.hh make[1]: Leaving directory '/home/m.tarenskeen/rpmbuild/SOURCES/GIT/lilyplayer/src' make: *** [Makefile:5: all] Error 2
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user