Closed mape closed 11 years ago
Seems adding
#ifndef FALSE
#define FALSE (0)
#endif
#ifndef TRUE
#define TRUE (!FALSE)
#endif
to gif_encoder.cpp does the trick.
FYI, this issue in gif_encoder.cpp (missing FALSE definition, line 196 et al) is still present. Is a fix for this planned or is something else going wrong?
Can someone send a pull request? I don't wan't to mess it up as I'm not completely sure how to fix it with those TRUE and FALSE definitions.
As you can see above, I've submitted a pull request. In the meantime, you can point your package.json
to the tarball of my fork and it should work:
"dependencies": {
"gif": "https://github.com/dariusk/node-gif/archive/master.tar.gz"
}
When using npm it fails to compile. v2.0.1 compiles fine but is missing AnimatedGif.setOutputCallback.