There is a fine example on the following page which we would like to compile and run from the command-line on Ubuntu 14:
https://wiki.openoffice.org/wiki/Docume ... onnections
We've installed the SDK, run the setsdkenv script and now would like to compile on the command line like g++ main.cpp (where main.cpp contains the sample code). This however throws many errors (e.g. in the /usr/include/sal/*.h file). Is there a straightfoward way to do this? (E.g., are we missing a library?)
Compile [C++] example on command line
Compile [C++] example on command line
OpenOffice 4.1 on Ubuntu 14.04
Re: Compile [C++] example on command line
Welcom to the forum.
You have to pass some flags to your compiler. See Makefile in the SDK examples and sdk/settings direcotry.
You have to pass some flags to your compiler. See Makefile in the SDK examples and sdk/settings direcotry.
Please, edit this thread's initial post and add "[Solved]" to the subject line if your problem has been solved.
Apache OpenOffice 4-dev on Xubuntu 14.04
Apache OpenOffice 4-dev on Xubuntu 14.04