Opened 16 years ago
Closed 16 years ago
#569 closed defect (invalid)
v.label.sa compilation error due to freetype
Reported by: | neuba | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.0.0 |
Component: | Vector | Version: | svn-trunk |
Keywords: | Cc: | ||
CPU: | x86-32 | Platform: | Linux |
Description (last modified by )
I got this error in grass 6.5 svn and their is the following error, in the v.label.sa directory:
gcc -I/home/danho/gis_soft/grass6_devel/dist.i686-pc-linux-gnu/include -g -O2 -I/usr/include/gdal/ -DPACKAGE=\""grassmods"\" -I/home/danho/gis_soft/grass6_devel/dist.i686-pc-linux-gnu/include -o OBJ.i686-pc-linux-gnu/annealing.o -c annealing.c Dans le fichier inclus à partir de annealing.c:15: labels.h:20:22: erreur: ft2build.h : Aucun fichier ou dossier de ce type labels.h:21:10: erreur: #include attend "NOM_DE_FICHIER" ou <NOM_DE_FICHIER> labels.h:22:10: erreur: #include attend "NOM_DE_FICHIER" ou <NOM_DE_FICHIER> make: *** [OBJ.i686-pc-linux-gnu/annealing.o] Erreur 1
Change History (6)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Description: | modified (diff) |
---|
comment:3 by , 16 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
You need to install the freetype6-devel package or indicate it properly:
# e.g., Mandriva: ./configure --with-freetype --with-freetype-includes=/usr/include/freetype2 ...
Feel free to reopen if you have done above and it still fails.
comment:4 by , 16 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
I made all the thingyou did in fedora 10 but there is still the same problem. I is also the same thing in grass70 because of freetype
comment:5 by , 16 years ago
Component: | default → Vector |
---|---|
Milestone: | 6.5.0 → 7.0.0 |
Summary: | grass compilation error due to freetype → v.label.sa compilation error due to freetype |
(title renamed to more useful title)
Ok, reproduced:
labels.c: In function ‘labels_init’: labels.c:86: error: implicit declaration of function ‘find_font_from_freetypecap’ labels.c:98: error: implicit declaration of function ‘free_freetypecap’ make: *** [OBJ.x86_64-unknown-linux-gnu/labels.o] Error 1
because of r34923 - the module needs to be updated accordingly.
comment:6 by , 16 years ago
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
I resolve the problem. I modified annealing.c and i left a small syntax error in the code. Please apologize me.
Replying to neuba:
A couple of notes about submitting bug reports: