Skip to content
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

node-usb-omega2 #1

Open
MMMMasterM opened this issue Mar 12, 2017 · 2 comments
Open

node-usb-omega2 #1

MMMMasterM opened this issue Mar 12, 2017 · 2 comments
Labels

Comments

@MMMMasterM
Copy link

Hi,
I followed your guide to try and cross-compile the "usb" npm module for the omega2 but it requires libudev.
Could you please give an example how to add additional libraries like libudev for the cross compilation?
Or alternatively could you make omega2 compatible precompiled npm modules for usb@1.2.0 and/or node-hid@0.5.4?

@sdesalas
Copy link
Owner

sdesalas commented May 8, 2017

I think you are probably looking for step3:

sudo apt-get install -y libudev 

However if the problem is that you need libudev in the lede toolchain you'll have to dig around at step 4 and modify the default config.

./config

The nodejs compilation link here is a bit more detailed. Perhaps the LIBPATH variable might do it.

@sdesalas
Copy link
Owner

sdesalas commented May 8, 2017

Sorry but I rebuilt my machine and cant find the Ubuntu VM I used to compile this. Might be on a backup drive somewhere but cant' help you right away with cross-compiling this for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants