[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: |
Masatake YAMATO |
Subject: |
Re: [ft-devel] getting problem while linking FT_test program |
Date: |
Thu, 15 Sep 2005 22:52:37 +0900 (JST) |
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++