On Sunday 29 October 2006 22:24, Stuart Buchanan wrote:
> Hi Mathias,
>
> I tried compiling your OSG tarball on cygwin, but hit an error:
>
> c++  -O2 -DWIN32 -DNOMINMAX -W -Wall -mnop-fun-dllimport
> -I../../../../include -
> I/usr/local/OpenThreads/include -I/usr/local/Producer/include  -c
> ../ESRIShape.c
> pp
> ../ESRIShape.cpp: In function `bool readVal(int, T&, ESRIShape::ByteOrder)
>
>    [with T = Double]':
> ../ESRIShape.cpp:69:   instantiated from here
> ../ESRIShape.cpp:38: error: `::read' undeclared (first use here)
> make[4]: *** [ESRIShape.o] Error 1
Try either including
#include <unistd.h>
(is this available on cygwin??)
or alternatively you can skip that plugin by removing ESRIShape from the 
PLUGIN_DIRS variable defined in OpenSceneGraph/Make/makedirdefs.
We do not need that plugin for flightgear.

   Greetings

            Mathias

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to