Am Montag, 16. November 2015 um 21:54:14, schrieb Georg Baum <b...@lyx.org> > commit 0c97d6edc009a968277bda26d2352e7a0868ae33 > Author: Georg Baum <b...@lyx.org> > Date: Mon Nov 16 21:51:30 2015 +0100 > > Fix wrong forward declaration > > This popped up in cmake monolithic build once. It looks like BufferView is > included indirectly by some of the other headers (otherwise we would have > seen > compile errors for other build configurations as well), bu I'll keep the > forward declaration since we don't want to depend on this indirect header > inclusion. >
And again one step further. Cmake claims that 88% compilation went OK with this commit before error. This last is a link error, not compilation. Apparently some file missing in merged source. ... Hm, why the hell needs check_convert binary `lyx::theApp()'? All other executables were built. Kornel
signature.asc
Description: This is a digitally signed message part.
[ 88%] Linking CXX executable ../../../bin/check_convert cd /usr/BUILD/BuildLyxGitQtlocal/src/support/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/check_convert.dir/link.txt --verbose=1 /usr/bin/c++ -Wall -Wunused-parameter --std=c++11 -fno-strict-aliasing -Wall -Wunused-parameter --std=c++11 -fno-strict-aliasing -O0 -g3 -D_DEBUG CMakeFiles/check_convert.dir/check_convert.cpp.o CMakeFiles/check_convert.dir/dummy_functions.cpp.o CMakeFiles/check_convert.dir/boost.cpp.o -o ../../../bin/check_convert -rdynamic ../../../lib/libsupport.a ../../../lib/libboost_signals.a ../../../lib/libboost_regex.a -lz -lmagic /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.2.1 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.2.1 ../../../lib/libsupport.a(_allinone_const.C.o): In function `applescript_execute_command': /usr/src/lyx/lyx-git/src/support/AppleScriptProxy.cpp:30: undefined reference to `lyx::lyxaction' /usr/src/lyx/lyx-git/src/support/AppleScriptProxy.cpp:30: undefined reference to `lyx::LyXAction::lookupFunc(std::string const&) const' /usr/src/lyx/lyx-git/src/support/AppleScriptProxy.cpp:30: undefined reference to `lyx::FuncRequest::FuncRequest(lyx::FuncRequest const&, std::string const&, lyx::FuncRequest::Origin)' /usr/src/lyx/lyx-git/src/support/AppleScriptProxy.cpp:33: undefined reference to `lyx::theApp()' collect2: error: ld returned 1 exit status make[2]: *** [bin/check_convert] Chyba 1 make[2]: Leaving directory `/usr/BUILD/BuildLyxGitQtlocal' make[1]: *** [src/support/tests/CMakeFiles/check_convert.dir/all] Chyba 2 make[1]: Leaving directory `/usr/BUILD/BuildLyxGitQtlocal'