freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Devel] Building FreeType 2.1.8


From: Kornfeld Eliyahu Peter
Subject: [Devel] Building FreeType 2.1.8
Date: Wed, 23 Jun 2004 15:13:00 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113

Hi

Today I tried to build the FreeType 2.1.8 library on win32, using Microsoft VisualC++ 6.0.

/*These are the compiler settings:*/

   Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804
   for 80x86
   Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
   cl /MLd /Za /W4 /GX /Zi /Od /I "..\..\..\include" /D "_DEBUG" /D
   "WIN32" /D "_MBCS" /D "_LIB" /D "FT_DEBUG_LEVEL_ERROR" /D
   "FT_DEBUG_LEVEL_TRACE" /Fo"..\..\..\objs\debug_st/"
   /Fd"..\..\..\objs\debug_st/" /FD /GZ /c
      "freetype-2.1.8\src\autohint\autohint.c"
      "freetype-2.1.8\src\bdf\bdf.c"
      "freetype-2.1.8\src\cff\cff.c"
      "freetype-2.1.8\src\base\ftbase.c"
      "freetype-2.1.8\src\cache\ftcache.c"
      "freetype-2.1.8\src\base\ftglyph.c"
      "freetype-2.1.8\src\gzip\ftgzip.c"
      "freetype-2.1.8\src\lzw\ftlzw.c"
      "freetype-2.1.8\src\base\ftinit.c"
      "freetype-2.1.8\src\base\ftmm.c"
      "freetype-2.1.8\src\base\ftsystem.c"
      "freetype-2.1.8\src\pcf\pcf.c"
      "freetype-2.1.8\src\pfr\pfr.c"
      "freetype-2.1.8\src\psaux\psaux.c"
      "freetype-2.1.8\src\pshinter\pshinter.c"
      "freetype-2.1.8\src\psnames\psmodule.c"
      "freetype-2.1.8\src\raster\raster.c"
      "freetype-2.1.8\src\sfnt\sfnt.c"
      "freetype-2.1.8\src\smooth\smooth.c"
      "freetype-2.1.8\src\truetype\truetype.c"
      "freetype-2.1.8\src\type1\type1.c"
      "freetype-2.1.8\src\cid\type1cid.c"
      "freetype-2.1.8\src\type42\type42.c"
      "freetype-2.1.8\src\winfonts\winfnt.c"

/*These are the warnings:*/

   freetype-2.1.8\src\bdf\bdfdrivr.c(405)

       warning C4244: '=' : conversion from 'long ' to 'short ',
       possible loss of data

   freetype-2.1.8\src\bdf\bdfdrivr.c(411)

       warning C4244: '=' : conversion from 'int ' to 'short ',
       possible loss of data

   freetype-2.1.8\src\cff\cffload.c(1690)

       warning C4244: '=' : conversion from 'unsigned int ' to
       'unsigned short ', possible loss of data

   freetype-2.1.8\src\cff\cffload.c(2246)

       warning C4244: '=' : conversion from 'int ' to 'unsigned char ',
       possible loss of data

   freetype-2.1.8\src\cache\ftccmap.c(279)

       warning C4244: '=' : conversion from 'unsigned int ' to
       'unsigned short ', possible loss of data

   freetype-2.1.8\src\base\ftmm.c(53)

       warning C4127: conditional expression is constant

   freetype-2.1.8\src\base\ftmm.c(53)

       warning C4127: conditional expression is constant

   freetype-2.1.8\src\pcf\pcfread.c(1078)

       warning C4244: '=' : conversion from 'long ' to 'short ',
       possible loss of data

   freetype-2.1.8\src\pcf\pcfread.c(1084)

       warning C4244: '=' : conversion from 'int ' to 'short ',
       possible loss of data

   freetype-2.1.8\src\sfnt\sfdriver.c(301)

       warning C4054: 'type cast' : from function pointer 'void
       *(*)(struct TT_FaceRec_ *,int )' to data pointer 'void *'

   freetype-2.1.8\src\sfnt\sfdriver.c(304)

       warning C4054: 'type cast' : from function pointer 'int
       (*)(struct TT_FaceRec_ *,unsigned long ,long ,unsigned char
       *,unsigned long *)' to data pointer 'void *'

   freetype-2.1.8\src\truetype\ttgload.c(1573)

       warning C4244: '=' : conversion from 'long ' to 'unsigned short
       ', possible loss of data

   freetype-2.1.8\src\truetype\ttgload.c(1574)

       warning C4244: '=' : conversion from 'long ' to 'short ',
       possible loss of data

   freetype-2.1.8\src\cache\ftcbasic.c(296)

       warning C4701: local variable 'node' may be used without having
       been initialized

   freetype-2.1.8\src\cache\ftcbasic.c(412)

       warning C4701: local variable 'node' may be used without having
       been initialized

   freetype-2.1.8\src\cid\cidload.c(539)

       warning C4244: '=' : conversion from 'int ' to 'unsigned char ',
       possible loss of data

   freetype-2.1.8\src\cid\cidload.c(541)

       warning C4244: '=' : conversion from 'int ' to 'unsigned char ',
       possible loss of data

   freetype-2.1.8\src\cid\cidload.c(543)

       warning C4244: '=' : conversion from 'int ' to 'unsigned char ',
       possible loss of data

   freetype-2.1.8\src\cid\cidload.c(566)

       warning C4244: '=' : conversion from 'int ' to 'unsigned char ',
       possible loss of data

   freetype-2.1.8\src\cid\cidload.c(569)

       warning C4244: '+=' : conversion from 'int ' to 'unsigned char
       ', possible loss of data

   freetype-2.1.8\src\cid\cidload.c(573)

       warning C4244: '=' : conversion from 'int ' to 'unsigned char ',
       possible loss of data

*_This is the only error I got:_*

   freetype-2.1.8\src\lzw\zopen.c(72)

       fatal error C1083: Cannot open include file: 'unistd.h': No such
       file or directory

According to Microsoft there is no such header file. One must use process.h insteed on win32 platforms. I tried, it's works (except the warnings).

Full of respect,
Peter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]