Hi Robert, Recent changes in net plugin have broken compilation in mac, I've realized that the this define is not correctly in my system:
#if (defined(__APPLE__)&&(__GNUC__<4)) || (defined(WIN32)&&!defined(__CYGWIN__)) || !defined(_XOPEN_SOURCE_EXTENDED) #define socklen_t int #endif This is defined in sockinet.cpp and sockstream.cpp I have Tiger, so I think many mac users with tiger will have the same problem. I have gnu 4.0.1, so the problem could be the !defined(_XOPEN_SOURCE_EXTENDED), commenting the last "or", compiles ok.. I don't know if this will break the compilation in other system.. but needed for mac! ;) Thanks. Rafa. -- Rafael Gaitán Linares Instituto de Automática e Informática Industrial http://www.ai2.upv.es Ciudad Politécnica de la Innovación Universidad Politécnica de Valencia _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
