Hi p1!
Ich bin auch gerade auf dieses Programm gestoßen, allerdings kriege ich es noch nicht einmal installiert. Das Makefile besteht ja nicht gerade aus komplexen Programm abläufen, "make" sollte also prinzipiell reichen, dachte ich zumindest, denn:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42 | $ make
g++ -o ttf2cxf -I/usr/include/freetype2 -lfreetype main.cpp
main.cpp:25:22: error: ft2build.h: No such file or directory
main.cpp:26:10: error: #include expects "FILENAME" or <FILENAME>
main.cpp:27:10: error: #include expects "FILENAME" or <FILENAME>
main.cpp:28:10: error: #include expects "FILENAME" or <FILENAME>
main.cpp:30: error: ‘FT_Library’ does not name a type
main.cpp:31: error: ‘FT_Face’ does not name a type
main.cpp:45: error: ‘FT_Vector’ was not declared in this scope
main.cpp:45: error: ‘to’ was not declared in this scope
main.cpp:45: error: expected primary-expression before ‘void’
main.cpp:45: error: initializer expression list treated as compound expression
main.cpp:46: error: ‘FT_Vector’ was not declared in this scope
main.cpp:46: error: ‘to’ was not declared in this scope
main.cpp:46: error: expected primary-expression before ‘void’
main.cpp:46: error: initializer expression list treated as compound expression
main.cpp:47: error: ‘FT_Vector’ was not declared in this scope
main.cpp:47: error: ‘control’ was not declared in this scope
main.cpp:47: error: ‘FT_Vector’ was not declared in this scope
main.cpp:47: error: ‘to’ was not declared in this scope
main.cpp:47: error: expected primary-expression before ‘void’
main.cpp:47: error: initializer expression list treated as compound expression
main.cpp:48: error: ‘FT_Vector’ was not declared in this scope
main.cpp:48: error: ‘control1’ was not declared in this scope
main.cpp:48: error: ‘FT_Vector’ was not declared in this scope
main.cpp:48: error: ‘control2’ was not declared in this scope
main.cpp:48: error: ‘FT_Vector’ was not declared in this scope
main.cpp:48: error: ‘to’ was not declared in this scope
main.cpp:48: error: expected primary-expression before ‘void’
main.cpp:48: error: initializer expression list treated as compound expression
main.cpp:51: error: ‘FT_Outline_Funcs’ does not name a type
main.cpp:62: error: redefinition of ‘int moveTo’
main.cpp:45: error: ‘int moveTo’ previously defined here
main.cpp:62: error: ‘FT_Vector’ was not declared in this scope
main.cpp:62: error: ‘to’ was not declared in this scope
main.cpp:62: error: expected primary-expression before ‘void’
main.cpp:70: error: redefinition of ‘int lineTo’
main.cpp:46: error: ‘int lineTo’ previously defined here
main.cpp:70: error: ‘FT_Vector’ was not declared in this scope
main.cpp:70: error: ‘to’ was not declared in this scope
main.cpp:70: error: expected primary-expression before ‘void’
make: *** [all] Fehler 1
|
Wenn ich stattdessen "sudo make" ausführe passiert das gleiche. Ich weiß aus dem Ribbonsoft-Forum, dass jemand einen Patch geschrieben hat http://www.ribbonsoft.com/rsforum/viewtopic.php?t=415, allerdings bin ich zu doof diesen Patch an zu wenden: Wie mach ich das denn? einfach den Text in eine Datei 'patch' schreiben und dann g++ patch ist anscheinend zu simpel, das hat zumindest nicht funktioniert bei mir. Ganz abgesehen davon scheint der patch auch für ein Problem NACH der Installation von ttf2cxf zu sein.
Wie kann ich das Programm denn installieren, hat da jemand Tipps?