delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/22/19:30:53

From: "John Smith" <discman_64 AT hotmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Read.
Date: Mon, 22 Mar 1999 18:53:56 -0500
Organization: IGS - Information Gateway Services
Lines: 24
Message-ID: <7d6l69$ela$1@news.igs.net>
NNTP-Posting-Host: ttyh07.ott.igs.net
X-Trace: news.igs.net 922146825 15018 216.58.20.22 (22 Mar 1999 23:53:45 GMT)
X-Complaints-To: abuse AT igs DOT net
NNTP-Posting-Date: 22 Mar 1999 23:53:45 GMT
X-Newsreader: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Heres the code i want to compile with RHIDE:

#include <iostream.h>

int main(void)
{
    cout << "Hey world";
    return 0;
}

Anyone know what this error means?

Error: hello.o: In function 'man':
hello.cpp(1) Error: undefined reference to 'cout'
Error: hello.cpp(.text+Ox1e): undefined reference to
'ostream::operator<<(char const *);

I have LFN=y , i added RHIDE_TYPED_LIBS_DJGPP.cc=stdcxx to the rhide.env
file, and im totally clueless...
Please, if someone knows the answer to this please dont tell me to read the
faq, i have!
Cya.


- Raw text -


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