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

Error while stating the example (basic.js) #1

Open
ghost opened this issue Apr 7, 2011 · 3 comments
Open

Error while stating the example (basic.js) #1

ghost opened this issue Apr 7, 2011 · 3 comments

Comments

@ghost
Copy link

ghost commented Apr 7, 2011

The error:

node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: /var/www/face/build/default/face.node: wrong ELF class: ELFCLASS32
at Object..node (module.js:416:11)
at Module.load (module.js:336:31)
at Function._load (module.js:297:12)
at require (module.js:348:19)
at Object. (/var/www/face/examples/basic.js:1:74)
at Module._compile (module.js:404:26)
at Object..js (module.js:410:10)
at Module.load (module.js:336:31)
at Function._load (module.js:297:12)
at Array. (module.js:423:10)

@alvarezgarcia
Copy link
Owner

You will have to recompile the module for 64bits arch.

@ghost
Copy link
Author

ghost commented Apr 9, 2011

Sorry but can you tell me how?

Thanks,

@alvarezgarcia
Copy link
Owner

You will need OpenCV-2.2, and follow this guide for installation:

http://opencv.willowgarage.com/wiki/InstallGuide

Then, clone Face.js and:
node-waf configure build

Doing this, Face.js will be compiled for your arch.

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

No branches or pull requests

1 participant