Skip to content

winsock incompatibility error in ws2tcpip.h #3681

@Foaly

Description

@Foaly

Hi there!
I tried to compile the ofxKinect addon. When I do so, I get the following error in ws2tcpip.h line 16:
#error "ws2tcpip.h is not compatible with winsock.h. Include winsock2.h instead."
When i change line 33 in ofxKinect/libs/libfreenect/include/libfreenect.h from #include <winsock.h> to #include <winsock2.h> everything compiles fine.
Would you guys like me to send a pull request for this?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions