Revan600 / LiteNetLibPP

Lightweight and easy to use reliable UDP game networking library with peer-to-peer and classic server/client support written in C++
MIT License
14 stars 1 forks source link

fatal error C1083: Cannot open include file: 'unistd.h': No such file #1

Closed meiry closed 1 year ago

meiry commented 1 year ago

Build started... 1>------ Build started: Project: lnl, Configuration: Debug x64 ------ 1>main.cpp 1>C:\dev\my\rudp_imp\LiteNetLibPP-main\src\main.cpp(2,10): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory 1>Done building project "lnl.vcxproj" -- FAILED. 2>------ Build started: Project: ALL_BUILD, Configuration: Debug x64 ------ ========== Build: 1 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========

Using : Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.3.3

c++17

Revan600 commented 1 year ago

Should be fixed in https://github.com/Revan600/LiteNetLibPP/commit/d6c82214fa371eaa5137c55cf700ee9332cb422c