[omniORB] Visual C++ .NET 7.1 compilation

Lolke B. Dijkstra omniorb at dijkstra-ict.com
Fri Nov 18 12:01:01 GMT 2005


Hi,

I am just getting started and followed the instructions in the readme.win32

Compiling the examples with nmake
=================================

The compilation fails :

"making" all in thread...
        cl /nologo /c -O2 -MD -GX -D__WIN32__ -D__x86__ -D__NT__ 
-D__OSVERSION__=4 -I. -I..\..\..\include /Tpdiner.cc
diner.cc
diner.cc(46) : fatal error C1083: Cannot open include file: 
'iostream.h': No such file or directory
NMAKE :  U1077: 'cl' : return code '0x2'
Stop.
NMAKE :  U1077: '"C:\Program Files\Microsoft Visual Studio .NET 
2003\VC7\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 
.NET 2003\VC7\BIN\nmake.exe"' : return code '0x2'
Stop.


This is due to the include of iostream.h. Inspection of the file shows 
that the macro HAVE_STD should be known by the system.

1. There does not seem to be a global include that allows you to set the 
macros for compilation. So how should this be done?
2. What other macros need setting?

Kind regards,
Lolke



More information about the omniORB-list mailing list