> 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
_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype