delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/30/16:47:55

From: Robert Hoehne <Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Help on using class String
Date: Wed, 27 Aug 1997 13:00:31 +0200
Organization: TU Chemnitz-Zwickau
Lines: 21
Message-ID: <340408CF.4F483FF1@Mathematik.TU-Chemnitz.DE>
References: <34044972 DOT 2944340 AT news DOT iol DOT it>
NNTP-Posting-Host: pandora.hrz.tu-chemnitz.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Macs wrote:
> 
>  Creating: pippo.exe
>  Error: pippo.o: In function `main':
>  pippo.cc(8) Error: undefined reference to `String::String(void)'

The class String is part of libgpp, which is not automatically
linked in C++ programs (even when RHIDE adds automatically
some C++ libraries).

Go to Options/Libraries and add there in one free line
the word gpp and turn the checkbox before it on.

Robert
-- 
*****************************************************************
* Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau *
* Post:    Am Berg 3, D-09573 Dittmannsdorf                     *
* e-Mail:  Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE              *
* WWW:     http://www.tu-chemnitz.de/~rho                       *
*****************************************************************

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019