Hi Stephan -- Is the OSC plugin tested on Windows? I'm getting several undefined symbols during link using VS2010, building 32bit on Win7 (see below). I don't see any CMake controls to disallow this plugin on Windows, so I'm guessing these are build errors that should be fixed.
   -Paul

1>NetworkingUtils.obj : error LNK2019: unresolved external symbol __imp__WSAStartup@8 referenced in function "public: __thiscall NetworkInitializer::NetworkInitializer(void)" (??0NetworkInitializer@@QAE@XZ) 1>NetworkingUtils.obj : error LNK2019: unresolved external symbol __imp__WSACleanup@0 referenced in function "public: __thiscall NetworkInitializer::~NetworkInitializer(void)" (??1NetworkInitializer@@QAE@XZ) 1>NetworkingUtils.obj : error LNK2019: unresolved external symbol __imp__ntohl@4 referenced in function "unsigned long __cdecl GetHostByName(char const *)" (?GetHostByName@@YAKPBD@Z)
1>UdpSocket.obj : error LNK2001: unresolved external symbol __imp__ntohl@4
1>NetworkingUtils.obj : error LNK2019: unresolved external symbol __imp__gethostbyname@4 referenced in function "unsigned long __cdecl GetHostByName(char const *)" (?GetHostByName@@YAKPBD@Z) 1>UdpSocket.obj : error LNK2019: unresolved external symbol __imp__htons@4 referenced in function "void __cdecl SockaddrFromIpEndpointName(struct sockaddr_in &,class IpEndpointName const &)" (?SockaddrFromIpEndpointName@@YAXAAUsockaddr_in@@ABVIpEndpointName@@@Z) 1>UdpSocket.obj : error LNK2019: unresolved external symbol __imp__htonl@4 referenced in function "void __cdecl SockaddrFromIpEndpointName(struct sockaddr_in &,class IpEndpointName const &)" (?SockaddrFromIpEndpointName@@YAXAAUsockaddr_in@@ABVIpEndpointName@@@Z) 1>UdpSocket.obj : error LNK2019: unresolved external symbol __imp__ntohs@4 referenced in function "class IpEndpointName __cdecl IpEndpointNameFromSockaddr(struct sockaddr_in const &)" (?IpEndpointNameFromSockaddr@@YA?AVIpEndpointName@@ABUsockaddr_in@@@Z) 1>UdpSocket.obj : error LNK2019: unresolved external symbol __imp__socket@12 referenced in function "public: __thiscall UdpSocket::Implementation::Implementation(void)" (??0Implementation@UdpSocket@@QAE@XZ) 1>UdpSocket.obj : error LNK2019: unresolved external symbol __imp__closesocket@4 referenced in function "public: __thiscall UdpSocket::Implementation::~Implementation(void)" (??1Implementation@UdpSocket@@QAE@XZ) 1>UdpSocket.obj : error LNK2019: unresolved external symbol __imp__WSAGetLastError@0 referenced in function "public: class IpEndpointName __thiscall UdpSocket::Implementation::LocalEndpointFor(class IpEndpointName const &)const " (?LocalEndpointFor@Implementation@UdpSocket@@QBE?AVIpEndpointName@@ABV3@@Z) 1>UdpSocket.obj : error LNK2019: unresolved external symbol __imp__getsockname@12 referenced in function "public: class IpEndpointName __thiscall UdpSocket::Implementation::LocalEndpointFor(class IpEndpointName const &)const " (?LocalEndpointFor@Implementation@UdpSocket@@QBE?AVIpEndpointName@@ABV3@@Z) 1>UdpSocket.obj : error LNK2019: unresolved external symbol __imp__connect@12 referenced in function "public: class IpEndpointName __thiscall UdpSocket::Implementation::LocalEndpointFor(class IpEndpointName const &)const " (?LocalEndpointFor@Implementation@UdpSocket@@QBE?AVIpEndpointName@@ABV3@@Z) 1>UdpSocket.obj : error LNK2019: unresolved external symbol __imp__send@16 referenced in function "public: void __thiscall UdpSocket::Implementation::Send(char const *,int)" (?Send@Implementation@UdpSocket@@QAEXPBDH@Z) 1>UdpSocket.obj : error LNK2019: unresolved external symbol __imp__sendto@24 referenced in function "public: void __thiscall UdpSocket::Implementation::SendTo(class IpEndpointName const &,char const *,int)" (?SendTo@Implementation@UdpSocket@@QAEXABVIpEndpointName@@PBDH@Z) 1>UdpSocket.obj : error LNK2019: unresolved external symbol __imp__bind@12 referenced in function "public: void __thiscall UdpSocket::Implementation::Bind(class IpEndpointName const &)" (?Bind@Implementation@UdpSocket@@QAEXABVIpEndpointName@@@Z) 1>UdpSocket.obj : error LNK2019: unresolved external symbol __imp__recvfrom@24 referenced in function "public: int __thiscall UdpSocket::Implementation::ReceiveFrom(class IpEndpointName &,char *,int)" (?ReceiveFrom@Implementation@UdpSocket@@QAEHAAVIpEndpointName@@PADH@Z) 1>UdpSocket.obj : error LNK2019: unresolved external symbol __imp__timeGetTime@0 referenced in function "private: double __thiscall SocketReceiveMultiplexer::Implementation::GetCurrentTimeMs(void)const " (?GetCurrentTimeMs@Implementation@SocketReceiveMultiplexer@@ABENXZ) 1>UdpSocket.obj : error LNK2019: unresolved external symbol __imp__ioctlsocket@12 referenced in function "public: void __thiscall SocketReceiveMultiplexer::Implementation::Run(void)" (?Run@Implementation@SocketReceiveMultiplexer@@QAEXXZ) 1>UdpSocket.obj : error LNK2019: unresolved external symbol __imp__WSAEventSelect@12 referenced in function "public: void __thiscall SocketReceiveMultiplexer::Implementation::Run(void)" (?Run@Implementation@SocketReceiveMultiplexer@@QAEXXZ) 1>C:\Projects\OSG\trunk\bld-vs10-32\bin\osgPlugins-3.1.4\osgdb_osc.dll : fatal error LNK1120: 19 unresolved externals
1>
1>Build FAILED.




_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to