[omniNotify] iostream.h is not a part of MSVc7.1

Troels Frimor troels at frimor.de
Tue Aug 10 16:14:17 BST 2004


When trying to use omniNotify in cygwin/windowsXP I get following 
compile error in the installation:  (both with version 2.1 and newest 
developer)

Short version:
RDIParser_l.cc(56) : fatal error C1083: Cannot open include file: 
'iostream.h': No such file or directory

{...}
../../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -DNDEBUG  -MD -EHs 
-GS -GR
-Zd -nologo -D__OMNIORB4__ -I../../../../stub  -I../../../../include/COS 
-D_OMNI
NOTIFY_LIBRARY -DUSE_stub_in_nt_dll -I. -I. -I../../../../include 
-D__WIN32__ -D
_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 
-I../../../../src/servi
ces/omniNotify/include -Fostatic/RDIParser_l.o RDIParser_l.cc
cl -c -O2 -DNDEBUG -MD -EHs -GS -GR -Zd -nologo -D__OMNIORB4__ 
-I..\..\..\..\stu
b -I..\..\..\..\include\COS -D_OMNINOTIFY_LIBRARY -DUSE_stub_in_nt_dll 
-I. -I. -
I..\..\..\..\include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ 
-D__NT__ -D__OS
VERSION__=4 -I..\..\..\..\src\services\omniNotify\include 
-Fostatic\RDIParser_l.
o -TpRDIParser_l.cc
RDIParser_l.cc
RDIParser_l.cc(56) : fatal error C1083: Cannot open include file: 
'iostream.h':
No such file or directory
make[1]: *** [static/RDIParser_l.o] Error 2
make[1]: Leaving directory 
`/cygdrive/c/Programme/omniORB-4.0.4/src/services/omn
iNotify/lib'
make: *** [export] Error 2


Apparently iostream.h is no longer a part of Microsoft Visual C++ .NET


Is there anyway to come around this?  I tried just to change the import 
in RDIParser_l.cc to <iostream>, but that did not bring me far:


{...}
cl -c -O2 -DNDEBUG -MD -EHs -GS -GR -Zd -nologo -D__OMNIORB4__ 
-I..\..\..\..\stu
b -I..\..\..\..\include\COS -D_OMNINOTIFY_LIBRARY -DUSE_stub_in_nt_dll 
-I. -I. -
I..\..\..\..\include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ 
-D__NT__ -D__OS
VERSION__=4 -I..\..\..\..\src\services\omniNotify\include 
-Fostatic\RDIParser_l.
o -TpRDIParser_l.cc
RDIParser_l.cc
RDIParser_l.cc(175) : error C2143: syntax error : missing ';' before '*'
RDIParser_l.cc(175) : error C2501: 'yy_buffer_state::istream' : missing 
storage-
class or type specifiers
RDIParser_l.cc(175) : error C2501: 'yy_buffer_state::yy_input_file' : 
missing st
orage-class or type specifiers
..\..\..\..\include\omniORB4\seqTemplatedefns.h(287) : fatal error 
C1903: unable
  to recover from previous error(s); stopping compilation
make[1]: *** [static/RDIParser_l.o] Error 2
make[1]: Leaving directory 
`/cygdrive/c/Programme/omniORB-4.0.4/src/services/omn
iNotify/lib'
make: *** [export] Error 2

I hope anyone has a good suggestion to how to fix this problem.

-Troels Frimor



More information about the omninotify-list mailing list