[Scribus] Problem Compiling 1.3.5 on OS X

Ralf Höling hoeling
Sun Dec 30 11:31:04 CET 2007


Hi Andreas!

Am 30.12.2007 um 04:50 schrieb avox:

>> ...
>> I didn't want to complain and I'm sorry if I expressed it wrong.
>>
>
> No you didn't and I did  not want to imply that, either. (I did use a
> smiley! :-) )
> I just wanted to make a funny remark about Freetype's strange header  
> system.
>
> Does it work now? If not, what errors do you get?

When I cmake with:

FREETYPE_INCLUDE_DIR_FT2BUILD    /usr/X11R6/include/freetype2
  FREETYPE_INCLUDE_DIR_FTHEADER    /usr/X11R6/include/freetype2

and

cmake -DBUILD_OSX_BUNDLE=1 -DFONTCONFIG_INCLUDE_DIR:PATH=/usr/X11/ 
include -DFONTCONFIG_LIBRARY:FILEPATH=/usr/X11/lib/libfontconfig.dylib  
-DWANT_CAIRO=1 -DCMAKE_INSTALL_PREFIX:PATH=/Users/ralf/Applications/ 
Scribus.app/Contents/ ../trunk/Scribus/

I get the following error in make:

[Riese:~/scribus/135/builddir] ralf% make
[  0%] Building CXX object scribus/fonts/CMakeFiles/ 
scribus_fonts_lib.dir/scfontmetrics.o
In file included from /Users/ralf/scribus/135/trunk/Scribus/scribus/ 
scfonts.h:18,
                  from /Users/ralf/scribus/135/trunk/Scribus/scribus/ 
sctextstruct.h:25,
                  from /Users/ralf/scribus/135/trunk/Scribus/scribus/ 
scribusstructs.h:27,
                  from /Users/ralf/scribus/135/trunk/Scribus/scribus/ 
page.h:33,
                  from /Users/ralf/scribus/135/trunk/Scribus/scribus/ 
fonts/scfontmetrics.cpp:17:
/usr/X11/include/ft2build.h:56:38: error: freetype/config/ftheader.h:  
No such file or directory
In file included from /Users/ralf/scribus/135/trunk/Scribus/scribus/ 
sctextstruct.h:25,
                  from /Users/ralf/scribus/135/trunk/Scribus/scribus/ 
scribusstructs.h:27,
                  from /Users/ralf/scribus/135/trunk/Scribus/scribus/ 
page.h:33,
                  from /Users/ralf/scribus/135/trunk/Scribus/scribus/ 
