Windows libreOffice develpemet 搭建

2020.7.10 Personal 7.1

 

参考:

https://wiki.documentfoundation.org/Development/lode

https://wiki.documentfoundation.org/Development/BuildingOnWindows#BitDefender_.2F_other_Anti-Virus_.2F_security_tools_breaking_the_build

https://wiki.documentfoundation.org/Development/How_to_debug

https://docs.libreoffice.org/

https://www.libreofficechina.org/%E8%AF%91-%E6%8E%A2%E7%B4%A2libreoffice%E7%9A%84%E6%BA%90%E4%BB%A3%E7%A0%81%E5%BA%93/

 

Windows安装Visual Studio2019

 

下载 setup-x86_64.exe

安装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

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值