You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have built node_rrd on windows (7 32bit) but when I try to run an app that uses it I get this:
C:\node\hus\node_modules\rrd\node_modules\bindings\bindings.js:83
throw e
^
Error: The specified module could not be found.
C:\node\hus\node_modules\rrd\build\Release\rrd_bindings.node
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at bindings (C:\node\hus\node_modules\rrd\node_modules\bindings\bindings.js:
76:44)
at Object.<anonymous> (C:\node\hus\node_modules\rrd\lib\rrd.js:27:35)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
Any thoughts on how to solve this?
I will paste my code and the output from the build and node list below.
code:
var rrd = require('rrd');
var filename = __dirname + '/test.rrd';
var now = Math.ceil((new Date).getTime() / 1000);
rrd.create(filename, 60, now, ["DS:busy:GAUGE:120:0:U", "RRA:LAST:0.5:1:60"], function (error) {
if (error) console.log("Error:", error);
rrd.info(filename, function (info) {
console.log(info.filename, info.rrd_version);
});
});
build:
c:\node\hus>npm install C:\Users\Administrator\Documents\GitHub\node_rrd --msvs_
version=2012 --save
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data
npm http GET https://registry.npmjs.org/bindings
npm http GET https://registry.npmjs.org/arguee
npm http 304 https://registry.npmjs.org/bindings
npm http 304 https://registry.npmjs.org/arguee
> [email protected] install c:\node\hus\node_modules\rrd
> node-gyp rebuild
c:\node\hus\node_modules\rrd>node "C:\Program Files\nodejs\node_modules\npm\bin\
node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
Building the projects in this solution one at a time. To enable parallel build,
please add the "/m" switch.
node_rrd_info.cc
node_rrd.cc
C:\Users\Administrator\.node-gyp\0.10.16\deps\v8\include\v8.h(218): warning C45
06: no definition for inline function 'v8::Persistent<T> v8::Persistent<T>::New
(v8::Handle<T>)' [c:\node\hus\node_modules\rrd\build\rrd_bindings.vcxproj]
with
[
T=v8::Object
] (..\src\node_rrd.cc)
C:\Users\Administrator\.node-gyp\0.10.16\deps\v8\include\v8.h(179): warning C45
06: no definition for inline function 'v8::Persistent<T> v8::Persistent<T>::New
(v8::Handle<T>)' [c:\node\hus\node_modules\rrd\build\rrd_bindings.vcxproj]
with
[
T=v8::Object
] (..\src\node_rrd_info.cc)
node_rrd_update.cc
node_rrd_create.cc
C:\Users\Administrator\.node-gyp\0.10.16\deps\v8\include\v8.h(184): warning C45
06: no definition for inline function 'v8::Persistent<T> v8::Persistent<T>::New
(v8::Handle<T>)' [c:\node\hus\node_modules\rrd\build\rrd_bindings.vcxproj]
with
[
T=v8::Object
] (..\src\node_rrd_update.cc)
C:\Users\Administrator\.node-gyp\0.10.16\deps\v8\include\v8.h(184): warning C45
06: no definition for inline function 'v8::Persistent<T> v8::Persistent<T>::New
(v8::Handle<T>)' [c:\node\hus\node_modules\rrd\build\rrd_bindings.vcxproj]
with
[
T=v8::Object
] (..\src\node_rrd_create.cc)
node_rrd_last.cc
node_rrd_fetch.cc
..\src\node_rrd_last.cc(73): warning C4244: 'argument' : conversion from 'time_
t' to 'double', possible loss of data [c:\node\hus\node_modules\rrd\build\rrd_b
indings.vcxproj]
..\src\node_rrd_fetch.cc(113): warning C4244: '=' : conversion from 'time_t' to
'long', possible loss of data [c:\node\hus\node_modules\rrd\build\rrd_bindings
.vcxproj]
C:\Users\Administrator\.node-gyp\0.10.16\deps\v8\include\v8.h(179): warning C45
06: no definition for inline function 'v8::Persistent<T> v8::Persistent<T>::New
(v8::Handle<T>)' [c:\node\hus\node_modules\rrd\build\rrd_bindings.vcxproj]
with
[
T=v8::Object
] (..\src\node_rrd_last.cc)
C:\Users\Administrator\.node-gyp\0.10.16\deps\v8\include\v8.h(179): warning C45
06: no definition for inline function 'v8::Persistent<T> v8::Persistent<T>::New
(v8::Handle<T>)' [c:\node\hus\node_modules\rrd\build\rrd_bindings.vcxproj]
with
[
T=v8::Object
] (..\src\node_rrd_fetch.cc)
Creating library c:\node\hus\node_modules\rrd\build\Release\rrd_bindings.l
ib and object c:\node\hus\node_modules\rrd\build\Release\rrd_bindings.exp
Generating code
Finished generating code
rrd_bindings.vcxproj -> c:\node\hus\node_modules\rrd\build\Release\\rrd_bindi
ngs.node
[email protected] node_modules\rrd
├── [email protected]
└── [email protected]
Well since I don't know anything about development in Windows environment, I'm afraid I can't help you much on this but I will try on the ubuntu issue, it may be related, so let's meet there...
Hi!
I have built node_rrd on windows (7 32bit) but when I try to run an app that uses it I get this:
Any thoughts on how to solve this?
I will paste my code and the output from the build and node list below.
code:
build:
node list:
The text was updated successfully, but these errors were encountered: