2020.7.10 Personal 7.1
参考:
https://wiki.documentfoundation.org/Development/lode
https://wiki.documentfoundation.org/Development/How_to_debug
Windows安装Visual Studio2019
安装cygwin(可以在setup-x86里边安装)
进入 cygwin命令行
setup-x86_64.exe -P autoconf -P automake -P bison -P cabextract -P doxygen -P flex -P gcc-g++ -P gettext-devel git -P gnupg -P gperf -P make -P mintty -P nasm -P openssh -P openssl -P patch -P perl -P python -P python3 -P pkg-config -P rsync -P unzip -P vim -P wget -P zip -P perl-Archive-Zip -P perl-Font-TTF -P perl-IO-String
(Download Site: http://cygwin.mirror.constant.com)
git clone https://git.libreoffice.org/lode
cd lode
./setup --prereq
./setup
export LODE_HOME=lode的clone目录
./setup --dev --force
cd dev/core ./autogen.sh --with-jdk-home=D:/SoftInstall/jdk/jdk_9.0.4 --enable-dbgutil --enable-64-bit --disable-ccache --enable-pch
##make 2>&1 | tee build.log
make gb_COLOR=1 # gb_COLOR=1 enables colored output
编译失败:make clean
编译失败,后边使用
./autogen.sh --with-jdk-home=D:/SoftInstall/jdk/jdk_9.0.4 --enable-dbgutil --enable-64-bit --disable-ccache --enable-pch --disable-skia
make gb_COLOR=1 # gb_COLOR=1 enables colored output