Hi,
i got an compile error like this:
E:\JSBSim\jsbsim-code\src\input_output\FGfdmSocket.cpp(327): error C2065: 'socklen_t' : undeclared identifier
1>E:\JSBSim\jsbsim-code\src\input_output\FGfdmSocket.cpp(327): error C2146: syntax error : missing ';' before identifier 'fromlen'
1>E:\JSBSim\jsbsim-code\src\input_output\FGfdmSocket.cpp(327): error C2065: 'fromlen' : undeclared identifier
1>E:\JSBSim\jsbsim-code\src\input_output\FGfdmSocket.cpp(328): error C2065: 'fromlen' : undeclared identifier
with the MASTER-branch.
changes in FGfdmSocket.h solves the error:
#include <winsock.h></winsock.h>
become to:
#include <ws2tcpip.h>
#include <winsock2.h></winsock2.h></ws2tcpip.h>
now there are only many conversion warnings.
t.
A fix has been committed in the CVS repository.
Could you please test it and tell us if that fixes the problem ?
Thanks.
Hi,
ok i checked out the cvs version with your changes. This compiles out of the box.
Thanks for that.
Problem solved.
t.