Professional Documents
Culture Documents
nfarina / homebridge
Dismiss
Join GitHub today
GitHub is home to over 28 million developers
working together to host and review code,
manage projects, and build software together.
Sign up
Pages 25
Updated: 06 March 2018
Find a Page…
Basic Troubleshooting
https://github.com/nfarina/homebridge/wiki/Install-Homebridge-on-Windows-(old) Page 1 of 8
Install Homebridge on Windows (old) · nfarina/homebridge Wiki · GitHub 06/12/2018, 21)17
#ifndef _UNISTD_H
#define _UNISTD_H 1
https://github.com/nfarina/homebridge/wiki/Install-Homebridge-on-Windows-(old) Page 2 of 8
Install Homebridge on Windows (old) · nfarina/homebridge Wiki · GitHub 06/12/2018, 21)17
unistd.h on Windows
Please add functionality as neeeded */
#include
#include
#include
#include /* for getpid() and the exec..()
family /
#include / for _getcwd() and _chdir() */
https://github.com/nfarina/homebridge/wiki/Install-Homebridge-on-Windows-(old) Page 3 of 8
Install Homebridge on Windows (old) · nfarina/homebridge Wiki · GitHub 06/12/2018, 21)17
#define STDIN_FILENO 0
#define STDOUT_FILENO 1
#define STDERR_FILENO 2
/* should be in some equivalent to */
typedef signed __int8 int8_t;
typedef signed __int16 int16_t;
typedef signed __int32 int32_t;
typedef signed __int64 int64_t;
typedef unsigned __int8 uint8_t;
typedef unsigned __int16 uint16_t;
typedef unsigned __int32 uint32_t;
typedef unsigned __int64 uint64_t;
#endif /* unistd.h */
#ifndef _UNISTD_H
#define _UNISTD_H 1
unistd.h on Windows
Please add functionality as neeeded */
/* #include
#include
#include
#include */ /* for getpid() and the exec..
() family /
#include / for _getcwd() and _chdir() */
https://github.com/nfarina/homebridge/wiki/Install-Homebridge-on-Windows-(old) Page 4 of 8
Install Homebridge on Windows (old) · nfarina/homebridge Wiki · GitHub 06/12/2018, 21)17
#define STDIN_FILENO 0
#define STDOUT_FILENO 1
#define STDERR_FILENO 2
/* should be in some equivalent to */
typedef signed __int8 int8_t;
typedef signed __int16 int16_t;
typedef signed __int32 int32_t;
typedef signed __int64 int64_t;
typedef unsigned __int8 uint8_t;
typedef unsigned __int16 uint16_t;
typedef unsigned __int32 uint32_t;
typedef unsigned __int64 uint64_t;
#endif /* unistd.h */
https://github.com/nfarina/homebridge/wiki/Install-Homebridge-on-Windows-(old) Page 5 of 8
Install Homebridge on Windows (old) · nfarina/homebridge Wiki · GitHub 06/12/2018, 21)17
7 - RESTART Computer
9 - RESTART Computer
https://github.com/nfarina/homebridge/wiki/Install-Homebridge-on-Windows-(old) Page 6 of 8
Install Homebridge on Windows (old) · nfarina/homebridge Wiki · GitHub 06/12/2018, 21)17
2 - RESTART Computer
1 - Start GIT-CMD
4.1.2 - CD C:\Users\xxx\
https://github.com/nfarina/homebridge/wiki/Install-Homebridge-on-Windows-(old) Page 7 of 8
Install Homebridge on Windows (old) · nfarina/homebridge Wiki · GitHub 06/12/2018, 21)17
6 - Console command: cd
C:\Users\xxx\AppData\Roaming\npm\node_modules\h
omebridge\bin
https://github.com/nfarina/homebridge/wiki/Install-Homebridge-on-Windows-(old) Page 8 of 8