justadudewhohacks / justadudewhohacks/opencv4nodejs

invalid ELF header

Open
#622 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
5.1k
Forks
826
PR merge metrics
No merged PRs in 30d

Description

I'm trying to run a basic script with node darknet, which utilises this opencv module. However while it installs just fine even a basic script won't run. I get this issue:

internal/modules/cjs/loader.js:807
return process.dlopen(module, path.toNamespacedPath(filename));
^

Error: /mnt/c/Users/Ryan/Documents/rsextract/node_modules/opencv4nodejs/build/Release/opencv4nodejs.node: invalid ELF header

I don't think this is a darknet problem. Does anyone have an idea?

*OpenCV version* The one that came with npm install -s opencv4nodejs

*With OpenCV-contrib?* no?

*OS*: Windows 10 64 bit

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.