WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
This repository was archived by the owner on Mar 14, 2020. It is now read-only.
This repository was archived by the owner on Mar 14, 2020. It is now read-only.

Compiling on Windows 7 64-Bit Visual C++ 2010 Express #49

@Watchdog87

Description

@Watchdog87

I get a bunch of errors when I try to compile this.

I've followed this tutorial https://otland.net/threads/compiling-simple-otserv-msvc-2010-linux-compiling-the-source.218342/

These are the errors:

1>c:\users\watchdog\documents\github\server\src\otsystem.h(51): fatal error C1083: Cannot open include file: 'sys/socket.h': No such file or directory
1> http_request.cpp
1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example:
1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or
1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions.
1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target).
1>c:\users\watchdog\documents\github\server\src\otsystem.h(51): fatal error C1083: Cannot open include file: 'sys/socket.h': No such file or directory
1> tasks.cpp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions