Skip to content

Win10+Node v14.15.5 Compilation errors #119

@geolehmann

Description

@geolehmann

Hi, I tried to add hdf5.node to my project via npm install hdf5.

I am using Windows 10, latest MS BuildTools and Node v14.15.5.

During compilation I get the following errors:

C:\myproject\node_modules\hdf5\src\methods.cc(84,101): error C2039: "ToLocalChecked" ist kein M
ember von "v8::Local<v8::String>". [C:\myproject\node_modules\hdf5\build\hdf5.vcxproj]
C:\Users\christian\AppData\Local\node-gyp\Cache\12.13.0\include\node\v8.h(1311): message : Siehe Deklaration von "v8::L
ocal<v8::String>" [C:\myproject\node_modules\hdf5\build\hdf5.vcxproj]

C:\myproject\node_modules\hdf5\src\methods.cc(370,91): error C2660: "H5Oget_info_by_name3": Fun
ktion akzeptiert keine 4 Argumente [C:\myproject\node_modules\hdf5\build\hdf5.vcxproj]
C:\myproject\node_modules\hdf5\1.12.0\include\H5Opublic.h(188,15): message : Siehe Deklaration
von "H5Oget_info_by_name3" [C:\myproject\node_modules\hdf5\build\hdf5.vcxproj]

C:\myproject\node_modules\hdf5\src\methods.cc(715,91): error C2660: "H5Oget_info_by_name3": Fun
ktion akzeptiert keine 4 Argumente [C:\myproject\node_modules\hdf5\build\hdf5.vcxproj]
C:\myproject\node_modules\hdf5\1.12.0\include\H5Opublic.h(188,15): message : Siehe Deklaration
von "H5Oget_info_by_name3" [C:\myproject\node_modules\hdf5\build\hdf5.vcxproj]

C:\myproject\node_modules\hdf5\src\methods.cc(1055,27): error C2660: "H5Oget_info3": Funktion a
kzeptiert keine 2 Argumente [C:\myproject\node_modules\hdf5\build\hdf5.vcxproj]
C:\myproject\node_modules\hdf5\1.12.0\include\H5Opublic.h(187,15): message : Siehe Deklaration
von "H5Oget_info3" [C:\myproject\node_modules\hdf5\build\hdf5.vcxproj]

C:\myproject\node_modules\hdf5\src\methods.cc(1070,78): error C2660: "H5Oget_info_by_name3": Fu
nktion akzeptiert keine 4 Argumente [C:\myproject\node_modules\hdf5\build\hdf5.vcxproj]
C:\myproject\node_modules\hdf5\1.12.0\include\H5Opublic.h(188,15): message : Siehe Deklaration
von "H5Oget_info_by_name3" [C:\myproject\node_modules\hdf5\build\hdf5.vcxproj]

(The messages are in german, but similar to issue #16)

Is this due to problems with using the latest node.js version?

Thanks in advance for any help!

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