Win10 Cockpit Simulator build error - can't include sys/ioctl.h


When doing the npm install of the cloned openrov-cockpit, it couldn’t find the sys\ioctl.h file included by

How do I tell npm install, MSBuild.exe, where the included sys\ioctl.h file is?

git clone

set NODE_ENV=production
set npm_config_shrinkwrap=true
node install

It was using :
MSBuild.exe C:\Program Files (x86)\Microsoft Visual Studio 14.0>
Verion 14.0.24720.0

Went fine until the following error in the cmd window:
…\src\ fatal error C1083: Cannot open include file: ‘sys/ioctl.h’: No such file or directory […\openrov-cockpit\node_
gyp ERR! build error

Probably some newbie mistake, but I’d like to get familiar with the Cockpit before the Trident ships.


Error compiling: fatal error!