*BSD News Article 87044


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!news.mel.aone.net.au!grumpy.fl.net.au!news.webspan.net!newsfeeds.sol.net!newspump.sol.net!mindspring!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!cam-news-hub1.bbnplanet.com!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: conio.h - anybody?
Date: 18 Jan 1997 23:26:03 GMT
Organization: Private BSD site, Dresden
Lines: 14
Message-ID: <5brm6b$35u@uriah.heep.sax.de>
References: <5bp22n$2u5@psycfrnd.interaccess.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:34210

ksquires@psycfrnd.interaccess.com (Kent L Squires) wrote:

> I tried using ncurses.h (it had the function I was looking for), compiled
> with g++ -lcurses foo.cc and the executable seg faults.

Naturally.  <ncurses.h> requires -lncurses.  <curses.h> requires
-lcurses (that's the old BSD curses).

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)