From: Braden M. <br...@en...> - 2003-05-16 13:56:34
|
On Fri, 2003-05-16 at 06:29, Volker Wiendl wrote: > I've inserted a new node into vrml97node. With this node I want to > connect via sockets to another computer and control several things in > the scene. I've implemented a node similar to the TimeSensor. > Now everytime i include a file in vrml97node that include the winsock2.h, I'm > getting lots of errors during the compilation process. > Another guy at my university has impented an MD5 node for virtual > charakters, so there are some errors which relating to his node. But > in the end there are no problems until I include the winsock2.h. > Has anyone an idea, why this happens? I *think* you're running into the issue that Microsoft does this silliness in some of its headers: #define struct interface To work around this, after you #include <winsock2.h>, do this: #undef interface -- Braden McDaniel e-mail: <br...@en...> <http://endoframe.com> Jabber: <br...@ja...> |