www.digitalmars.com         C & C++   DMDScript  

c++ - fatal error: unable to open imput file 'iostream'

reply %u <colibri891 hotmail.com> writes:
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?
Oct 04 2007
parent reply Walter Bright <newshound1 digitalmars.com> writes:
%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
Oct 06 2007
parent torhu <no spam.invalid> writes:
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. --------------------------------------
Oct 15 2007