
LibreOffice 7.3 can be built with either Visual Studio 2019 or 2022. LibreOffice 7.0 requires Visual Studio 2019. LibreOffice 6.3 can be built with either Visual Studio 2017 or 2019. LibreOffice 6.2 requires Visual Studio 2017. LibreOffice 5.4 requires Visual Studio 2015. LibreOffice 5.0 requires Visual Studio 2013. LibreOffice 4.4 requires Visual Studio 2012. Since VS 2017, a separate Build Tools package is available that includes compilers, and most toolchains and libraries without installing Visual Studio IDE: įor older LibreOffice versions the required Visual Studio versions are: There is an edition that is free of charge, the Community Edition, that includes everything needed to build all LibreOffice features: Ĭurrent master (since LibreOffice 7.0) requires Visual Studio 2019 (at least v16.5) (or the equivalent Visual Studio Build Tools). You need the Microsoft compiler/development suite Visual Studio, which can be obtained from here: The first is the installed Oracle x86_64 Java, the 2nd is the unpacked pre-release of the Windows Arm64 OpenJDK Java.īefore you can start hacking LibreOffice on Windows, you need to follow these instructions to set up a build environment. -with-build-platform-configure-options=-with-jdk-home=C:/PROGRA~1/Java/JDK-14~1.1. -host=aarch64-pc-cygwin or -with-distro=LibreOfficeWinArm64. Otherwise, your build and host system will be the same, detected by the configure script, which is probably what you want anyway.ĭepending on your decision, you must install a Java version, matching the target architecture and bit count.Įxample for Windows Arm64 cross-compile including Java
-host=aarch64-pc-cygwin: target 64-bit ARM host (WIP, but should run in general - see bug tdf#137143)įor all versions before LibreOffice 7.1, the default build is always 32-bit on Windows and you must explicitly call autogen.sh/configure with -enable-64-bit to get a 64-bit build. -host=x86_64-pc-cygwin: target 64-bit AMD / Intel host. -host=i686-pc-cygwin: target 32-bit Intel / AMD host.
To explicitly select your architecture, you have to supply the correct configure host triplet: Since core commit 114ed73a7ba56e013e6d7f886798915fb20c0946 (for more information: ), which basically translates to since LibreOffice 7.1, the old configure switch -enable-64-bit was dropped.