thirtygreen Posted March 24, 2024 Posted March 24, 2024 While trying to build my project. I get an ERROR message as follows... platformNet.cpp.o -c /home/thirtygreen/Install2/Torque3D-4.0.3/Engine/source/platform/platformNet.cpp /home/thirtygreen/Install2/Torque3D-4.0.3/Engine/source/platform/platformNet.cpp: In function ‘PlatformNetState::addrinfo* PlatformNetState::pickAddressByProtocol(addrinfo*, int)’: /home/thirtygreen/Install2/Torque3D-4.0.3/Engine/source/platform/platformNet.cpp:218:39: error: invalid use of incomplete type ‘struct PlatformNetState::addrinfo’ 218 | for (; addr != NULL; addr = addr->ai_next) | ^~ compilation terminated due to -Wfatal-errors. The smallest error in the code "->" addr->ai_next .. I haven't edited the source code at all. Quote
thirtygreen Posted March 24, 2024 Author Posted March 24, 2024 I fixed it. Header file netdb.h needed to be reinstalled from package libc6-dev. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.