[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ft] Example Compilation Problem
From: |
Marc Philipp |
Subject: |
[ft] Example Compilation Problem |
Date: |
Sun, 19 Jun 2005 11:54:52 +0200 |
Hi!
This is probably one of those newbie questions, however, I've been
trying to compile example1.c from the FreeType tutorial for quite a
while now.
I installed the library from the rpm package of my linux distrubution
(SuSE Linux 9.3 Professional). freetype-config --cflags returns
-I/usr/include/freetype2 so I tried to compile it like that:
> gcc -I/usr/include/freetype2 example1.c
/tmp/ccoxCKry.o(.text+0x1d9): In function `main':
example1.c: undefined reference to `FT_Init_FreeType'
/tmp/ccoxCKry.o(.text+0x1f5):example1.c: undefined reference to `FT_New_Face'
/tmp/ccoxCKry.o(.text+0x211):example1.c: undefined reference to
`FT_Set_Char_Size'
/tmp/ccoxCKry.o(.text+0x22e):example1.c: undefined reference to `cos'
/tmp/ccoxCKry.o(.text+0x25d):example1.c: undefined reference to `sin'
/tmp/ccoxCKry.o(.text+0x28e):example1.c: undefined reference to `sin'
/tmp/ccoxCKry.o(.text+0x2bd):example1.c: undefined reference to `cos'
/tmp/ccoxCKry.o(.text+0x317):example1.c: undefined reference to
`FT_Set_Transform'
/tmp/ccoxCKry.o(.text+0x331):example1.c: undefined reference to `FT_Load_Char'
/tmp/ccoxCKry.o(.text+0x393):example1.c: undefined reference to `FT_Done_Face'
/tmp/ccoxCKry.o(.text+0x3a1):example1.c: undefined reference to
`FT_Done_FreeType'
collect2: ld returned 1 exit status
FreeType 1 is also installed, might there be a conflict? Any help
would truly be appreciated!
--
Marc Philipp • address@hidden • http://www.marcphilipp.de
- [ft] Example Compilation Problem,
Marc Philipp <=