Hm. open() appears to be declared in fcntl.h, but read() isn't declared in
any Cygwin header that I've checked so far. (fopen() and fread() are both in
stdio.h, though.) So, I'm not sure what to do about the ESRIShape plugin.

If I comment it out of makedirdefs, the build proceeds through the rest of
the plugins to the applications, where I run into other problems. The
compiler has issues with Producer, for some reason. Also, osgconv.cpp
references std::cerr without including <iostream>.

So, anyone else building current OSG with Cygwin? If so, I'd love to hear
how you're getting around these issues. Or maybe I'm the only one using
Cygwin with current CVS...?
   -Paul




> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Paul Martz
> Sent: Tuesday, August 29, 2006 10:45 AM
> To: 'osg users'
> Subject: [osg-users] Cygwin build questions: ESRIShape plugin 
> and Producer
> 
> I've used Cygwin in the past for a few projects, and am now 
> trying to use it to build current OSG/OT/P CVS source.
> 
> OT and P build fine. When I go to build OSG, it fails to find 
> the Producer include files while building osgProducer. I 
> found that I have to explicitly export PRODUCER_INC_DIR and 
> PRODUCER_LIB_DIR in order for the OSG build to find the 
> Producer header and include files. Is this to be expected? 
> (The Producer 'make install' puts things in 
> /usr/local/Producer/include and
> /usr/local/Producer/lib.)
> 
> Once that issue was resolved, core OSG and some of the plugins built.
> However, the build failed in the ESRIShape plugin, failing to 
> compile ESRIShape.cpp at line 38 because ::read was not defined.
> 
> Any help would be appreciated.
>    -Paul
> 
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to