ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Sergey N. Yatskevich" <syatskevich@altlinux.ru>
To: devel@altlinux.ru
Subject: Re: [devel] Re: [devel] Компиляцияпрограмм  с GTK+ 2.0
Date: 03 Apr 2002 18:19:09 +0400
Message-ID: <1017843554.4243.5.camel@office-server.office.ru> (raw)
In-Reply-To: <3CAB05E3.6D455F0B@altlinux.ru>

В Срд, 03.04.2002, в 17:38, Aleksey Novodvorsky написал:
> "Sergey N. Yatskevich" wrote:
> 
> > Привет всем!
> >
> > Попытка скомпилировать даже самую простейшую программу из examples
> > для gtk+-2.0 заканчивается неудачно на этапе линковки с сообщением:
> >
> > ... /libpangoxft-1.0.so: undefined reference to `FT_Get_Next_Char`
> > ... /libpangoxft-1.0.so: undefined reference to `FT_Get_First_Char`
> >
> > При этом и libpango и freetype2 собираются нормально (т.е. пересборка
> > не помогает).
> >
> 
> А если в Makefile добавить -lfreetype ?
-lfreetype добавляется в строку компиляции автоматически вызовом
pkg-config gtk+-2.0 --libs (проверил - действительно добавляется).
Впрочим даже вручную добавив -lfreetype получил точно такой же
результат.

На всякий случай - строка компиляции теперь выглядит так:

gcc arrow.c -o arrow `pkg-config gtk+-2.0 --cflags --libs` -L/usr/lib
-lfreetype

> _______________________________________________
> Devel mailing list
> Devel@altlinux.ru
> http://altlinux.ru/mailman/listinfo/devel
-- 
Sergey N. Yatskevich <syatskevich@mail.ru>

  reply	other threads:[~2002-04-03 14:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-03 12:52 [devel] Компиляция программ " Sergey N. Yatskevich
2002-04-03 13:38 ` [devel] Re: [devel] Компиляцияпрограмм " Aleksey Novodvorsky
2002-04-03 14:19   ` Sergey N. Yatskevich [this message]
2002-04-07  0:40     ` [devel] Freetype2 (was: Компиляция программ с GTK+ 2.0) Aristarh
2002-04-11 12:54       ` Sergey N. Yatskevich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1017843554.4243.5.camel@office-server.office.ru \
    --to=syatskevich@altlinux.ru \
    --cc=devel@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git