Skip to content
This repository has been archived by the owner on Mar 14, 2020. It is now read-only.

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

Open
Watchdog87 opened this issue Mar 28, 2015 · 0 comments
Open

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

Watchdog87 opened this issue Mar 28, 2015 · 0 comments
Milestone

Comments

@Watchdog87
Copy link

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

@Pietia10 Pietia10 added this to the 0.7.0 Release milestone Mar 29, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants