-
download third party,sh third-party.sh
-
config your
binding.gyp
if dependent on
zlib
, you can add the following code tobinding.gyp
"dependencies": [ "./gyp/zlib.gyp:zlib" ]
Sample:
{ "targets": [{ "target_name": "addon", ... "dependencies": [ "./gyp/zlib.gyp:zlib" ] ... }] }
-
for windows
- require
cygwin
, needwget
- giflib, 'not found
unistd.h
', you can delete#include <unistd.h>
- libjpeg-turbo, must require
CMAKE
, can download from http://www.cmake.org/download/
- require
-
for Linux / Mac
- require
wget
、cmake
- require