[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ft-devel] DLL issues
From: |
Werner LEMBERG |
Subject: |
[ft-devel] DLL issues |
Date: |
Sat, 08 Jul 2017 18:05:42 +0200 (CEST) |
[Sending to freetype-devel also.]
>> PS: Arvinder, it looks strange to me that you have `-lfreetype' at
>> all in your building instructions. AFAICS, you access the
>> FreeType DLLs using dlopen – what FreeType functionality are
>> you using without dlopen?
>
> I was unsure about this myself. It seemed like I had to include it
> so that Kushal's code would compile correctly since his code
> references FreeType structs/variables/types.
Hmm. This would be compilation flag `-I' to set the FreeType include
path, but not the linker flags `-L' and `-l'.
> There was also an odd chicken and egg situation where I used
> FreeType types like FT_Error when setting up the dynamically linked
> functions. Ex: `FT_Error (*ft_init_fun)(FT_Library*);`. So there
> ended up being 3 versions of FT in use.
I think this is not correct (but maybe I'm wrong). Please check that
again, probably consulting the internet for more advice.
Werner
- [ft-devel] DLL issues,
Werner LEMBERG <=