home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / cplus / 15872 < prev    next >
Encoding:
Internet Message Format  |  1992-11-07  |  1.2 KB

  1. Xref: sparky comp.lang.c++:15872 gnu.g++.help:1410
  2. Newsgroups: comp.lang.c++,gnu.g++.help
  3. Path: sparky!uunet!srg!enewton
  4. From: enewton@uucp (Eric Newton x2092)
  5. Subject: Re: linking problem using class CursesWindow in libg++-2.2
  6. Reply-To: uunet.uu.net!srg!enewton
  7. Organization: means "in a rut"
  8. Date: 6 Nov 92 11:23:37
  9. Message-ID: <ENEWTON.92Nov6112337@vega.uucp>
  10. In-Reply-To: laufer@math.luc.edu's message of Sat, 24 Oct 1992 22:47:09 GMT
  11. References: <1992Oct24.224709.11092@lucpum.it.luc.edu>
  12. Sender: news@srg.srg.af.mil (Usenet news user)
  13. Lines: 20
  14.  
  15.  
  16.  > I have a problem linking the following simple program using g++
  17.  > 2.2.2) under SunOS 4.1.2.  None of the curses-related routines are
  18.  > found, and an error message is produced, although everything is in
  19.  > the standard places.  The problem doesn't occur on the RS6000.  On
  20.  > the Sparc, the program is linked using the following command:
  21.  >
  22.  >    g++ -o window window.C -lcurses -ltermcap
  23.  >
  24.  
  25. Try:
  26.  
  27. g++ -o window window.C -lg++ -lcurses -ltermcap
  28.  
  29.  
  30. -Eric
  31. --
  32. Remember to mail to:     uunet.uu.net!srg!enewton    "The more you complain,
  33. <or>            enewton@oswego.oswego.edu    the longer God lets you
  34. <or>            enewton@access.digex.com     live."
  35.