[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft-devel] getting problem while linking FT_test program

From: Kiran Mahajan
Subject: [ft-devel] getting problem while linking FT_test program
Date: Thu, 15 Sep 2005 19:20:45 +0530

Hi all,
i have written a test program (FT_test1) to test the freetype2 library.
when i compile the program it compiled correctly and FT_test1.o file is
created without any error or warnings.

address@hidden freetype-2.1.10]# gcc -c -I/usr/include/freetype2/ -
I/usr/include/ FT_test1.cpp 

but at time of linking i am getting the error as below

address@hidden freetype-2.1.10]# gcc -o FT_test1 FT_test1.o -L/usr/lib
-Wl,--rpath -Wl,/usr/lib -lfreetype -lz
FT_test1.o(.eh_frame+0x11): undefined reference to
collect2: ld returned 1 exit status

I have checked my freetype "cflags" and "libs" settings with "freetype-
config". I am using Fedora Core 4 and FreeType2.1.10.
please help me out to solve this problem. What i am missing?

Thanking in advance

Thanks and Regards!!

Kirankumar S. Mahajan
Project Engineer(Embedded Systems)

GIST group,
Center for Development of Advanced Computing,
eMail: address@hidden
Ph. No.: (020) 25694000 Extn: 223

reply via email to

[Prev in Thread] Current Thread [Next in Thread]