Thread overview
fatal error: unable to open imput file 'iostream'
Oct 04, 2007
%u
Oct 06, 2007
Walter Bright
Oct 15, 2007
torhu
October 04, 2007
I am new to this compiler and when trying to compile anything (even a hello world test program) i recieve this error. I think it is not detecting the stlport I have it instaled why is this?
October 06, 2007
%u wrote:
> I am new to this compiler and when trying to compile anything
> (even a hello world test program) i recieve this error. I think it
> is not detecting the stlport I have it instaled why is this?

http://www.digitalmars.com/faq.html#iostream
October 15, 2007
Walter Bright wrote:
> %u wrote:
>> I am new to this compiler and when trying to compile anything
>> (even a hello world test program) i recieve this error. I think it
>> is not detecting the stlport I have it instaled why is this?
> 
> http://www.digitalmars.com/faq.html#iostream

The instructions in the readme.txt that comes with the dmc stlport package is a bit confusing.  It says "To use STLport without iostreams..", shouldn't that be "with" instead of "without"?  Seems to contradict the instructions in the faq link.

Here's the relevant part of the file:
--------------------------------
To compile a program using STLport's <iostreams> with the static library:

	dmc hello -I\dm\stlport\stlport

To use STLport without iostreams, simply add \dm\stlport\stlport to the
INCLUDE search path before \dm\include. Or, modify the INCLUDE entry
in \dm\bin\sc.ini to be:

	INCLUDE="%@P%\..\stlport\stlport";"%@P%\..\include";"%@P%\..\mfc\include";%INCLUDE%

If not using iostreams, be sure to compile with:

	-D_STLP_NO_NEW_IOSTREAMS

or modify \dm\stlport\stlport\config\stl_user_config.h and uncomment the
#define for it.
--------------------------------------