[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] freetype 64bit build
From: |
Werner LEMBERG |
Subject: |
Re: [ft] freetype 64bit build |
Date: |
Tue, 22 Apr 2008 22:51:17 +0200 (CEST) |
> I am getting several "inconsistent dll linkage" warnings that is
> causing these functions not to be found when I try to use freetype
> to build osg plugin freetype.
>
> The warnings look like this
>
> ftwinfnt.c
>
> ..\..\..\src\base\ftwinfnt.c(30) : warning C4273: 'FT_Get_WinFNT_Header' :
> inconsistent dll linkage
> ..\..\..\include\freetype/ftwinfnt.h(247) : see previous definition of
> 'FT_Get_WinFNT_Header'
You need proper definitions of the FT_EXPORT and FT_EXPORT_DEF macros,
I think, to wrap the strange __cdecl stuff which is apparently
necessary for native Windows compilers.
Werner