-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
I have this weird issue. I downloaded Windows 7 SDK, then GTK+ x86, then installed node-gyp, then took node-canvas sources, then compiled. Got this small warning:
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(99
1,5): warning MSB8012: TargetExt(.dll) does not match the Linker's OutputFile p
roperty value (.node). This may cause your project to build incorrectly. To cor
rect this, please make sure that
erty values match the value specified in %(Link.OutputFile). [D:\Development\Ho
me\Projects\Js\shelf\node_modules\canvas\build\canvas.vcxproj]
But I guess that can be ignored. Then tried to run an example from README.md. Because of try/catch block canvas said it can't load module from “default” folder. I commented out try/catch and got this:
module.js:485
process.dlopen(filename, module.exports);
^
Error: The specified module could not be found.
D:\Development\Home\Projects\Js\shelf\node_modules\canvas\build\Release\canvas.node
at Object.Module._extensions..node (module.js:485:11)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:362:17)
at require (module.js:378:17)
at Object. (D:\Development\Home\Projects\Js\shelf\node_modules\canvas\lib\bindings.js:5:20)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)