Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix win32 build #326

Closed
wants to merge 1 commit into from
Closed

fix win32 build #326

wants to merge 1 commit into from

Conversation

muellni
Copy link

@muellni muellni commented Sep 4, 2013

I had a few minor issues building node-canvas on win32 following your guide at https://github.com/LearnBoost/node-canvas/wiki/Installation---Windows

  • PNG.h includes cairo.h which resides in GTK/include/cairo
  • undefined references to libpng symbols
  • unknown CAIRO_FORMAT_RGB30 for the outdated (but at least precompiled) gtk+bundle you referenced

These changes worked for me.

@japj
Copy link

japj commented Oct 10, 2013

@muellni could you confirm whether node-canvas 1.1.1 works 'out of the box' for you on win32? (it seems the contents of this pull requests have already been included in slightly different form in node-canvas 1.1.1). Thanks in advance!

@muellni
Copy link
Author

muellni commented Oct 19, 2013

npm install canvas@1.1.1

works fine now, thanks

@muellni muellni closed this Oct 19, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants