LO Windows SDK - Compiler error: Unkown Platform

Fatih Yegin mail.fyegin at gmail.com
Tue Jul 26 18:08:14 UTC 2022


I'm sorry, I have forgotten to mention that cmake doesn't generate the
needed headers in Windows either. We must run the necessary cppumaker
command manually in the necessary directory.

Any ideas about how can solve these issues?

Thank you again, before hand.

On Tue, 2022-07-26 at 15:52 +0300, Fatih Yegin wrote:
> Hello,
> 
> I am experimenting with LO SDK and using cmake to compile according
> to
> this page:
> https://dev.blog.documentfoundation.org/2022/04/19/using-cmake-to-build-libreoffice-cpp-sdk-examples/
> 
> This works great on Linux.
> 
> However, I am having build errors on Windows.
> 
> I believe, root cause of this problem is unkown platform error from
> sal
> library. Yet, I can't solve this even though I explicitly specify the
> OS within compile commands.
> 
> I have added these errors briefly on the attachements in
> Build_errors.txt with the addition of CMakeLists.txt file and
> compile_commands.json file.
> 
> For the build environment, I use MSYS's MINGW64 environment
> (additional
> info can be found at: https://www.msys2.org/docs/environments/).
> 
> I can share my configuration steps with a secondary e-mail if needed.
> 
> Thank you.
> 
> Best Regards,
> Fatih Yeğin
> 



More information about the LibreOffice mailing list