14. 14
Building LibreOffice on Windows with
Cygwin and MSVC: Tips and Tricks
● https://wiki.documentfoundation.org/Develo
pment/BuildingOnWindows
●
ビルドに必要な情報はここに全部書いてある
●
内容が更新される
– LibreOffice のビルド方法はどんどん改良される
●
このスライドの内容はすぐに古くなる可能性が高いです
●
自分でビルド環境を改善して、 Wiki で情報提供もできたら素敵
ですね!
15. 15
LibreOffice をビルドするため必要なもの 1/2
●
必要な OS
– Windows 7 / 8 / 8.1
●
Windows 10 Insider Previewでもビルドできました
– 32 ビット /64 ビットいずれも
●
ただし 64 ビット版 LibreOffice は 64 ビット OS 上でのみビルド可能
●
必要なハードウェア
– マルチコア CPU 、搭載メモリ 4GB 以上、十分大きなストレージ
●
LibreOffice のソースコードやバイナリ等の格納に30GB 強の空きが必要
●
NTFS 圧縮が効果あり
●
多分、一般家庭にある今時の PC ならビルドできる
– 高スペックな PC だと短い時間でビルド可能
16. 16
LibreOffice をビルドするため必要なもの 2/2
• 必要な開発ツール
①Microsoft Visual Studio 2013
②Java SE Development Kit ( JDK )
③Cygwin
④Win32 GNU make
⑤Apache Ant
●
今回は省略していますが可能なら JUnit も
●
⑥LibreOffice のソースコードも必要
37. 37
ビルドでエラーが発生したら 1/3
●
エラーメッセージやログをよく見る
– 可能なら修正する
●
Wiki ページの Known Problems をチェックする
– https://wiki.documentfoundation.org/Development/B
uildingOnWindows#Known_Problems
– Building LibreOffice on Windows with Cygwin and MSVC
の最後の方
– ウイルス対策ソフトが原因でビルドが失敗する時の回避
方法等があります
47. 47
参考文献 / Web ページ
● Building LibreOffice on Windows with Cygwin
and MSVC: Tips and Tricks(TDF Wiki)
– https://wiki.documentfoundation.org/Development/Bu
ildingOnWindows
● Visual Studio Community 2013 Download
page
– https://www.visualstudio.com/products/visual-studio-c
ommunity-vs
● Java SE Downloads
– http://www.oracle.com/technetwork/java/javase/downlo
ads/index.html
● This is the home of the Cygwin project
– http://www.cygwin.com/
48. 48
参考文献 / Web ページ
● Dev-tools misc. useful libreoffice
development tools ( Win32 GNU make
download )
– http://dev-www.libreoffice.org/bin/cygwin/
● THE APACHE ANT PROJECT HOMEPAGE
– http://ant.apache.org/
● Tinderbox Status Page
– http://tinderbox.libreoffice.org/MASTER/status.html
– http://tinderbox.libreoffice.org/libreoffice-4-4/status.htm
l