[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] getting problem while linking FT_test program
From: |
Kiran Mahajan |
Subject: |
Re: [ft-devel] getting problem while linking FT_test program |
Date: |
Fri, 16 Sep 2005 11:52:44 +0530 |
YAMATO San,
thanks for your fast reply!
and excuse for such a foolish query! :-D
On Thu, 2005-09-15 at 22:52 +0900, Masatake YAMATO wrote:
> Hi,
>
> > 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
>
> ...
> > address@hidden freetype-2.1.10]# gcc -o FT_test1 FT_test1.o -L/usr/lib
> > -Wl,--rpath -Wl,/usr/lib -lfreetype -lz
>
> Pass -lstdc++ to your compiler like:
>
> gcc -o FT_test1 FT_test1.o -L/usr/lib -Wl,--rpath -Wl,/usr/lib -lfreetype -lz
> -lstdc++