Error when building for Windows
Closed this issue · 1 comments
britzl commented
Reported on the forum: https://forum.defold.com/t/editor-suddenly-linting-throwing-errors-and-crashes-build/77180
/lfs/src/lfs.c
Line 71: In file included from upload/lfs/src/lfs.c:71:
In file included from /var/extender/sdk/fd1ad4c17bfdcd890ea7176f2672c35102384419/defoldsdk//sdk/include/dmsdk/sdk.h:19:
In file included from /var/extender/sdk/fd1ad4c17bfdcd890ea7176f2672c35102384419/defoldsdk//sdk/include/dmsdk/engine/extension.h:19:
In file included from /var/extender/sdk/fd1ad4c17bfdcd890ea7176f2672c35102384419/defoldsdk//sdk/include/dmsdk/dlib/webserver.h:18:
In file included from /var/extender/sdk/fd1ad4c17bfdcd890ea7176f2672c35102384419/defoldsdk//sdk/include/dmsdk/dlib/socket.h:19:
In file included from /var/extender/sdk/fd1ad4c17bfdcd890ea7176f2672c35102384419/defoldsdk//sdk/include/dmsdk/dlib/sockettypes.h:21:
In file included from /var/extender/sdk/fd1ad4c17bfdcd890ea7176f2672c35102384419/defoldsdk//sdk/include/dmsdk/dlib/sockettypes_win32.h:19:
In file included from /opt/platformsdk/Win32/WindowsKits/10//Include/10.0.20348.0/um/WinSock2.h:116:
redefinition of ‘sockaddr’
240 | typedef struct sockaddr {
| ^