jacklund / btle.js

Node.js Bluetooth LE module
MIT License
32 stars 6 forks source link

binding.gyp contains "src/attribute.cc" line but there are no src/attribute.cc file #13

Closed edy555 closed 11 years ago

edy555 commented 11 years ago

Hi Jack, I just tried to build from source code, but unfortunately it was failed to build.

$ make debug ... make[1]: *\ No rule to make target Debug/obj.target/btle/src/attribute.o', needed byDebug/obj.target/btle.node'. Stop. make[1]: Leaving directory /home/takahasi/btle.js/build' gyp ERR! build error gyp ERR! stack Error:make` failed with exit code: 2

It seems that binding.gyp contains "src/attribute.cc" line, but there are no attribute.cc file in src directory.

I tried to build with omit the line from binding.gyp, I got to succeed to build it.

If I have any mistake, please let me know. Thanks for your efforts.

TT @edy555

jacklund commented 11 years ago

Sorry, it was building for me because I had the object file still hanging around.

I've fixed the binding.gyp. Do a pull and rebuild, and you should be good to go.

Let me know if you have any more issues.

-Jack

edy555 commented 11 years ago

Thank you for very quick fix. I pulled change and confirmed the problem was fixed. Thank you!

On Tue, Oct 15, 2013 at 11:11 PM, Jack Lund notifications@github.comwrote:

Sorry, it was building for me because I had the object file still hanging around.

I've fixed the binding.gyp. Do a pull and rebuild, and you should be good to go.

Let me know if you have any more issues.

-Jack

— Reply to this email directly or view it on GitHubhttps://github.com/jacklund/btle.js/issues/13#issuecomment-26337252 .