Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index


On 11/20/2016 11:41 AM, mencacci wrote:
Hello there, I was trying to compile a prg and I get "unknow platform" error,
if I change on line 56 in the file config.h to defined(linux) or
defined(__linux__) all works fine.

I assume what you are trying to do is build a program against the LibreOffice SDK? For one, you should do that from a shell set up with the SDK configuration, see the "configuration step" details of <http://api.libreoffice.org/docs/install.html>. For another, the C/C++ include files available in the SDK's include/ tree require some predefined macros that are normally set up in the SDK's settings/*.mk makefiles. There was a thread about that here recently, see <https://lists.freedesktop.org/archives/libreoffice/2016-November/075807.html> "Re: Need help with installing/setting SDK on Linux".


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.