The OpenOffice source code needs to be compiled recently, but the compilation is complicated and cannot be completely succeeded at the moment.
Therefore, I want to check the code in the OpenOffice, so the first step is to use the OpenOffice SDK.
. So there is no way to download the SDK.
There are also good blog resources on the Internet, but there is no solution to errors in the configuration process. In fact, the errors that people encounter during the configuration process are not necessarily the same. I encountered more than N troubles during configuration, causing a headache and vomiting blood.
But I have finally solved the problem. I will summarize it below.
1. Prepare OpenOffice AND ITS SDK
Without him, honestly go to the official website of http://www.openoffice.org.
<1.1> download the OpenOffice installation program in Windows
The OpenOffice installation version stands on the home page without hesitation. The downloaded file is apache_openoffice_incubating_3.4.1_win_x86_install_zh-cn.exe (for your reference)
<1.2> download the OpenOffice SDK in Windows
There is a develop link on the homepage. Go to and find downloads directly. You can download source, binaries, and SDK.
Here we need to download the SDK.
My downloaded version is: Apache_OpenOffice_incubating-SDK_3.4.1_Win_x86_install_en-US.exe (for reference)
2. Install OpenOffice and sdk2.1
I installed it in F: \ part _ OpenOffice.
After installation
There is a space between OpenOffice and 3 installed by default. I will remove it to prevent unnecessary errors.
2.3 install the SDK by a fool. The default SDK path should be F: \ part _ OpenOffice \ OpenOffice. org3 \ basis \ SDK. Do not change it. So after installing the SDK clip, I will give a picture, as shown below:
Index.htmlIs to help index, where
Installation guidThe Installation Wizard (
Very important. Be sure to take a closer look.). The IDL reference is a complete API manual. It depends on the Code. The SDK tool is used in the bin directory of the SDK. Let's talk about it later. Include is the included header file. Lib is the library file. At this point, our preparations have been completed, and the next article will introduce how to configure them.