In the past few hours I'm trying to run node-gd
on windows. I've tried several repos and finally found https://github.com/mikesmullin/node-gd. When I run
`npm install node-gd`
I'm getting the following error:
node-gyp rebuild
...node_modules\node-gd>node "C:\Program Files\nodejs\node_modules\npm\
bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
Building the projects in this solution one at a time. To enable parallel build,
please add the "/m" switch.
node-gd.cpp
..\cpp\node-gd.cpp(17): fatal error C1083: Cannot open include file: 'gd.h': No
such file or directory [...\node_modules\node-gd\build\node_gd.vcxproj
]
I thought I should install gd
lib, but when I googled it, almost all information is about php_gd
not about the lib itself.
Where should I put the gd
files?
Edit: I compiled it! Now I'm getting: