furagu / easy-gd

A simplified Node.js wrapper around GD image manipulation library with extra features making your life easier.
MIT License
25 stars 14 forks source link

npm install fails for me on OS X Yosemite #10

Open talkingscott opened 8 years ago

talkingscott commented 8 years ago

On OS X Yosemite, node v4.3.1, npm 2.14.12, running npm install easy-gd fails when compiling node-gd.cpp:

CXX(target) Release/obj.target/node_gd/cpp/node-gd.o ../cpp/node-gd.cpp:17:10: fatal error: 'gd.h' file not found

include

     ^

1 error generated.

I have done the "brew install gd" step. I see gd.h in /usr/local/include. Running npm install node-gd successfully installs node-gd 1.1.0.