|
[root@localhost w3cam-0.7.2]# make
gcc -g -O2 -I/usr/local/include -I/usr/local/X11/include -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTTF=1 -DVIDEO_DEV=\"/dev/video\" -DVERSION=\"0.7.2\" -c -o w3cam.o w3cam.c
w3cam.c:50:22: freetype.h: 没有那个文件或目录
In file included from w3cam.c:563:
font.c:26: syntax error before "TT_Face"
font.c:26: warning: no semicolon at end of struct or union
font.c:27: warning: data definition has no type or storage class
font.c:28: syntax error before "inst"
font.c:28: warning: data definition has no type or storage class
font.c:30: syntax error before '}' token
font.c:30: warning: data definition has no type or storage class
font.c:37: syntax error before "TT_Engine"
font.c: In function `Face_Open':
font.c:40: `engine' undeclared (first use in this function)
font.c:40: (Each undeclared identifier is reported only once
font.c:40: for each function it appears in.)
font.c:40: `file' undeclared (first use in this function)
font.c:40: `face' undeclared (first use in this function)
font.c:43: `prop' undeclared (first use in this function)
font.c:46: invalid type argument of `unary *'
font.c:47: invalid type argument of `unary *'
font.c:47: `ptsize' undeclared (first use in this function)
font.c: At top level:
font.c:55: syntax error before "inst"
font.c: In function `Face_Done':
font.c:58: `face' undeclared (first use in this function)
font.c: At top level:
font.c:63: syntax error before '*' token
font.c:64: syntax error before "face"
font.c: In function `Glyphs_Load':
font.c:72: `TT_CharMap' undeclared (first use in this function)
font.c:72: syntax error before "char_map"
font.c:73: `TT_Glyph' undeclared (first use in this function)
font.c:73: `gl' undeclared (first use in this function)
font.c:75: `prop' undeclared (first use in this function)
font.c:77: `face' undeclared (first use in this function)
font.c:80: `char_map' undeclared (first use in this function)
font.c:88: syntax error before ')' token
font.c:91: `TTLOAD_SCALE_GLYPH' undeclared (first use in this function)
font.c:92: `len' undeclared (first use in this function)
font.c:93: `str' undeclared (first use in this function)
font.c: At top level:
font.c:115: syntax error before '*' token
font.c: In function `Glyphs_Done':
font.c:118: `gl' undeclared (first use in this function)
font.c: At top level:
font.c:129: syntax error before "face"
font.c: In function `Raster_Init':
font.c:133: `TT_Instance_Metrics' undeclared (first use in this function)
font.c:133: syntax error before "imetrics"
font.c:137: `TT_Glyph_Metrics' undeclared (first use in this function)
font.c:137: syntax error before "gmetrics"
font.c:139: `imetrics' undeclared (first use in this function)
font.c:140: `prop' undeclared (first use in this function)
font.c:144: `border' undeclared (first use in this function)
font.c:146: `len' undeclared (first use in this function)
font.c:147: `str' undeclared (first use in this function)
font.c:148: `gl' undeclared (first use in this function)
font.c:150: `gmetrics' undeclared (first use in this function)
font.c:153: `bit' undeclared (first use in this function)
font.c:156: `TT_Flow_Down' undeclared (first use in this function)
font.c: At top level:
font.c:167: syntax error before '*' token
font.c: In function `Raster_Done':
font.c:169: `bit' undeclared (first use in this function)
font.c: At top level:
font.c:176: syntax error before '*' token
font.c: In function `Raster_Small_Init':
font.c:178: `TT_Instance_Metrics' undeclared (first use in this function)
font.c:178: syntax error before "metrics"
font.c:179: invalid type argument of `unary *'
font.c:179: `metrics' undeclared (first use in this function)
font.c:180: `map' undeclared (first use in this function)
font.c:183: `TT_Flow_Up' undeclared (first use in this function)
font.c: At top level:
font.c:191: syntax error before '*' token
font.c: In function `Bitmap_Clear':
font.c:193: `map' undeclared (first use in this function)
font.c: At top level:
font.c:200: syntax error before "g"
font.c: In function `Render_Glyph':
font.c:204: `TT_F26Dot6' undeclared (first use in this function)
font.c:204: syntax error before "x"
font.c:208: `xmin' undeclared (first use in this function)
font.c:208: `gm' undeclared (first use in this function)
font.c:209: `ymin' undeclared (first use in this function)
font.c:210: `xmax' undeclared (first use in this function)
font.c:211: `ymax' undeclared (first use in this function)
font.c:213: `sbit' undeclared (first use in this function)
font.c:214: `g' undeclared (first use in this function)
font.c:216: `x_offset' undeclared (first use in this function)
font.c:217: `y_offset' undeclared (first use in this function)
font.c:221: `bit' undeclared (first use in this function)
font.c:257: `y' undeclared (first use in this function)
font.c:260: `x' undeclared (first use in this function)
font.c: At top level:
font.c:273: syntax error before '*' token
font.c: In function `Render_String':
font.c:278: `TT_F26Dot6' undeclared (first use in this function)
font.c:278: syntax error before "x"
font.c:279: `TT_Glyph_Metrics' undeclared (first use in this function)
font.c:281: `min_x' undeclared (first use in this function)
font.c:281: `min_y' undeclared (first use in this function)
font.c:282: `max_x' undeclared (first use in this function)
font.c:282: `max_y' undeclared (first use in this function)
font.c:283: `x' undeclared (first use in this function)
font.c:284: `y' undeclared (first use in this function)
font.c:286: `len' undeclared (first use in this function)
font.c:287: `str' undeclared (first use in this function)
font.c:288: `gl' undeclared (first use in this function)
font.c:290: `gmetrics' undeclared (first use in this function)
font.c:292: `z' undeclared (first use in this function)
font.c:319: `bit' undeclared (first use in this function)
font.c:334: `sbit' undeclared (first use in this function)
w3cam.c: In function `main':
w3cam.c:606: `TT_Engine' undeclared (first use in this function)
w3cam.c:606: syntax error before "engine"
w3cam.c:607: `TT_Face' undeclared (first use in this function)
w3cam.c:608: `TT_Face_Properties' undeclared (first use in this function)
w3cam.c:609: `TT_Instance' undeclared (first use in this function)
w3cam.c:610: `TT_Glyph' undeclared (first use in this function)
w3cam.c:610: `glyphs' undeclared (first use in this function)
w3cam.c:611: `TT_Raster_Map' undeclared (first use in this function)
w3cam.c:611: syntax error before "bit"
w3cam.c:813: `engine' undeclared (first use in this function)
w3cam.c:817: `face' undeclared (first use in this function)
w3cam.c:817: `properties' undeclared (first use in this function)
w3cam.c:817: `instance' undeclared (first use in this function)
w3cam.c:892: `bit' undeclared (first use in this function)
w3cam.c:893: `sbit' undeclared (first use in this function)
make: *** [w3cam.o] Error 1
[root@localhost w3cam-0.7.2]#
大家帮我看看这个到底是怎么回事? |
|