fonts/scfontmetrics.cpp:17:
/Users/ralf/scribus/135/trunk/Scribus/scribus/scfonts.h:19:10: error:  
#include expects "FILENAME" or <FILENAME>
/Users/ralf/scribus/135/trunk/Scribus/scribus/scfonts.h:20:10: error:  
#include expects "FILENAME" or <FILENAME>
/Users/ralf/scribus/135/trunk/Scribus/scribus/scfonts.h:21:10: error:  
#include expects "FILENAME" or <FILENAME>
In file included from /Users/ralf/scribus/135/trunk/Scribus/scribus/ 
fonts/scfontmetrics.cpp:18:
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.h: 
19:10: error: #include expects "FILENAME" or <FILENAME>
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.h: 
20:10: error: #include expects "FILENAME" or <FILENAME>
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.h: 
21:10: error: #include expects "FILENAME" or <FILENAME>
In file included from /Users/ralf/scribus/135/trunk/Scribus/scribus/ 
fonts/scfontmetrics.cpp:21:
/Users/ralf/scribus/135/trunk/Scribus/scribus/scribusdoc.h:58:10:  
error: #include expects "FILENAME" or <FILENAME>
/Users/ralf/scribus/135/trunk/Scribus/scribus/scfonts.h:23: error:  
'FT_Error' does not name a type
/Users/ralf/scribus/135/trunk/Scribus/scribus/scfonts.h:62: error:  
'FT_Library' has not been declared
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.h: 
30: error: 'FT_Face' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.h: 
31: error: 'FT_Face' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.h: 
31: error: expected primary-expression before 'chr'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.h: 
31: error: expected primary-expression before 'int'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.h: 
31: error: expected primary-expression before 'double'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.h: 
31: error: expected primary-expression before 'double'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.h: 
31: error: expected primary-expression before 'bool'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.h: 
32: error: 'FT_Face' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.h: 
32: error: expected primary-expression before 'chr'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.h: 
32: error: expected primary-expression before 'int'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.h: 
32: error: expected primary-expression before 'double'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.h: 
32: error: expected primary-expression before 'double'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.h: 
32: error: expected primary-expression before 'bool'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.h: 
35: error: 'FT_Face' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.h: 
35: error: expected primary-expression before '&' token
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.h: 
35: error: 'GList' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.h: 
35: error: initializer expression list treated as compound expression
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
31: error: 'FT_ULong' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
31: error: template argument 1 is invalid
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
31: error: invalid type in declaration before ';' token
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
38: error: 'FT_ULong' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
39: error: 'FT_Vector' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
39: error: 'to' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
39: error: expected primary-expression before '*' token
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
39: error: 'composite' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
39: error: initializer expression list treated as compound expression
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
40: error: 'FT_Vector' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
40: error: 'to' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
40: error: expected primary-expression before '*' token
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
40: error: 'composite' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
40: error: initializer expression list treated as compound expression
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
41: error: 'FT_Vector' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
41: error: 'control' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
41: error: 'FT_Vector' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
41: error: 'to' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
41: error: expected primary-expression before '*' token
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
41: error: 'composite' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
41: error: initializer expression list treated as compound expression
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
42: error: 'FT_Vector' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
42: error: 'p' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
42: error: 'FT_Vector' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
42: error: 'q' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
42: error: 'FT_Vector' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
42: error: 'to' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
42: error: expected primary-expression before '*' token
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
42: error: 'composite' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
42: error: initializer expression list treated as compound expression
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
44: error: 'FT_Outline_Funcs' does not name a type
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
58: error: redefinition of 'int setBestEncoding'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.h: 
30: error: 'int setBestEncoding' previously defined here
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
58: error: 'FT_Face' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
151: error: redefinition of 'FPointArray traceGlyph'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.h: 
32: error: 'FPointArray traceGlyph' previously declared here
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
151: error: 'FT_Face' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
151: error: 'FT_UInt' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
151: error: expected primary-expression before 'int'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
151: error: expected primary-expression before 'double'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
151: error: expected primary-expression before 'double'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
151: error: expected primary-expression before 'bool'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
196: error: redefinition of 'FPointArray traceChar'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.h: 
31: error: 'FPointArray traceChar' previously declared here
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
196: error: 'FT_Face' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
196: error: expected primary-expression before 'chr'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
196: error: expected primary-expression before 'int'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
196: error: expected primary-expression before 'double'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
196: error: expected primary-expression before 'double'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
196: error: expected primary-expression before 'bool'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp:  
In function 'QPixmap FontSample(const ScFace&, int, QString, QColor,  
bool)':
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
213: error: 'FT_Face' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
213: error: expected `;' before 'face'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
214: error: 'FT_Library' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
214: error: expected `;' before 'library'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
219: error: 'library' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
219: error: 'FT_Init_FreeType' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
220: error: 'face' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
220: error: 'FT_New_Face' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
221: error: 'setBestEncoding' cannot be used as a function
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
250: error: no match for call to '(FPointArray) (<type error>, uint&,  
int&, double*, double*, bool*)'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
254: error: 'FT_ULong' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
254: error: expected `;' before 'charcode'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
255: error: 'FT_UInt' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
255: error: expected `;' before 'gindex'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
256: error: 'gindex' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
257: error: 'charcode' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
257: error: 'FT_Get_First_Char' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
260: error: no match for call to '(FPointArray) (<type error>, <type  
error>, int&, double*, double*, bool*)'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
272: error: 'FT_Get_Next_Char' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
283: error: no match for call to '(FPointArray) (<type error>, uint&,  
int&, double*, double*, bool*)'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
302: error: 'FT_Done_FreeType' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp:  
At global scope:
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
339: error: redefinition of 'bool GlyNames'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.h: 
35: error: 'bool GlyNames' previously defined here
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
339: error: 'FT_Face' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
339: error: expected primary-expression before '&' token
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
339: error: 'GList' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
369: error: redefinition of 'int traceMoveto'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
39: error: 'int traceMoveto' previously defined here
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
369: error: 'FT_Vector' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
369: error: 'to' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
369: error: expected primary-expression before '*' token
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
369: error: 'composite' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
387: error: redefinition of 'int traceLineto'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
40: error: 'int traceLineto' previously defined here
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
387: error: 'FT_Vector' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
387: error: 'to' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
387: error: expected primary-expression before '*' token
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
387: error: 'composite' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
396: error: redefinition of 'int traceQuadraticBezier'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
41: error: 'int traceQuadraticBezier' previously defined here
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
396: error: 'FT_Vector' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
396: error: 'control' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
396: error: 'FT_Vector' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
396: error: 'to' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
396: error: expected primary-expression before '*' token
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
396: error: 'composite' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
407: error: redefinition of 'int traceCubicBezier'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
42: error: 'int traceCubicBezier' previously defined here
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
407: error: 'FT_Vector' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
407: error: 'p' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
407: error: 'FT_Vector' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
407: error: 'q' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
407: error: 'FT_Vector' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
407: error: 'to' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
407: error: expected primary-expression before '*' token
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
407: error: 'composite' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp:  
In function 'void readAdobeGlyphNames()':
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
426: error: request for member 'clear' in 'adobeGlyphNames', which is  
of non-class type 'int'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
430: error: 'FT_ULong' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
430: error: expected `;' before 'unicode'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
431: error: 'unicode' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
432: error: request for member 'insert' in 'adobeGlyphNames', which is  
of non-class type 'int'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp:  
At global scope:
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
439: error: redefinition of 'QString adobeGlyphName'
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
38: error: 'QString adobeGlyphName' previously declared here
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
439: error: 'FT_ULong' was not declared in this scope
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
30: warning: 'FirstM' defined but not used
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
424: warning: 'void readAdobeGlyphNames()' defined but not used
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
39: warning: 'traceMoveto' defined but not used
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
40: warning: 'traceLineto' defined but not used
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
41: warning: 'traceQuadraticBezier' defined but not used
/Users/ralf/scribus/135/trunk/Scribus/scribus/fonts/scfontmetrics.cpp: 
42: warning: 'traceCubicBezier' defined but not used
make[2]: *** [scribus/fonts/CMakeFiles/scribus_fonts_lib.dir/ 
scfontmetrics.o] Error 1
make[1]: *** [scribus/fonts/CMakeFiles/scribus_fonts_lib.dir/all]  
Error 2
make: *** [all] Error 2
[Riese:~/scribus/135/builddir] ralf%

Thank you for your help!

Best regards

Ralf



More information about the scribus mailing list