sys/mman.h not available on windows
colinrlly opened this issue · comments
Colin Reilly commented
When I try to install this module via npm on Windows 10 I get this Error message:
..\mmap.cpp(4): fatal error C1083: Cannot open include file: 'sys/mm an.h': No such file or directory [C:\Users\colin\Dropbox\coding\prog rams\LongboardApp\node_modules\mmap\build\mmap.vcxproj]
After some reading I found this is because the library sys/mman.h
is a UNIX library and is not included in windows. Is this module only capable of being used on UNIX systems or am I missing something? I am trying to install using node v8.4.0
and node-gyp v3.6.2
.
The problem line is found in mmap.cpp
on line 4: #include <sys/mman.h>
.