Skip to content

Windows 7 x64. Compiled from sources. Can't load. #191

@vatula

Description

@vatula

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 $(OutDir), $(TargetName) and $(TargetExt) prop
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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions