This afternoon I''ve been trying to build fontconfig 2.8,0 using Visual C++. I''m not sure if VC++ is a supported compiler but I seem to be managing okay. The only module that won''t compile is fcfreetype.c. The symbol fc_ucs_to_name can''t be found. I''ve looked quite carefully through my source files but I can''t find it declared anywhere, even though I don''t (apparently) have any header files missing. Can anyone give me a clue as to where I should be looking for it? Thanks. John
On 01/20/11 12:54, John Emmas wrote:> This afternoon I''ve been trying to build fontconfig 2.8,0 using Visual C++. I''m not sure if VC++ is a supported compiler but I seem to be managing okay. The only module that won''t compile is fcfreetype.c. The symbol fc_ucs_to_name can''t be found. I''ve looked quite carefully through my source files but I can''t find it declared anywhere, even though I don''t (apparently) have any header files missing. Can anyone give me a clue as to where I should be looking for it? Thanks.That file is generated by the code in fc-glyphname. There are also a couple other files generated that the src/ code uses. behdad
On 20 Jan 2011, at 18:20, Behdad Esfahbod wrote:> > That file is generated by the code in fc-glyphname. There are also a couple > other files generated that the src/ code uses. >Thanks for the prompt reply. I''ll try building on Linux tomorrow (using the traditional ./configure / make route) and see if I can figure out what''s missing. In the meantime, am I right in assuming that there isn''t a version somewhere that already comes with support for building with VC++? John
On 01/20/11 14:36, John Emmas wrote:> In the meantime, am I right in assuming that there isn''t a version somewhere that already comes with support for building with VC++?Not that I know of. behdad
On 20 Jan 2011, at 19:40, Behdad Esfahbod wrote:> On 01/20/11 14:36, John Emmas wrote: >> In the meantime, am I right in assuming that there isn''t a version somewhere that already comes with support for building with VC++? > > Not that I know of. >Thanks Behdad. I''m not yet familiar enough with Fontconfig to understand how relevant it might be to the Windows platform (I''m really only building it for completeness, as part of a bigger project). However, since GTK+ got ported to Windows, a reasonable number of other *nix libraries are following suit and adding support for VC++. Earlier today I was building libpng and Freetype for example, from their supplied VC projects. Normally, I don''t find it too difficult to convert a project if it doesn''t have inbuilt support - but of course, auto-generated source files can make things challenging! :-) John