lwille / node-gphoto2

A Node.js wrapper for libgphoto2
MIT License
298 stars 91 forks source link

error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’ #129

Closed jtleniger closed 4 years ago

jtleniger commented 4 years ago

Can't build due to this error.

Seems to be coming from constructor.Reset(tpl->GetFunction()); in gphoto.cc and camera.cc.

Any ideas?

jtleniger commented 4 years ago

../src/gphoto.cc:55:38: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’ constructor.Reset(tpl->GetFunction());

lwille commented 4 years ago

Hey! Can you please describe your environment, most importantly node version and OS type (Linux/Darwin)?

jtleniger commented 4 years ago

Hello! I think it may be related to the Lubuntu distro I was using, perhaps. I tried it again on a fresh Ubuntu box with no issues.

lwille commented 4 years ago

I'm assuming that this can be closed.