Re: [Fresco-devel] Problem compiling Fresco-M2 on WinXP using Cygwin - Problem with omniORB not found

Nick Lewycky <[email protected]> Mon, 27 Dec 2004 16:26:27 -0500
Newsgroups gmane.comp.video.fresco.devel
Message-ID <[email protected]>
Roland Goecke wrote:
> Hi,
> 
> I am trying to compile Fresco-M2 on a WinXP system using Cygwin. My 
> first question, ideally I would like to compile it using the Visual 
> Studio 7 C/C++ compiler. Is that possible? If so, what do I need to do?

Maybe. I don't know of anyone who's tried it before. We don't knowingly 
use any GCC specific features.

> If I follow the instructions in INSTALL and call configure from the 
> build directory, the configure script crashes when it comes to ORB. I 
> have omniORB installed on my machine and hope the installation is 
> correct. At least omniORB compiled without error messages and I have 
> created the environment variables and registry entries. It seems the 
> Fresco configure script finds omniORB but then it doesn't find CORBA.h. 
> Here is the relevant output from configure:
> 
> configure: ORB
> checking for library containing recv... none required
> checking for omniidl... /cygdrive/c/omniORB-4.0.5/bin/x86_win32/omniidl
> configure: WARNING: Unknown OS cygwin.
> configure: WARNING: Please check the omniORB documentation to see if you 
> OS is s
> upported
> configure: WARNING: and update config/omniorb.m4.
> checking omniORB4/CORBA.h usability... no
> checking omniORB4/CORBA.h presence... no
> checking for omniORB4/CORBA.h... no
> checking omniORB3/CORBA.h usability... no
> checking omniORB3/CORBA.h presence... no
> checking for omniORB3/CORBA.h... no
> configure: error: No supported CORBA environment found!
> configure: error: /bin/bash '../../Fresco-M2/Fresco-C++/configure' 
> failed for Fr
> esco-C++

Check config.log to see exactly what it was trying to compile and why 
that compile failed. I fully expect that making Fresco run under Cygwin 
will require a long and intensive porting effort.

> I have included the paths to C:\omniORB-4.0.5\include in my INCLUDE 
> environment variable and to C:\omniORB-4.0.5\lib in LIB, but it looks 
> like CORBA.h is still not found. I have tried to run configure with 
> --with-omniorb-prefix=C:\omniORB-4.0.5 but I get the same results.

Does C:\omniORB-4.0.5\include contain a directory named omniORB4? With 
CORBA.h inside? The directory structure may simply be different than 
Fresco expects.

> I have checked the mailing list archives of the past two years and it 
> seems problems with omniORB are not unusual, but I unfortunately 
> couldn't find the solution to my problem. Any suggestions would be much 
> appreciated!

Patches welcome.

Nick Lewycky