I've just been troubleshooting a runtime error I had when trying to convert my FlightGear build to Visual Studio 2005.  This is the same _open.c error I mentioned earlier today, but my understanding of the problem was incorrect.  It is not related to the glut libraries like I had thought.  I must've been debugging from the wrong thread.
 
In ssgLoadAC.cxx, line 898, you have the following:

loader_fd = fopen ( filename,

"ra" ) ;

The "ra" option is creating problems for me, because 'read' and 'append' seem like contradictory states, and Visual Studio doesn't like it (during runtime, however...go figure).  Changing the option to "r" appears to correct the problem with no detrimental effects.  I don't believe FlightGear will ever need to append data to these files, anyway.

Drew

Reply via email to