delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/15/20:45:27

From: swarsmatt AT aol DOT com (SWars Matt)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Rhide Header files
Date: 15 Dec 1997 22:57:12 GMT
Lines: 24
Message-ID: <19971215225701.RAA23918@ladder02.news.aol.com>
NNTP-Posting-Host: ladder02.news.aol.com
Organization: AOL http://www.aol.com
References: <01bd09a4$e69d58c0$c60c67cf AT voicenet DOT com DOT voicenet DOT com>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

"Jeff Davis" <jeffy5 AT voicenet DOT com> wrote:


>I am trying to compile a C++ program with two header files 
>And I've been using C++ for awile but I Haven't ever had to get a compiler
>to work :)
>
>Any way the program includes
>
><iostream.h>
>and
><string.h>
>
>when run the compiler complains
>"Don't know how to make string.o from string.h!"
>
>what? Seems im not good with compilers. ussually it just does that stuff :)

You probably put those files in your project, instead of just #include-ing them
in your .c and .cpp (or whatever you used) files. If you can see any .h files
in your project window, RHIDE thinks they're source code that it must compile
into a .o file and link with the rest of your project, and it doesn't know of
any compiler to compile .h files.

- Raw text -


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