CosNaming is unknown in initFile.cc

Arne Christensen arc@pine.dk
Thu, 8 Jan 1998 10:02:23 +0100 (MET)


Thomas Walter writes:

> I want to use the omniORB2 snapshot with Windows NT 4.0 and MSVC 4.2/5.0. I
> have done all the steps in Readme.win32 and the changings in the
> ./config/config.mk file. After "cd src" I went on with "gnumake export".
> After a while I got the following error messages from Visual C++ :
> 
> initFile.cc(99) : error C2653: 'CosNaming' : is not a class or namespace name
> initFile.cc(99) : error C2239: unexpected token 'identifier' following
> declaration of 'NamingContext_proxyObjectFactory'
> initFile.cc(99) : error C2061: syntax error : identifier
> 'CosNaming_NamingContext_proxyObjectFactory1'
> initFile.cc(226) : error C2065: 'CosNaming_NamingContext_IntfRepoID' :
> undeclared identifier
> 
> These messages I got using the snapshot_971224. The same errors occured with
> snapshot_971120. I tried with MSVC 5.0 and 4.2.

I had similar (although not identical) problems because I had forgotten to
change my PATH; the IDL compiler that got called was the old one
(from the 2.2.0 release) which generates C++ code that the Microsoft
compiler chokes on.

----
Arne Christensen
Pine Tree Systems A/S,  Snedkervej 12,  DK-2630 Taastrup,  Denmark
Email: arc@pine.dk       Fax: +45 43 71 43 42       Voice: +45 43 71 07 04