This is the solid and reproducible fault of OSG under Cygwin.
Forget Cygwin, install MINGW and be happy.
Ciao!
                mario

Brian Keener wrote:
> Mario Valle wrote:
>> 2)  Edited 
>> $OSG_ROOT\OpenSceneGraph\src\osgPlugins\ESRIShape\ESRIShape.cpp and add: 
>>  
>> #if defined(_MSC_VER) || defined(__MINGW32__) || defined(WIN32) 
>>     #include <io.h> 
>>     extern "C" int read(int, void *, unsigned int); 
>> #endif
> 
> Thanks Mario
> 
> That got ESRIShape to compile in Cygwin.  I actually used ||defined 
> (__CYGWIN__) instead of ||defined(WIN32) - not sure if it matters but figured 
> I 
> wanted to be sure for CYGWIN.
> 
> Now I am getting the panics and stackdumps as follows :
> 
> [EMAIL PROTECTED] /usr/local/bin
> $ osgwindows
>       5 [sig] osgwindows 2900 C:\cygwin\usr\local\bin\osgwindows.exe: *** 
> fatal
> error - called with threadlist_ix -1
> Hangup
> 
> [EMAIL PROTECTED] /usr/local/bin
> $
> 
> Interesting I don't seem to be able to locate threadlist_ix in any of the 
> source.
> 
> bk
> 
> 
> 
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
> 

-- 
Ing. Mario Valle
Visualization Group                              | http://www.cscs.ch/~mvalle
Swiss National Supercomputing Centre (CSCS)      | Tel:  +41 (91) 610.82.60
v. Cantonale Galleria 2, 6928 Manno, Switzerland | Fax:  +41 (91) 610.82.82
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to