problem with link error in unit test

Noel Grandin noelgrandin at gmail.com
Tue Feb 16 07:37:12 UTC 2021


On 2021/02/16 12:22 am, Regina Henschel wrote:
> Hi Noel,
> 
> my local build on Windows 10 with VS2019 works, but gerrit_mac and gerrit_android_x86_64 complain.
> https://gerrit.libreoffice.org/c/core/+/110959
> 

Windows linking is a little more relaxed in this area, which is why problems tend to show up on unix systems.

In this case, you will need to add
    #include "scdllapi.h"
to pull in the definition of the SC_DLLPUBLIC  macro

Regards, Noel


More information about the LibreOffice mailing list