Jon !

Blog personnel de Jon

How to install the SDK and compile the C++ examples on MacOS Intel

leave a comment »

This post is a MacOS oriented Hello-world based of this wiki page You can have it in French also


Good news, to start extending OpenOffice using UNO , like create components or extensions, you don’t necessary need to go trough a full build of the source code (I will talk later about the process) which take once start 6h30 on my MacBook Pro. Today, let’s be lazy.

  1. Requirements
  2. Get the SDK and you can drag and drop anywhere, that does not matter.
  3. Test the SDK
    Open a terminal ( or, look for the OpenOffice.org3.1_SDK folder :

    cd <....>/OpenOffice.org3.1_SDK
    #-- And set the environment. Follow the instruction, nothing special here, just some settings.
    #-- You will need to execute this command each time you want to work with the SDK.
    #-- Now go to examples :
    cd examples/cpp/DocumentLoader
    #-- and build
    #-- A few set of instruction will be displayed at the end of the build, Let's follow them. First start OpenOffice
    soffice "-accept=socket,host=localhost,port=2083;urp;StarOffice.ServiceManager" &
    #-- and execute :

    If everything went fine, you should see a new document, with the content of OpenOffice.org3.1_SDK/examples/cpp/DocumentLoader/test.odt.

Just enjoy, you can now extend OpenOffice with the SDK. For more information,  continue your reading on this page :


Written by Jonathan

juin 3, 2009 à 1:10

Publié dans en, go-oo

Laisser un commentaire

Entrez vos coordonnées ci-dessous ou cliquez sur une icône pour vous connecter:


Vous commentez à l'aide de votre compte Déconnexion /  Changer )

Photo Google+

Vous commentez à l'aide de votre compte Google+. Déconnexion /  Changer )

Image Twitter

Vous commentez à l'aide de votre compte Twitter. Déconnexion /  Changer )

Photo Facebook

Vous commentez à l'aide de votre compte Facebook. Déconnexion /  Changer )


Connexion à %s

%d blogueurs aiment cette page :