www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript
electronics



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

↑ ↓ ← %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
↑ ↓ 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
↑ ↓ → 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