Re: [Linux-programlama] getch() işlevi kullanımında hata?

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: M.Baris Demiray (baris@labristeknoloji.com)
Date: Tue 10 May 2005 - 01:35:37 EEST


� wrote:
> Selamlar;

Selamlar,

> Program�m�n bir yerinde getch() ile karakter okutmaya �al���yorum.
> Derleme a�amas�nda �u hatay� veriyor:
>
> /tmp/ccWszFyB.o(.text+0x25): `main' ��levinde:
> : undefined reference to `stdscr'
> /tmp/ccWszFyB.o(.text+0x2a): `main' ��levinde:
> : undefined reference to `wgetch'
> collect2: ld ��k�� durumu 1 ile d�nd�
>
> getch() i�levini kald�r�nca sorun yok. Neden olabilir sizce?

Bahsettiğiniz getch() ncurses kütüphanesindeki sanırım. Öyle ise
bu kütüphaneyi de bağlamanız gerekiyor.

gcc -o filan filan.c -lncurses

Kolay gelsin.

> man getch yapt�m ama sonu� alamad�m.
> derleyici: gcc 3.3.4 / is:slackware 10.0
>

-- 
"You have to understand, most of these people are not ready to be
unplugged. And many of them are no inert, so hopelessly dependent
on the system, that they will fight to protect it."
                                                         Morpheus

_______________________________________________
Linux-programlama mailing list
Linux-programlama@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-programlama


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.