Article View: net.sources.games
Article #27Re: Visual Trek: Help on libs for SVR2?
From: Guy Harris
Date: Sat, 21 Sep 1985 21:59
Date: Sat, 21 Sep 1985 21:59
22 lines
1351 bytes
1351 bytes
> where do these def'ns reside? I can't get a successful compile.
> _sqrt
> _atan2
> _tan
The math library ("-lm").
> _tgetent
> _tgetstr
> _tgoto
On a system with the old "termcap" library, in the "termcap library"
("-ltermcap" or "-ltermlib"). On a system with the new "curses"/"terminfo"
library, in that library ("-lcurses") (although note that the code that uses
"tgetstr" uses it in a way that may be "correct", in that the documentation
doesn't explicitly say it's wrong, but won't work with the new library; see
earlier posting on this subject).
The Makefile posted with this game gives both "-lm" and "-ltermlib". Did
you use that Makefile or did you try compiling it on your own?
Guy Harris
Technical Details
Message-ID:
<2812@sun.uucp>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!ucbvax!decvax!decwrl!sun!guyReferences:
<666@ihu1m.UUCP> <66@ucdavis.UUCP> <979@sdcsla.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 SMI; site sun.uucp Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!ucbvax!decvax!decwrl!sun!guy From: guy@sun.uucp (Guy Harris) Newsgroups: net.sources.games Subject: Re: Visual Trek: Help on libs for SVR2? Message-ID: <2812@sun.uucp> Date: Sat, 21-Sep-85 17:59:27 EDT Article-I.D.: sun.2812 Posted: Sat Sep 21 17:59:27 1985 Date-Received: Mon, 23-Sep-85 00:35:40 EDT References: <666@ihu1m.UUCP> <66@ucdavis.UUCP> <979@sdcsla.UUCP> Distribution: net Organization: Sun Microsystems, Inc. Lines: 22