SDK Download and installation

Discuss setup / installation issues - Add a spell checker, Language pack?
Post Reply
Richard76
Posts: 4
Joined: Sat Aug 24, 2019 3:33 pm

SDK Download and installation

Post by Richard76 »

Hi, I have been struggling to install the AOO 4.1.7 SDK on Windows 10. My hope is to write some extensions to AOO in C++. I have found the write-up in the wiki entitled SDK Installation, but it it has a broken link, the version described is 2.0, which is some years out of date, and I am not a low-level Windows expert!
The 4.1.7 AOO itself installs with no real effort, and runs just fine.

Am I in the correct forum? Am I using the only version of a C++ installation description? Could some kind person let me know how they installed SDK 4.1.7?

Hopefully someone knows the answers to my questions...
OpenOffice 4.1.6, OpenOfficeSDK 4.1.6
macOS Mojave 10.14.6
User avatar
RoryOF
Moderator
Posts: 35210
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: SDK Download and installation

Post by RoryOF »

Apache OpenOffice 4.1.16 on Xubuntu 24.04.4 LTS
Bill
Volunteer
Posts: 8952
Joined: Sat Nov 24, 2007 6:48 am

Re: SDK Download and installation

Post by Bill »

AOO 4.1.14 on Ubuntu MATE 22.04
Richard76
Posts: 4
Joined: Sat Aug 24, 2019 3:33 pm

Re: SDK Download and installation

Post by Richard76 »

Thank you for replying, RoryOF.
However, I don't want to download the Mac version, only my e-mail runs on Mac.
Thank you Bill, but see below

I have downloaded the Windows 10 64-bit version of the SDK and installed it into a directory c:\Users\User\AOOSDK4.1.7, and c:\Program Files\Open Office 4.
Also I downloaded and installed Microsoft Visual C++ 2013

The wiki entry SDK Installation then becomes a little wooly.

"I launch first C:\openoffice\OpenOffice.org2.0_SDK\configureWindowsNT.bat which asks any questions :

set OO_SDK_HOME=C:\openoffice\OpenOffice.org2.0_SDK
set OFFICE_HOME=C:\Program Files\OpenOffice.org 2.0
set OO_SDK_MAKE_HOME=C:\Dev-C++\Bin
set OO_SDK_CPP_HOME=C:\Program Files\Microsoft Visual C++ Toolkit 2003\Bin
set OO_SDK_JAVA_HOME=C:\Program Files\Java\jdk1.5.0_03"


Does that mean I need to create the .bat file, and issue it? Do I need to do this every time I run the SDK?
OpenOffice 4.1.6, OpenOfficeSDK 4.1.6
macOS Mojave 10.14.6
User avatar
RoryOF
Moderator
Posts: 35210
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: SDK Download and installation

Post by RoryOF »

I saw the Mac reference in your Forum .sig and thought that was the version of SDK you required. Not using Windows I cannot help with installation of SDK on it. In linux one installs the SDK deb file in the usual way.

At a guess, you could either save the list of commands as a .bat file and run it, or copy/paste each line to Windows console, to give the same effect.
Apache OpenOffice 4.1.16 on Xubuntu 24.04.4 LTS
Bill
Volunteer
Posts: 8952
Joined: Sat Nov 24, 2007 6:48 am

Re: SDK Download and installation

Post by Bill »

@Richard76; Sorry, I've never installed the SDK and don't use Windows, so I can't help with the question about the .bat file.

However, I can tell you that there is no 64-bit version for Windows. The SDK for Windows is a 32-bit program and 32-bit programs are usually installed in C:/Program Files(X86) on 64-bit Windows. The instructions in the Wiki are old and were probably written for 32-bit Windows where there is only C:/Program Files and no C:/Program Files(X86).
AOO 4.1.14 on Ubuntu MATE 22.04
User avatar
Villeroy
Volunteer
Posts: 31363
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: SDK Download and installation

Post by Villeroy »

May be you want to install LibreOffice and its SDK instead of OpenOffice? Nobody writes extensions for OpenOffice nowadays.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Richard76
Posts: 4
Joined: Sat Aug 24, 2019 3:33 pm

Re: SDK Download and installation

Post by Richard76 »

Thanks Villeroy, for your kind reply. I've now given up with the AOO route, and I'm concentrating on the libreoffice installation. That appears to be equally as complicated as the AOO installation! See "Building LibreOffice on Windows with Cygwin and MSVC: Tips and Tricks".
At least the AOO version was all in English...

regards

Richard
OpenOffice 4.1.6, OpenOfficeSDK 4.1.6
macOS Mojave 10.14.6
Richard76
Posts: 4
Joined: Sat Aug 24, 2019 3:33 pm

Re: SDK Download and installation

Post by Richard76 »

I have followed the instructions in the wiki.documentfoundation.org/Development/lode to install LibreOffice SDK. All seems to be successful, until I reach sheet 5, when it tells me to run ./setup --dev --force to set-up the development environment. All that does is provoke the message -bash: ./setup: no such file or directory. Assuming this was an error in the path for the shell, I checked the ~/.bash_profile edit that I did to insert two lines at the end of the file. This looks correct except for the second line which has a missing \ before the ${PATH} compared to what i typed into the echo statement. Is this the problem or is it correct?

Any help or advice would be appreciated!!

Richard
OpenOffice 4.1.6, OpenOfficeSDK 4.1.6
macOS Mojave 10.14.6
User avatar
Villeroy
Volunteer
Posts: 31363
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: SDK Download and installation

Post by Villeroy »

No developers here. There is a developers mailing list and chat room: https://www.libreoffice.org/community/developers/
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Post Reply