Mail Archives: djgpp/1997/12/15/20:45:27
"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 -