-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compilation error - invalid conversion from ‘void (*)(uv_work_t*) ... #43
Comments
Thanks for reporting this. I was busy and will be for a few more days, but I'll look into it next week. |
I ran into the exact same problem, let me know if you figure out a fix. This looks like a great module. Same Node and Taglib ver > taglib@0.7.0 install /srv/www/robotastic.com/node_modules/taglib
> node-gyp rebuild
make: Entering directory `/srv/www/robotastic.com/node_modules/taglib/build'
CXX(target) Release/obj.target/taglib/src/bufferstream.o
../src/taglib.h:26:22: warning: ‘TagLib::File* node_taglib::createFile(TagLib::IOStream*, TagLib::String)’ declared ‘static’ but never defined [-Wunused-function]
CXX(target) Release/obj.target/taglib/src/tag.o
../src/tag.cc: In static member function ‘static v8::Handle<v8::Value> node_taglib::Tag::SyncTag(const v8::Arguments&)’:
../src/tag.cc:163:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
../src/tag.cc:172:124: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
../src/tag.cc: In static member function ‘static v8::Handle<v8::Value> node_taglib::Tag::AsyncTag(const v8::Arguments&)’:
../src/tag.cc:228:98: error: invalid conversion from ‘void (*)(uv_work_t*) {aka void (*)(uv_work_s*)}’ to ‘uv_after_work_cb {aka void (*)(uv_work_s*, int)}’ [-fpermissive]
/home/luke/.node-gyp/0.10.18/deps/uv/include/uv.h:1432:15: error: initializing argument 4 of ‘int uv_queue_work(uv_loop_t*, uv_work_t*, uv_work_cb, uv_after_work_cb)’ [-fpermissive]
../src/tag.cc: In static member function ‘static v8::Handle<v8::Value> node_taglib::Tag::AsyncSaveTag(const v8::Arguments&)’:
../src/tag.cc:291:98: error: invalid conversion from ‘void (*)(uv_work_t*) {aka void (*)(uv_work_s*)}’ to ‘uv_after_work_cb {aka void (*)(uv_work_s*, int)}’ [-fpermissive]
/home/luke/.node-gyp/0.10.18/deps/uv/include/uv.h:1432:15: error: initializing argument 4 of ‘int uv_queue_work(uv_loop_t*, uv_work_t*, uv_work_cb, uv_after_work_cb)’ [-fpermissive]
../src/taglib.h: At global scope:
../src/taglib.h:26:22: warning: ‘TagLib::File* node_taglib::createFile(TagLib::IOStream*, TagLib::String)’ declared ‘static’ but never defined [-Wunused-function]
../src/tag.cc:17:20: warning: ‘suseconds_t node_taglib::now()’ defined but not used [-Wunused-function]
make: *** [Release/obj.target/taglib/src/tag.o] Error 1
make: Leaving directory `/srv/www/robotastic.com/node_modules/taglib/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12)
gyp ERR! System Linux 3.9.3-x86_64-linode33
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /srv/www/robotastic.com/node_modules/taglib
gyp ERR! node -v v0.10.18
gyp ERR! node-gyp -v v0.10.9
gyp ERR! not ok
npm ERR! weird error 1
npm ERR! not ok code 0 |
I just published a new version on npm which should work with 0.10. npm hasn't refreshed yet, once it does you should see v0.8.0 on |
$node -v
node v0.10.17
$ taglib-config --version
1.8.0
$ uname -a
Linux andyba 3.8.0-27-generic #40-Ubuntu SMP Tue Jul 9 00:17:05 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: