Automattic / node-canvas

Node canvas is a Cairo backed Canvas implementation for NodeJS.
10.13k stars 1.17k forks source link

error LNK2001: unresolved external symbol __imp_cairo_* #214

Closed tylorr closed 12 years ago

tylorr commented 12 years ago

I am getting unresolved external symbol errors when trying to build on Windows 7.

node v0.8.9 npm 1.1.61

I followed the instructions here and have also tried npm install canvas

console output:

$ npm install canvas
npm http GET https://registry.npmjs.org/canvas
npm http 304 https://registry.npmjs.org/canvas

> canvas@0.13.1 install C:\cygwin\home\Tylor\test\node_modules\canvas
> node-gyp rebuild

C:\cygwin\home\Tylor\test\node_modules\canvas>node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild 
  CanvasRenderingContext2d.cc
  CanvasPattern.cc
..\src\CanvasRenderingContext2d.cc(631): warning C4244: '=' : conversion from 'double' to 'int', possible loss of data [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
..\src\CanvasRenderingContext2d.cc(632): warning C4244: '=' : conversion from 'double' to 'int', possible loss of data [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
..\src\CanvasRenderingContext2d.cc(633): warning C4244: '=' : conversion from 'double' to 'int', possible loss of data [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
..\src\CanvasRenderingContext2d.cc(634): warning C4244: '=' : conversion from 'double' to 'int', possible loss of data [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
..\src\CanvasRenderingContext2d.cc(635): warning C4244: '=' : conversion from 'double' to 'int', possible loss of data [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
..\src\CanvasRenderingContext2d.cc(636): warning C4244: '=' : conversion from 'double' to 'int', possible loss of data [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
..\src\CanvasRenderingContext2d.cc(637): warning C4244: '=' : conversion from 'double' to 'int', possible loss of data [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
..\src\CanvasRenderingContext2d.cc(638): warning C4244: '=' : conversion from 'double' to 'int', possible loss of data [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
..\src\CanvasRenderingContext2d.cc(642): warning C4244: '=' : conversion from 'double' to 'int', possible loss of data [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
..\src\CanvasRenderingContext2d.cc(643): warning C4244: '=' : conversion from 'double' to 'int', possible loss of data [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
..\src\CanvasRenderingContext2d.cc(644): warning C4244: '=' : conversion from 'double' to 'int', possible loss of data [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
..\src\CanvasRenderingContext2d.cc(645): warning C4244: '=' : conversion from 'double' to 'int', possible loss of data [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
..\src\CanvasRenderingContext2d.cc(649): warning C4244: '=' : conversion from 'double' to 'int', possible loss of data [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
..\src\CanvasRenderingContext2d.cc(650): warning C4244: '=' : conversion from 'double' to 'int', possible loss of data [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
..\src\CanvasRenderingContext2d.cc(671): warning C4244: '/=' : conversion from 'float' to 'int', possible loss of data [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
..\src\CanvasRenderingContext2d.cc(672): warning C4244: '/=' : conversion from 'float' to 'int', possible loss of data [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
..\src\CanvasRenderingContext2d.cc(705): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
..\src\CanvasRenderingContext2d.cc(928): warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
  color.cc
..\src\CanvasRenderingContext2d.cc(2133): warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
..\src\CanvasRenderingContext2d.cc(2133): warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
..\src\CanvasRenderingContext2d.cc(2136): warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
..\src\CanvasRenderingContext2d.cc(2136): warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
..\src\CanvasRenderingContext2d.cc(2139): warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
..\src\CanvasRenderingContext2d.cc(2139): warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
..\src\CanvasRenderingContext2d.cc(2141): warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
..\src\CanvasRenderingContext2d.cc(2166): warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
..\src\CanvasRenderingContext2d.cc(2166): warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
..\src\CanvasRenderingContext2d.cc(2171): warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
..\src\CanvasRenderingContext2d.cc(2188): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
..\src\CanvasRenderingContext2d.cc(2198): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
  PixelArray.cc
..\src\color.cc(353): warning C4305: 'initializing' : truncation from 'double' to 'float' [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
..\src\color.cc(356): warning C4305: '*=' : truncation from 'double' to 'float' [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
  ImageData.cc
  Canvas.cc
  init.cc
  Image.cc
  CanvasGradient.cc
..\src\Image.cc(191): warning C4267: 'initializing' : conversion from 'size_t' to 'unsigned int', possible loss of data [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
     Creating library C:\cygwin\home\Tylor\test\node_modules\canvas\build\Release\canvas.lib and object C:\cygwin\home\Tylor\test\node_modules\canvas\build\Release\canvas.exp
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_identity_matrix [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_set_antialias [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_set_font_size [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_text_path [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_set_line_cap [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_in_fill [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_show_text [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_line_to [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_arc [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_set_source_rgba [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_get_group_target [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_close_path [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_set_operator [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_in_stroke [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_clip_preserve [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_image_surface_get_stride [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_fill [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_set_miter_limit [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_get_line_width [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_restore [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_pop_group_to_source [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_set_line_join [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_move_to [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_pattern_set_extend [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_get_line_join [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_get_antialias [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_curve_to [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_paint_with_alpha [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_arc_negative [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_push_group [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_get_source [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_set_line_width [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_get_miter_limit [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_image_surface_get_height [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_matrix_init [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_create [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_text_extents [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_rotate [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_set_source [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_fill_preserve [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_destroy [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_scale [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_get_current_point [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_pattern_set_filter [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_paint [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_transform [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_show_page [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_save [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_clip [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_rectangle [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_surface_mark_dirty_rectangle [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_append_path [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_stroke [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_image_surface_get_data [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_font_extents [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_set_source_surface [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_select_font_face [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_get_line_cap [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_translate [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_copy_path_flat [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_path_destroy [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_stroke_preserve [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_image_surface_get_width [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_get_operator [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasRenderingContext2d.obj : error LNK2001: unresolved external symbol __imp_cairo_new_path [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasPattern.obj : error LNK2001: unresolved external symbol __imp_cairo_pattern_create_for_surface [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasPattern.obj : error LNK2001: unresolved external symbol __imp_cairo_pattern_destroy [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
Canvas.obj : error LNK2001: unresolved external symbol __imp_cairo_pdf_surface_set_size [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
Canvas.obj : error LNK2001: unresolved external symbol __imp_cairo_surface_write_to_png_stream [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
Canvas.obj : error LNK2001: unresolved external symbol __imp_cairo_pdf_surface_create_for_stream [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
Canvas.obj : error LNK2001: unresolved external symbol __imp_cairo_image_surface_create [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
Canvas.obj : error LNK2001: unresolved external symbol __imp_cairo_surface_finish [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
Canvas.obj : error LNK2001: unresolved external symbol __imp_cairo_status_to_string [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
Canvas.obj : error LNK2001: unresolved external symbol __imp_cairo_surface_destroy [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
init.obj : error LNK2001: unresolved external symbol __imp_cairo_version_string [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
Image.obj : error LNK2001: unresolved external symbol __imp_cairo_image_surface_create_from_png_stream [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
Image.obj : error LNK2001: unresolved external symbol __imp_cairo_image_surface_create_from_png [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
Image.obj : error LNK2001: unresolved external symbol __imp_cairo_surface_status [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasGradient.obj : error LNK2001: unresolved external symbol __imp_cairo_pattern_create_radial [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasGradient.obj : error LNK2001: unresolved external symbol __imp_cairo_pattern_add_color_stop_rgba [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
CanvasGradient.obj : error LNK2001: unresolved external symbol __imp_cairo_pattern_create_linear [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
C:\cygwin\home\Tylor\test\node_modules\canvas\build\Release\canvas.node : fatal error LNK1120: 81 unresolved externals [C:\cygwin\home\Tylor\test\node_modules\canvas\build\canvas.vcxproj]
gyp ERR! build error 
gyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:219:23)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:91:17)
gyp ERR! stack     at Process._handle.onexit (child_process.js:678:10)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\cygwin\home\Tylor\test\node_modules\canvas
gyp ERR! node -v v0.8.9
gyp ERR! node-gyp -v v0.6.8
gyp ERR! not ok 
npm ERR! canvas@0.13.1 install: `node-gyp rebuild`
npm ERR! `cmd "/c" "node-gyp rebuild"` failed with 1
npm ERR! 
npm ERR! Failed at the canvas@0.13.1 install script.
npm ERR! This is most likely a problem with the canvas package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls canvas
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "canvas"
npm ERR! cwd C:\cygwin\home\Tylor\test
npm ERR! node -v v0.8.9
npm ERR! npm -v 1.1.61
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     C:\cygwin\home\Tylor\test\npm-debug.log
npm ERR! not ok code 0

npm-debug.log:

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\\\node.exe',
1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'install',
1 verbose cli   'canvas' ]
2 info using npm@1.1.61
3 info using node@v0.8.9
4 verbose node symlink C:\Program Files\nodejs\\node.exe
5 verbose read json C:\cygwin\home\Tylor\test\package.json
6 verbose read json C:\cygwin\home\Tylor\test\package.json
7 verbose cache add [ 'canvas', null ]
8 silly cache add name=undefined spec="canvas" args=["canvas",null]
9 verbose parsed url { pathname: 'canvas', path: 'canvas', href: 'canvas' }
10 silly lockFile 7aa15835-canvas canvas
11 verbose lock canvas C:\Users\Tylor\AppData\Roaming\npm-cache\7aa15835-canvas.lock
12 silly lockFile 7aa15835-canvas canvas
13 verbose addNamed [ 'canvas', '' ]
14 verbose addNamed [ null, '' ]
15 silly lockFile 7328b956-canvas canvas@
16 verbose lock canvas@ C:\Users\Tylor\AppData\Roaming\npm-cache\7328b956-canvas.lock
17 silly addNameRange { name: 'canvas', range: '', hasData: false }
18 verbose url raw canvas
19 verbose url resolving [ 'https://registry.npmjs.org/', './canvas' ]
20 verbose url resolved https://registry.npmjs.org/canvas
21 info trying registry request attempt 1 at 22:44:46
22 verbose etag "5CPXE9IMTI6CEUOH039X2QZ8V"
23 http GET https://registry.npmjs.org/canvas
24 http 304 https://registry.npmjs.org/canvas
25 silly registry.get cb [ 304,
25 silly registry.get   { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
25 silly registry.get     etag: '"5CPXE9IMTI6CEUOH039X2QZ8V"',
25 silly registry.get     date: 'Thu, 20 Sep 2012 05:44:55 GMT',
25 silly registry.get     'content-length': '0' } ]
26 verbose etag canvas from cache
27 silly addNameRange number 2 { name: 'canvas', range: '', hasData: true }
28 silly addNameRange versions [ 'canvas',
28 silly addNameRange   [ '0.0.1',
28 silly addNameRange     '0.0.2',
28 silly addNameRange     '0.0.3',
28 silly addNameRange     '0.0.4',
28 silly addNameRange     '0.0.5',
28 silly addNameRange     '0.0.6',
28 silly addNameRange     '0.0.7',
28 silly addNameRange     '0.0.8',
28 silly addNameRange     '0.1.0',
28 silly addNameRange     '0.2.0',
28 silly addNameRange     '0.2.1',
28 silly addNameRange     '0.3.0',
28 silly addNameRange     '0.3.1',
28 silly addNameRange     '0.3.2',
28 silly addNameRange     '0.3.3',
28 silly addNameRange     '0.4.0',
28 silly addNameRange     '0.4.1',
28 silly addNameRange     '0.4.2',
28 silly addNameRange     '0.4.3',
28 silly addNameRange     '0.5.0',
28 silly addNameRange     '0.5.1',
28 silly addNameRange     '0.5.2',
28 silly addNameRange     '0.5.3',
28 silly addNameRange     '0.5.4',
28 silly addNameRange     '0.6.0',
28 silly addNameRange     '0.7.0',
28 silly addNameRange     '0.7.1',
28 silly addNameRange     '0.7.2',
28 silly addNameRange     '0.7.3',
28 silly addNameRange     '0.8.0',
28 silly addNameRange     '0.8.1',
28 silly addNameRange     '0.8.2',
28 silly addNameRange     '0.8.3',
28 silly addNameRange     '0.9.0',
28 silly addNameRange     '0.10.0',
28 silly addNameRange     '0.10.1',
28 silly addNameRange     '0.10.2',
28 silly addNameRange     '0.10.3',
28 silly addNameRange     '0.11.0',
28 silly addNameRange     '0.11.1',
28 silly addNameRange     '0.11.2',
28 silly addNameRange     '0.11.3',
28 silly addNameRange     '0.12.0',
28 silly addNameRange     '0.12.1',
28 silly addNameRange     '0.13.0',
28 silly addNameRange     '0.13.1' ] ]
29 verbose addNamed [ 'canvas', '0.13.1' ]
30 verbose addNamed [ '0.13.1', '0.13.1' ]
31 silly lockFile 28b25045-canvas-0-13-1 canvas@0.13.1
32 verbose lock canvas@0.13.1 C:\Users\Tylor\AppData\Roaming\npm-cache\28b25045-canvas-0-13-1.lock
33 verbose read json C:\Users\Tylor\AppData\Roaming\npm-cache\canvas\0.13.1\package\package.json
34 silly lockFile 28b25045-canvas-0-13-1 canvas@0.13.1
35 silly lockFile 7328b956-canvas canvas@
36 silly resolved [ { name: 'canvas',
36 silly resolved     description: 'Canvas graphics API backed by Cairo',
36 silly resolved     version: '0.13.1',
36 silly resolved     author: { name: 'TJ Holowaychuk', email: 'tj@learnboost.com' },
36 silly resolved     keywords:
36 silly resolved      [ 'canvas',
36 silly resolved        'graphic',
36 silly resolved        'graphics',
36 silly resolved        'pixman',
36 silly resolved        'cairo',
36 silly resolved        'image',
36 silly resolved        'images',
36 silly resolved        'pdf' ],
36 silly resolved     homepage: 'https://github.com/learnboost/node-canvas',
36 silly resolved     repository: { type: 'git', url: 'git://github.com/learnboost/node-canvas' },
36 silly resolved     scripts: { test: 'make test', install: 'node-gyp rebuild' },
36 silly resolved     devDependencies:
36 silly resolved      { express: '>= 2.3.7 && < 3.0.0',
36 silly resolved        jade: '0.11.0',
36 silly resolved        mocha: '*',
36 silly resolved        should: '*' },
36 silly resolved     engines: { node: '>= 0.4.0' },
36 silly resolved     main: './lib/canvas.js',
36 silly resolved     gypfile: true,
36 silly resolved     readme: '# node-canvas\n\n Node canvas is a [Cairo](http://cairographics.org/) backed Canvas implementation for [NodeJS](http://nodejs.org).\n\n## Authors\n\n  - TJ Holowaychuk ([visionmedia](http://github.com/visionmedia))\n\n## Installation\n\n    $ npm install canvas\n\nUnless previously installed you\'ll _need_ __Cairo__. For system-specific installation view the [Wiki](https://github.com/LearnBoost/node-canvas/wiki/_pages).\n\n## Screencasts\n\n  - [Introduction](http://screenr.com/CTk)\n\n## Example\n\n```javascript\nvar Canvas = require(\'canvas\')\n  , canvas = new Canvas(200,200)\n  , ctx = canvas.getContext(\'2d\');\n\nctx.font = \'30px Impact\';\nctx.rotate(.1);\nctx.fillText("Awesome!", 50, 100);\n\nvar te = ctx.measureText(\'Awesome!\');\nctx.strokeStyle = \'rgba(0,0,0,0.5)\';\nctx.beginPath();\nctx.lineTo(50, 102);\nctx.lineTo(50 + te.width, 102);\nctx.stroke();\n\nconsole.log(\'<img src="\' + canvas.toDataURL() + \'" />\');\n```\n\n## Non-Standard API\n\n node-canvas extends the canvas API to provide interfacing with node, for example streaming PNG data, converting to a `Buffer` instance, etc. Among the interfacing API, in some cases the drawing API has been extended for SSJS image manipulation / creation usage, however keep in mind these additions may fail to render properly within browsers.\n\n### Image#src=Buffer\n\n node-canvas adds `Image#src=Buffer` support, allowing you to read images from disc, redis, etc and apply them via `ctx.drawImage()`. Below we draw scaled down squid png by reading it from the disk with node\'s I/O.\n\n```javascript\nfs.readFile(__dirname + \'/images/squid.png\', function(err, squid){\n  if (err) throw err;\n  img = new Image;\n  img.src = squid;\n  ctx.drawImage(img, 0, 0, img.width / 4, img.height / 4);\n});\n```\n\n Below is an example of a canvas drawing it-self as the source several time:\n\n```javascript\nvar img = new Image;\nimg.src = canvas.toBuffer();\nctx.drawImage(img, 0, 0, 50, 50);\nctx.drawImage(img, 50, 0, 50, 50);\nctx.drawImage(img, 100, 0, 50, 50);\n```\n\n### Image#dataMode\n\nnode-canvas adds `Image#dataMode` support, which can be used to opt-in to mime data tracking of images (currently only JPEGs).\n\nWhen mime data is tracked, in PDF mode JPEGs can be embedded directly into the output, rather than being re-encoded into PNG. This can drastically reduce filesize, and speed up rendering.\n\n```javascript\nvar img = new Image;\nimg.dataMode = Image.MODE_IMAGE; // Only image data tracked\nimg.dataMode = Image.MODE_MIME; // Only mime data tracked\nimg.dataMode = Image.MODE_MIME | Image.MODE_IMAGE; // Both are tracked\n```\n\nIf image data is not tracked, and the Image is drawn to an image rather than a PDF canvas, the output will be junk. Enabling mime data tracking has no benefits (only a slow down) unless you are generating a PDF.\n\n### Canvas#createPNGStream()\n\n  To create a `PNGStream` simply call `canvas.createPNGStream()`, and the stream will start to emit _data_ events, finally emitting _end_ when finished. If an exception occurs the _error_ event is emitted.\n\n```javascript\nvar fs = require(\'fs\')\n  , out = fs.createWriteStream(__dirname + \'/text.png\')\n  , stream = canvas.createPNGStream();\n\nstream.on(\'data\', function(chunk){\n  out.write(chunk);\n});\n\nstream.on(\'end\', function(){\n  console.log(\'saved png\');\n});\n```\n\nCurrently _only_ sync streaming is supported, however we plan on supporting async streaming as well (of course :) ). Until then the `Canvas#toBuffer(callback)` alternative is async utilizing `eio_custom()`.\n\n### Canvas#createJPEGStream()\n\nYou can likewise create a `JPEGStream` by calling `canvas.createJPEGStream()` with some optional parameters; functionality is otherwise identical to `createPNGStream()`. See `examples/crop.js` for an example.\n\n### Canvas#toBuffer()\n\nA call to `Canvas#toBuffer()` will return a node `Buffer` instance containing all of the PNG data.\n\n```javascript\ncanvas.toBuffer();\n```\n\n### Canvas#toBuffer() async\n\nOptionally we may pass a callback function to `Canvas#toBuffer()`, and this process will be performed asynchronously, and will `callback(err, buf)`.\n\n```javascript\ncanvas.toBuffer(function(err, buf){\n\n});\n```\n\n### Canvas#toDataURL() async\n\nOptionally we may pass a callback function to `Canvas#toDataURL()`, and this process will be performed asynchronously, and will `callback(err, str)`.\n\n```javascript\ncanvas.toDataURL(function(err, str){\n\n});\n```\n\nor specify the mime type:\n\n```javascript\ncanvas.toDataURL(\'image/png\', function(err, str){\n\n});\n```\n\n### CanvasRenderingContext2d#patternQuality\n\nGiven one of the values below will alter pattern (gradients, images, etc) render quality, defaults to _good_.\n\n  - fast\n  - good\n  - best\n\n### CanvasRenderingContext2d#textDrawingMode\n\nCan be either `path` or `glyph`. Using `glyph` is much faster than `path` for drawing, and when using a PDF context will embed the text natively, so will be selectable and lower filesize. The downside is that cairo does not have any subpixel precision for `glyph`, so this will be noticeably lower quality for text positioning in cases such as rotated text. Also, strokeText in `glyph` will act the same as fillText, except using the stroke style for the fill.\n\nDefaults to _path_.\n\nThis property is tracked as part of the canvas state in save/restore.\n\n### Global Composite Operations\n\nIn addition to those specified and commonly implemented by browsers, the following have been added:\n\n  - multiply\n  - screen\n  - overlay\n  - hard-light\n  - soft-light\n  - hsl-hue\n  - hsl-saturation\n  - hsl-color\n  - hsl-luminosity\n\n## Anti-Aliasing\n\n Set anti-aliasing mode\n\n - default\n - none\n - gray\n - subpixel\n\n For example:\n\n```javascript\nctx.antialias = \'none\';\n```\n\n## PDF Support\n\n  Basic PDF support was added in 0.11.0. Make sure to install cairo with `--enable-pdf=yes` for the PDF backend. node-canvas must know that it is creating\n  a PDF on initialization, using the "pdf" string:\n\n```js\nvar canvas = new Canvas(200, 500, \'pdf\');\n```\n\n An additional method `.addPage()` is then available to create \n multiple page PDFs:\n\n```js\nctx.font = \'22px Helvetica\';\nctx.fillText(\'Hello World\', 50, 80);\nctx.addPage();\n\nctx.font = \'22px Helvetica\';\nctx.fillText(\'Hello World 2\', 50, 80);\nctx.addPage();\n\nctx.font = \'22px Helvetica\';\nctx.fillText(\'Hello World 3\', 50, 80);\nctx.addPage();\n```\n\n## Benchmarks\n\n Although node-canvas is extremely new, and we have not even begun optimization yet it is already quite fast. For benchmarks vs other node canvas implementations view this [gist](https://gist.github.com/664922), or update the submodules and run `$ make benchmark` yourself.\n\n## Contribute\n\n Want to contribute to node-canvas? patches for features, bug fixes, documentation, examples and others are certainly welcome. Take a look at the [issue queue](https://github.com/LearnBoost/node-canvas/issues) for existing issues.\n\n## Examples\n\n Examples are placed in _./examples_, be sure to check them out! most produce a png image of the same name, and others such as _live-clock.js_ launch an http server to be viewed in the browser.\n\n## Testing\n\nIf you have not previously, init git submodules:\n\n    $ git submodule update --init\n\nBuild node-canvas:\n\n    $ node-waf configure build\n\nUnit tests:\n\n    $ make test\n\nVisual tests:\n\n    $ make test-server\n\n## Versions\n\nTested with and designed for:\n\n  - node 0.4.2\n  - cairo 1.8.6\n\nFor node 0.2.x `node-canvas` <= 0.4.3 may be used,\n0.5.0 and above are designed for node 0.4.x only.\n\n## License\n\n(The MIT License)\n\nCopyright (c) 2010 LearnBoost &lt;dev@learnboost.ca&gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\'Software\'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \'AS IS\', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n',
36 silly resolved     _id: 'canvas@0.13.1',
36 silly resolved     _from: 'canvas' } ]
37 info install canvas@0.13.1 into C:\cygwin\home\Tylor\test
38 info installOne canvas@0.13.1
39 verbose from cache C:\Users\Tylor\AppData\Roaming\npm-cache\canvas\0.13.1\package\package.json
40 info C:\cygwin\home\Tylor\test\node_modules\canvas unbuild
41 verbose read json C:\cygwin\home\Tylor\test\node_modules\canvas\package.json
42 verbose tar unpack C:\Users\Tylor\AppData\Roaming\npm-cache\canvas\0.13.1\package.tgz
43 silly lockFile 9a375965-e-Tylor-test-node-modules-canvas C:\cygwin\home\Tylor\test\node_modules\canvas
44 verbose lock C:\cygwin\home\Tylor\test\node_modules\canvas C:\Users\Tylor\AppData\Roaming\npm-cache\9a375965-e-Tylor-test-node-modules-canvas.lock
45 silly gunzTarPerm modes [ '755', '644' ]
46 silly gunzTarPerm extractEntry package.json
47 silly gunzTarPerm modified mode [ 'package.json', 438, 420 ]
48 silly gunzTarPerm extractEntry .npmignore
49 silly gunzTarPerm modified mode [ '.npmignore', 438, 420 ]
50 silly gunzTarPerm extractEntry index.js
51 silly gunzTarPerm modified mode [ 'index.js', 438, 420 ]
52 silly gunzTarPerm extractEntry lib/bindings.js
53 silly gunzTarPerm modified mode [ 'lib/bindings.js', 438, 420 ]
54 silly gunzTarPerm extractEntry lib/canvas.js
55 silly gunzTarPerm modified mode [ 'lib/canvas.js', 438, 420 ]
56 silly gunzTarPerm extractEntry lib/context2d.js
57 silly gunzTarPerm modified mode [ 'lib/context2d.js', 438, 420 ]
58 silly gunzTarPerm extractEntry lib/image.js
59 silly gunzTarPerm modified mode [ 'lib/image.js', 438, 420 ]
60 silly gunzTarPerm extractEntry lib/jpegstream.js
61 silly gunzTarPerm modified mode [ 'lib/jpegstream.js', 438, 420 ]
62 silly gunzTarPerm extractEntry lib/pixelarray.js
63 silly gunzTarPerm modified mode [ 'lib/pixelarray.js', 438, 420 ]
64 silly gunzTarPerm extractEntry lib/pngstream.js
65 silly gunzTarPerm modified mode [ 'lib/pngstream.js', 438, 420 ]
66 silly gunzTarPerm extractEntry History.md
67 silly gunzTarPerm modified mode [ 'History.md', 438, 420 ]
68 silly gunzTarPerm extractEntry .gitmodules
69 silly gunzTarPerm modified mode [ '.gitmodules', 438, 420 ]
70 silly gunzTarPerm extractEntry install
71 silly gunzTarPerm modified mode [ 'install', 438, 420 ]
72 silly gunzTarPerm extractEntry .travis.yml
73 silly gunzTarPerm modified mode [ '.travis.yml', 438, 420 ]
74 silly gunzTarPerm extractEntry Makefile
75 silly gunzTarPerm modified mode [ 'Makefile', 438, 420 ]
76 silly gunzTarPerm extractEntry out.pdf
77 silly gunzTarPerm modified mode [ 'out.pdf', 438, 420 ]
78 silly gunzTarPerm extractEntry out.png
79 silly gunzTarPerm modified mode [ 'out.png', 438, 420 ]
80 silly gunzTarPerm extractEntry binding.gyp
81 silly gunzTarPerm modified mode [ 'binding.gyp', 438, 420 ]
82 silly gunzTarPerm extractEntry Readme.md
83 silly gunzTarPerm modified mode [ 'Readme.md', 438, 420 ]
84 silly gunzTarPerm extractEntry src/color.h
85 silly gunzTarPerm modified mode [ 'src/color.h', 438, 420 ]
86 silly gunzTarPerm extractEntry src/Canvas.cc
87 silly gunzTarPerm modified mode [ 'src/Canvas.cc', 438, 420 ]
88 silly gunzTarPerm extractEntry src/CanvasGradient.cc
89 silly gunzTarPerm modified mode [ 'src/CanvasGradient.cc', 438, 420 ]
90 silly gunzTarPerm extractEntry src/CanvasGradient.h
91 silly gunzTarPerm modified mode [ 'src/CanvasGradient.h', 438, 420 ]
92 silly gunzTarPerm extractEntry src/CanvasPattern.cc
93 silly gunzTarPerm modified mode [ 'src/CanvasPattern.cc', 438, 420 ]
94 silly gunzTarPerm extractEntry src/CanvasPattern.h
95 silly gunzTarPerm modified mode [ 'src/CanvasPattern.h', 438, 420 ]
96 silly gunzTarPerm extractEntry src/CanvasRenderingContext2d.cc
97 silly gunzTarPerm modified mode [ 'src/CanvasRenderingContext2d.cc', 438, 420 ]
98 silly gunzTarPerm extractEntry src/CanvasRenderingContext2d.h
99 silly gunzTarPerm modified mode [ 'src/CanvasRenderingContext2d.h', 438, 420 ]
100 silly gunzTarPerm extractEntry src/closure.h
101 silly gunzTarPerm modified mode [ 'src/closure.h', 438, 420 ]
102 silly gunzTarPerm extractEntry src/color.cc
103 silly gunzTarPerm modified mode [ 'src/color.cc', 438, 420 ]
104 silly gunzTarPerm extractEntry src/Canvas.h
105 silly gunzTarPerm modified mode [ 'src/Canvas.h', 438, 420 ]
106 silly gunzTarPerm extractEntry src/Image.cc
107 silly gunzTarPerm modified mode [ 'src/Image.cc', 438, 420 ]
108 silly gunzTarPerm extractEntry src/Image.h
109 silly gunzTarPerm modified mode [ 'src/Image.h', 438, 420 ]
110 silly gunzTarPerm extractEntry src/ImageData.cc
111 silly gunzTarPerm modified mode [ 'src/ImageData.cc', 438, 420 ]
112 silly gunzTarPerm extractEntry src/ImageData.h
113 silly gunzTarPerm modified mode [ 'src/ImageData.h', 438, 420 ]
114 silly gunzTarPerm extractEntry src/init.cc
115 silly gunzTarPerm modified mode [ 'src/init.cc', 438, 420 ]
116 silly gunzTarPerm extractEntry src/JPEGStream.h
117 silly gunzTarPerm modified mode [ 'src/JPEGStream.h', 438, 420 ]
118 silly gunzTarPerm extractEntry src/PixelArray.cc
119 silly gunzTarPerm modified mode [ 'src/PixelArray.cc', 438, 420 ]
120 silly gunzTarPerm extractEntry src/PixelArray.h
121 silly gunzTarPerm modified mode [ 'src/PixelArray.h', 438, 420 ]
122 silly gunzTarPerm extractEntry src/Point.h
123 silly gunzTarPerm modified mode [ 'src/Point.h', 438, 420 ]
124 silly gunzTarPerm extractEntry util/has_lib.sh
125 silly gunzTarPerm modified mode [ 'util/has_lib.sh', 438, 420 ]
126 verbose read json C:\cygwin\home\Tylor\test\node_modules\canvas\package.json
127 silly lockFile 9a375965-e-Tylor-test-node-modules-canvas C:\cygwin\home\Tylor\test\node_modules\canvas
128 info preinstall canvas@0.13.1
129 verbose from cache C:\cygwin\home\Tylor\test\node_modules\canvas\package.json
130 verbose readDependencies using package.json deps
131 verbose from cache C:\cygwin\home\Tylor\test\node_modules\canvas\package.json
132 verbose readDependencies using package.json deps
133 silly resolved []
134 verbose about to build C:\cygwin\home\Tylor\test\node_modules\canvas
135 info build C:\cygwin\home\Tylor\test\node_modules\canvas
136 verbose from cache C:\cygwin\home\Tylor\test\node_modules\canvas\package.json
137 verbose linkStuff [ false,
137 verbose linkStuff   false,
137 verbose linkStuff   false,
137 verbose linkStuff   'C:\\cygwin\\home\\Tylor\\test\\node_modules' ]
138 info linkStuff canvas@0.13.1
139 verbose linkBins canvas@0.13.1
140 verbose linkMans canvas@0.13.1
141 verbose rebuildBundles canvas@0.13.1
142 info install canvas@0.13.1
143 verbose unsafe-perm in lifecycle true
144 silly exec cmd "/c" "node-gyp rebuild"
145 silly cmd,/c,node-gyp rebuild,C:\cygwin\home\Tylor\test\node_modules\canvas spawning
146 info canvas@0.13.1 Failed to exec install script
147 info C:\cygwin\home\Tylor\test\node_modules\canvas unbuild
148 verbose from cache C:\cygwin\home\Tylor\test\node_modules\canvas\package.json
149 info preuninstall canvas@0.13.1
150 info uninstall canvas@0.13.1
151 verbose true,C:\cygwin\home\Tylor\test\node_modules,C:\cygwin\home\Tylor\test\node_modules unbuild canvas@0.13.1
152 info postuninstall canvas@0.13.1
153 error canvas@0.13.1 install: `node-gyp rebuild`
153 error `cmd "/c" "node-gyp rebuild"` failed with 1
154 error Failed at the canvas@0.13.1 install script.
154 error This is most likely a problem with the canvas package,
154 error not with npm itself.
154 error Tell the author that this fails on your system:
154 error     node-gyp rebuild
154 error You can get their info via:
154 error     npm owner ls canvas
154 error There is likely additional logging output above.
155 error System Windows_NT 6.1.7601
156 error command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "canvas"
157 error cwd C:\cygwin\home\Tylor\test
158 error node -v v0.8.9
159 error npm -v 1.1.61
160 error code ELIFECYCLE
161 verbose exit [ 1, true ]
delfinof commented 12 years ago

You need to download the x64 version of GTK and then follow the other thread about issues on Windows7-64bit (last messages, about copying dll files...).

tylorr commented 12 years ago

Awesome thanks, that worked. I don't know why I didn't think of that.

delfinof commented 12 years ago

Be aware that jpeg support is not working for windows. (but I was able to compile it anyway using a forked distribution of the libjpeg dll).

On Thu, Sep 20, 2012 at 6:13 PM, Tylor Reynolds notifications@github.comwrote:

Awesome thanks, that worked. I don't know why I didn't think of that.

— Reply to this email directly or view it on GitHubhttps://github.com/LearnBoost/node-canvas/issues/214#issuecomment-8735589.

klimashkin commented 11 years ago

I have same issue, I already install x64 version of GTK in C:\GTK. The problem is not solved.

and then follow the other thread about issues on Windows7-64bit (last messages, about copying dll files...).

Can you link this messages, I don't understand what dll?

SamHasler commented 9 years ago

@delfinof do you mean this comment: https://github.com/Automattic/node-canvas/issues/191#issuecomment-7681555 ?